AutomationFlowsWeb Scraping › Automated AI Script & Video Generator

Automated AI Script & Video Generator

Original n8n title: Auto Info

auto_info. Uses httpRequest, executeCommand. Scheduled trigger; 9 nodes.

Cron / scheduled trigger★★★★☆ complexity9 nodesHTTP RequestExecute Command
Web Scraping Trigger: Cron / scheduled Nodes: 9 Complexity: ★★★★☆ Added:

This workflow follows the Executecommand → HTTP Request recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "auto_info",
  "description": "\u81ea\u52a8\u5316\u4fe1\u606f\u5904\u7406",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "id": "5dad2c44-19ed-4fdc-b705-23eabcb71754",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.3,
      "position": [
        -100,
        0
      ]
    },
    {
      "parameters": {
        "mode": "raw",
        "jsonOutput": "{\"id\": 8, \"title\": \"\u524d\u5c0f\u9e4f\u9ad8\u7ba1\u521b\u4e1a\", \"summary\": \"CES 2026\u673a\u5668\u4eba\u5c55\u53f0\u706b\u7206\", \"source\": \"36\u6c2a\", \"status\": \"approved\"}"
      },
      "id": "92e44baf-c116-4f4c-bc53-a0ca402816df",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        200,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "return {json: {prompt: `\u811a\u672c\u751f\u6210\uff1a\u6807\u9898=${$json.title} \u6458\u8981=${$json.summary}`, article: $json}};"
      },
      "id": "code-prompt-001",
      "name": "\u51c6\u5907Prompt",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        500,
        0
      ]
    },
    {
      "parameters": {
        "url": "https://api.anthropic.com/v1/messages",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "method": "POST",
        "jsonParameters": true,
        "bodyParametersJson": "={\"model\":\"claude-3-5-sonnet-20241022\",\"max_tokens\":4000,\"messages\":[{\"role\":\"user\",\"content\":\"{{ $json.prompt }} \u751f\u621030-60\u79d2\u89c6\u9891\u811a\u672c\uff0c4-5\u573a\u666f\uff0c\u542bnarration/subtitle/image_prompt/video_motion/duration\uff0cJSON\u8f93\u51fa\"}]}"
      },
      "id": "http-llm-001",
      "name": "LLM\u751f\u6210\u811a\u672c",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        800,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "const c=$json.choices?.[0]?.message?.content||$json.content?.[0]?.text||''; let s=c.match(/```json\\s*([\\s\\S]*?)```/)?.[1]||c; s=s.substring(s.indexOf({),s.lastIndexOf(})+1); const d=JSON.parse(s); return d.scenes.map((x,i)=>({json:{...x,idx:i,audio:d.audio}}));"
      },
      "id": "code-parse-001",
      "name": "\u89e3\u6790\u811a\u672c",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        1100,
        0
      ]
    },
    {
      "parameters": {
        "url": "https://generativelanguage.googleapis.com/v1beta/models/imagen-3.0-generate-001:predict",
        "authentication": "none",
        "method": "POST",
        "jsonParameters": true,
        "bodyParametersJson": "={\"instances\":[{\"prompt\":\"{{ $json.image_prompt }}\"}],\"parameters\":{\"sampleCount\":1,\"aspectRatio\":\"16:9\"}}",
        "options": {
          "timeout": 60000
        }
      },
      "id": "http-img-001",
      "name": "\u751f\u6210\u56fe\u7247",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1400,
        0
      ]
    },
    {
      "parameters": {
        "url": "https://api.openai.com/v1/videos/generations",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "method": "POST",
        "jsonParameters": true,
        "bodyParametersJson": "={\"model\":\"sora-2\",\"image\":\"{{ $json.predictions[0].bytesBase64Encoded }}\",\"duration\":{{ $json.duration }}||5,\"aspect_ratio\":\"16:9\"}",
        "options": {
          "timeout": 300000
        }
      },
      "id": "http-sora-001",
      "name": "Sora\u56fe\u751f\u89c6\u9891",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1700,
        0
      ]
    },
    {
      "parameters": {
        "url": "https://api.openai.com/v1/audio/speech",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "method": "POST",
        "jsonParameters": true,
        "bodyParametersJson": "={\"model\":\"tts-1-hd\",\"input\":\"{{ $json.narration }}\",\"voice\":\"onyx\"}"
      },
      "id": "http-tts-001",
      "name": "\u751f\u6210\u65c1\u767d",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        2000,
        0
      ]
    },
    {
      "parameters": {
        "command": "ffmpeg -f concat -safe 0 -i <(for f in video_*.mp4; do echo \"file '$PWD/$f'\"; done) -c copy output_{{ $now.format('x') }}.mp4",
        "options": {}
      },
      "id": "cmd-ffmpeg-001",
      "name": "\u5408\u6210\u89c6\u9891",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        2300,
        0
      ]
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "\u51c6\u5907Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u51c6\u5907Prompt": {
      "main": [
        [
          {
            "node": "LLM\u751f\u6210\u811a\u672c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LLM\u751f\u6210\u811a\u672c": {
      "main": [
        [
          {
            "node": "\u89e3\u6790\u811a\u672c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u89e3\u6790\u811a\u672c": {
      "main": [
        [
          {
            "node": "\u751f\u6210\u56fe\u7247",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u751f\u6210\u56fe\u7247": {
      "main": [
        [
          {
            "node": "Sora\u56fe\u751f\u89c6\u9891",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sora\u56fe\u751f\u89c6\u9891": {
      "main": [
        [
          {
            "node": "\u751f\u6210\u65c1\u767d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u751f\u6210\u65c1\u767d": {
      "main": [
        [
          {
            "node": "\u5408\u6210\u89c6\u9891",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "availableInMCP": true
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

auto_info. Uses httpRequest, executeCommand. Scheduled trigger; 9 nodes.

Source: https://github.com/aAAaqwq/auto_info/blob/161fa1a3c6fdc98f3833fc58f8c5d346d1659604/workflow_update.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

Track Changes Of Product Prices. Uses htmlExtract, functionItem, httpRequest, writeBinaryFile. Scheduled trigger; 25 nodes.

Html Extract, Function Item, HTTP Request +5
Web Scraping

This workflow automatically tracks changes on specific websites, typically in e-commerce where you want to get information about price changes. Basic knowledge of HTML and JavaScript Execute Command n

Html Extract, Function Item, HTTP Request +5
Web Scraping

OpenAQ-AirNow-GIBS-and-Fetcher. Uses httpRequest, s3, executeCommand. Scheduled trigger; 13 nodes.

HTTP Request, S3, Execute Command
Web Scraping

Chinese Drama Auto Downloader Extended. Uses httpRequest, executeCommand. Scheduled trigger; 12 nodes.

HTTP Request, Execute Command
Web Scraping

Testflow1. Uses httpRequest, readBinaryFiles, executeCommand, writeBinaryFile. Scheduled trigger; 11 nodes.

HTTP Request, Read Binary Files, Execute Command +1