8
n8n 中文网amn8n.com

通过分析热门Reels使用Apify和GPT-4生成病毒式Instagram脚本

高级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 19 个节点。主要使用 If, Wait, Gmail, Filter, Summarize 等节点。 通过分析热门Reels使用Apify和GPT-4生成病毒式Instagram脚本

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "b53d7add2bf1e9c462140180b1bd7aa3d8f29b8200cc87adda7d29bbf7021cb1",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "831e0095-3e8b-42f6-9e90-12919fe7f132",
      "name": "表单提交时",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        160,
        -16
      ],
      "webhookId": "8f15fb62-2173-43ed-8ce2-2877ef26f72b",
      "parameters": {
        "options": {},
        "formTitle": "Viral Trending Reels Script Generator",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Hashtag",
              "placeholder": "aiautomation",
              "requiredField": true
            },
            {
              "fieldType": "number",
              "fieldLabel": "number of reels to scrape",
              "placeholder": "20",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Enter details below to get complete ready to shoot video reel scripts from Instagram"
      },
      "typeVersion": 2.3
    },
    {
      "id": "5c57a174-f51e-404d-a847-9330efaa23cc",
      "name": "抓取话题标签",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        384,
        -16
      ],
      "parameters": {
        "url": "https://api.apify.com/v2/acts/reGe1ST3OBgYZSsZJ/run-sync-get-dataset-items",
        "method": "POST",
        "options": {
          "redirect": {
            "redirect": {}
          }
        },
        "jsonBody": "={\n  \"hashtags\": [\n    \"{{ $json.Hashtag }}\"\n  ],\n  \"keywordSearch\": false,\n  \"resultsLimit\": {{ $json['number of reels to scrape'] }},\n  \"resultsType\": \"stories\"\n} ",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/json"
            },
            {
              "name": "Authorization",
              "value": "Bearer [your api key]"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "f666f6d0-818d-4f80-91bf-8f9963f49a56",
      "name": "从列表中筛选",
      "type": "n8n-nodes-base.filter",
      "position": [
        608,
        -16
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "68cb54ea-e865-4720-b17c-9ebd3337c742",
              "operator": {
                "type": "number",
                "operation": "gt"
              },
              "leftValue": "={{ $json.likesCount }}",
              "rightValue": 1000
            },
            {
              "id": "ce4409ee-284c-462d-94aa-c8b5da74fc2c",
              "operator": {
                "type": "dateTime",
                "operation": "before"
              },
              "leftValue": "={{ $json.timestamp.toDateTime() }}",
              "rightValue": "={{ $now.minus({ days: 7 }) }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "21953832-59b0-4d6f-a580-d2099871039e",
      "name": "添加到表格",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        880,
        -16
      ],
      "parameters": {
        "columns": {
          "value": {
            "url": "={{ $json.url }}",
            "caption": "={{ $json.caption }}",
            "songName": "={{ $json.musicInfo.song_name }}",
            "thumbnail": "={{ $json.displayUrl }}",
            "timestamp": "={{ $json.timestamp.toDateTime() }}",
            "likesCount": "={{ $json.likesCount }}",
            "download url": "={{ $json.videoUrl }}",
            "commentsCount": "={{ $json.commentsCount }}",
            "ownerFullName": "={{ $json.ownerFullName }}",
            "ownerUsername": "=@{{ $json.ownerUsername }}",
            "primaryHashtag": "={{ $('On form submission').item.json.Hashtag }}"
          },
          "schema": [
            {
              "id": "primaryHashtag",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "primaryHashtag",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "caption",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "caption",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ownerFullName",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "ownerFullName",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ownerUsername",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "ownerUsername",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "commentsCount",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "commentsCount",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "likesCount",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "likesCount",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "timestamp",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "timestamp",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "url",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "thumbnail",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "thumbnail",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "download url",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "download url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "songName",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "songName",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Transcript",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "Transcript",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "AI Generated Inspired Script",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "AI Generated Inspired Script",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1XupKy-R6zPvCfeh5q9co5O-wPMI64D7xvavFkz0yQqk/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1XupKy-R6zPvCfeh5q9co5O-wPMI64D7xvavFkz0yQqk",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1XupKy-R6zPvCfeh5q9co5O-wPMI64D7xvavFkz0yQqk/edit?usp=drivesdk",
          "cachedResultName": "Viral Reel Script Generator"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "NznQaFoq7CSSVinX",
          "name": "Google Sheets account - GDS"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "29d5b354-e86a-4bb6-a341-46c7cb8575ec",
      "name": "视频转文字",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        432,
        416
      ],
      "parameters": {
        "url": "https://api.apify.com/v2/acts/CVQmx5Se22zxPaWc1/run-sync-get-dataset-items",
        "method": "POST",
        "options": {
          "redirect": {
            "redirect": {}
          }
        },
        "jsonBody": "={\n    \"start_urls\": \"{{ $json.url }}\"\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/json"
            },
            {
              "name": "Authorization",
              "value": "Bearer [your api key]"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "f32760f4-af01-4458-91a1-37fc9728af87",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        96,
        400
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "6eddfe4e-bc88-4787-afd0-82059d7815b4",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        560,
        864
      ],
      "parameters": {
        "text": "={{ $json.Transcript }}",
        "options": {
          "systemMessage": "You are an AI Video Script Creator trained to craft high-retention, short-form video scripts for platforms like Instagram Reels, TikTok, and YouTube Shorts.\n\n## Objective\nAnalyze the given **trending video transcript** and extract its underlying structure — including pacing, tone, character dialogue style, pattern of curiosity, punchlines, and CTA timing. Then, generate **one unique and original script** that follows the same engagement structure but uses a new topic or use case.\n\n## Guidelines\n- **Do not copy** or reuse sentences from the input transcript. Only mirror its structure and energy.\n- Maintain **natural dialogue flow** between characters or narrator(s).\n- Keep **each line short** (1–2 sentences max) for easy reading and caption syncing.\n- Include **timestamps or pacing cues** in brackets (e.g., [0.00–1.00s]) to reflect rhythm.\n- Build **curiosity early**, deliver rapid **value moments**, and end with a **clear call-to-action**.\n- Use **modern, relatable, and scroll-stopping hooks**.\n- Keep tone **conversational, fast-paced, and Gen-Z/social-media friendly**.\n- If the source transcript includes humor, surprise, or banter — preserve that emotional pattern in the new script.\n\n## Output Format\nReturn only the new **video script**, structured with approximate timestamps and speaker labels where relevant.\n"
        },
        "promptType": "define"
      },
      "typeVersion": 2.2
    },
    {
      "id": "475968cd-7471-4ff0-97ea-d2598652b91f",
      "name": "如果出错",
      "type": "n8n-nodes-base.if",
      "position": [
        624,
        416
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "74c3ceaf-5166-417e-b67d-7fa06beaafb3",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.transcript }}",
              "rightValue": "no speech found (unexpected error)"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "749cc8ee-21ff-4874-aa32-700a4ec04b2f",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        560,
        1072
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "3t4OruCEPNBstxz3",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "c81d904e-91fe-4451-80ed-645056a9027b",
      "name": "发送消息",
      "type": "n8n-nodes-base.gmail",
      "position": [
        336,
        1264
      ],
      "webhookId": "fa469368-7c70-43a8-9a20-02e9bcea495f",
      "parameters": {
        "sendTo": "nitindixit18@gmail.com",
        "message": "=<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\" />\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n  <title>AI Script Report</title>\n  <style>\n    body {\n      background-color: #f8fafc;\n      font-family: \"Inter\", sans-serif;\n      color: #111827;\n      margin: 0;\n      padding: 40px;\n    }\n    .container {\n      background: #ffffff;\n      max-width: 500px;\n      margin: 0 auto;\n      padding: 30px;\n      border-radius: 16px;\n      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);\n      text-align: center;\n    }\n    h1 {\n      font-size: 22px;\n      margin-bottom: 10px;\n      color: #111827;\n    }\n    .count {\n      font-size: 48px;\n      font-weight: 700;\n      color: #2563eb;\n      margin: 15px 0;\n    }\n    .message {\n      font-size: 16px;\n      color: #374151;\n    }\n    .footer {\n      margin-top: 25px;\n      font-size: 12px;\n      color: #9ca3af;\n    }\n  </style>\n</head>\n<body>\n  <div class=\"container\">\n    <h1>AI Script Generation Report</h1>\n    <div class=\"count\">{{ $json.count_AI_Generated_Inspired_Script }}</div>\n    <div class=\"message\">\n      Scripts generated successfully from your latest workflow run!\n    </div>\n    <div class=\"footer\">\n      Powered by n8n • AI Automation Workflow\n    </div>\n  </div>\n</body>\n</html>\n",
        "options": {
          "appendAttribution": false
        },
        "subject": "🚀 All Scripts Generated 👋"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "RG4YxaVWWEMFAWDh",
          "name": "Gmail account - GDS2025"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "148470d5-b44b-4913-a47a-cba24b9f35b2",
      "name": "总结",
      "type": "n8n-nodes-base.summarize",
      "position": [
        160,
        1264
      ],
      "parameters": {
        "options": {},
        "fieldsToSummarize": {
          "values": [
            {
              "field": "AI Generated Inspired Script"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "d0c118d8-f300-4525-869e-cec141d55b8b",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -32
      ],
      "parameters": {
        "color": 6,
        "width": 384,
        "height": 528,
        "content": "## AI 短视频脚本撰写器"
      },
      "typeVersion": 1
    },
    {
      "id": "c8c8d6cb-da8b-46cb-80a4-1424b8bd6dc8",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -160
      ],
      "parameters": {
        "color": 7,
        "width": 1056,
        "height": 336,
        "content": "## 步骤 1:抓取话题标签"
      },
      "typeVersion": 1
    },
    {
      "id": "1132d737-670f-41d5-9094-d964e9c35910",
      "name": "添加 AI 脚本",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        912,
        864
      ],
      "parameters": {
        "columns": {
          "value": {
            "url": "={{ $('Update sheet').item.json.url }}",
            "AI Generated Inspired Script": "={{ $json.output }}"
          },
          "schema": [
            {
              "id": "primaryHashtag",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "primaryHashtag",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "caption",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "caption",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ownerFullName",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "ownerFullName",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ownerUsername",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "ownerUsername",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "commentsCount",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "commentsCount",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "likesCount",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "likesCount",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "timestamp",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "timestamp",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "url",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "thumbnail",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "thumbnail",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "download url",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "download url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "songName",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "songName",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Transcript",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Transcript",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "AI Generated Inspired Script",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "AI Generated Inspired Script",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "url"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "appendOrUpdate",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1XupKy-R6zPvCfeh5q9co5O-wPMI64D7xvavFkz0yQqk/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1XupKy-R6zPvCfeh5q9co5O-wPMI64D7xvavFkz0yQqk",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1XupKy-R6zPvCfeh5q9co5O-wPMI64D7xvavFkz0yQqk/edit?usp=drivesdk",
          "cachedResultName": "Viral Reel Script Generator"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "NznQaFoq7CSSVinX",
          "name": "Google Sheets account - GDS"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "e043ad0e-8616-4cfa-8a48-51c77b5a4deb",
      "name": "更新表格",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        336,
        864
      ],
      "parameters": {
        "columns": {
          "value": {
            "url": "={{ $json.sourceUrl }}",
            "Transcript": "={{ $json.transcript }}"
          },
          "schema": [
            {
              "id": "primaryHashtag",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "primaryHashtag",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "caption",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "caption",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ownerFullName",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "ownerFullName",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "ownerUsername",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "ownerUsername",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "commentsCount",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "commentsCount",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "likesCount",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "likesCount",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "timestamp",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "timestamp",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "url",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "thumbnail",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "thumbnail",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "download url",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "download url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "songName",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "songName",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Transcript",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Transcript",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "AI Generated Inspired Script",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "AI Generated Inspired Script",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "url"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "appendOrUpdate",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1XupKy-R6zPvCfeh5q9co5O-wPMI64D7xvavFkz0yQqk/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1XupKy-R6zPvCfeh5q9co5O-wPMI64D7xvavFkz0yQqk",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1XupKy-R6zPvCfeh5q9co5O-wPMI64D7xvavFkz0yQqk/edit?usp=drivesdk",
          "cachedResultName": "Viral Reel Script Generator"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "NznQaFoq7CSSVinX",
          "name": "Google Sheets account - GDS"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "0c37e2fc-402a-468c-9ac2-b700f88f697f",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        288
      ],
      "parameters": {
        "color": 7,
        "width": 784,
        "height": 336,
        "content": "## 步骤 2:视频转文字"
      },
      "typeVersion": 1
    },
    {
      "id": "f99c5852-87ad-40b7-b996-30c7f889de5b",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        864,
        400
      ],
      "webhookId": "a7f2ccc5-b0b7-450f-9ab2-fbb30e7832a6",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e8ce96ea-4f35-4ca9-83b3-cec30e223275",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        736
      ],
      "parameters": {
        "color": 7,
        "width": 784,
        "height": 336,
        "content": "## 步骤 3:分析与重写"
      },
      "typeVersion": 1
    },
    {
      "id": "81e28863-b0fd-440b-aee5-f851b37dc96b",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        1120
      ],
      "parameters": {
        "color": 7,
        "width": 480,
        "height": 320,
        "content": "## 步骤 4:最终报告"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Transcribe Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Add AI script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If error": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Update sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update sheet": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add AI script": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Hashtag": {
      "main": [
        [
          {
            "node": "Filter out from list",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Summarize",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Transcribe Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add to the sheet": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe Video": {
      "main": [
        [
          {
            "node": "If error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Scrape Hashtag",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter out from list": {
      "main": [
        [
          {
            "node": "Add to the sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 内容创作, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量19
分类2
节点类型12
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者

AI Automation specialist with 4+ years experience.

外部链接
在 n8n.io 查看

分享此工作流