8
n8n 中文网amn8n.com

使用Postiz自动创建AI新闻视频并发布到社交媒体

高级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 37 个节点。主要使用 Set, Code, Wait, Limit, Switch 等节点。 使用GPT-4o和HeyGen创建AI新闻视频并发布到社交媒体

前置要求
  • Google Drive API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "E4pFNNNIatazgVPI",
  "meta": {
    "instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc"
  },
  "name": "使用Postiz自动创建AI新闻视频并发布到社交媒体",
  "tags": [],
  "nodes": [
    {
      "id": "5ffbcd0a-c7f3-4718-9073-e3484758669f",
      "name": "当点击\"测试工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -624,
        784
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ec1b8c65-3aec-4339-9313-be9675bf0413",
      "name": "RSS 读取",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        -400,
        784
      ],
      "parameters": {
        "url": "http://rss.cnn.com/rss/edition.rss",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "7f1495af-bf4d-4415-b382-aac0e3920f9a",
      "name": "限制1",
      "type": "n8n-nodes-base.limit",
      "position": [
        16,
        784
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 1
    },
    {
      "id": "18d282ab-1d01-4b16-bcf4-13e68f1e9bf8",
      "name": "将新闻记录到表格",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        624,
        784
      ],
      "parameters": {
        "columns": {
          "value": {
            "Guid": "={{ $json.guid }}",
            "Link": "={{ $json.link }}",
            "Title": "={{ $json.title }}",
            "Content": "={{ $json.content }}",
            "IsoDate": "={{ $json.isoDate }}",
            "pubDate": "={{ $json.pubDate }}"
          },
          "mappingMode": "defineBelow"
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1UdfAbMMkJssMVu2qJy2swscL-dETUbjkervC08TYgFo"
        }
      },
      "typeVersion": 4
    },
    {
      "id": "a34ca38f-6dd6-432f-b537-c5d9751a33b7",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -608,
        1040
      ],
      "parameters": {
        "text": "=Generate a short, engaging caption (30–60 words) based on this news:\nTitle: {{ $json.Title }}\nContent: {{ $json.Content }}\n\nPlease provide just one caption that is concise and suitable for social media.",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "8710ad91-df58-4712-91f0-6f99d2f22cd9",
      "name": "编写脚本",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -576,
        1344
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "b882950d-8367-4b5a-a2f9-eb63371a6a80",
      "name": "解析字幕",
      "type": "n8n-nodes-base.code",
      "position": [
        -224,
        1040
      ],
      "parameters": {
        "jsCode": "const items = $input.all();\nconst scripts = items.map((item) => item.json.output);\nreturn [{ json: { scripts } }];"
      },
      "typeVersion": 2
    },
    {
      "id": "ee185fd9-8289-4fd4-986d-03919e4d6dab",
      "name": "设置HeyGen参数",
      "type": "n8n-nodes-base.set",
      "position": [
        16,
        1040
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "7da6a496-0263-4723-9c08-1d15ed8ed28a",
      "name": "创建虚拟形象视频 (HeyGen)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        272,
        1040
      ],
      "parameters": {
        "url": "https://api.heygen.com/v2/video/generate",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"video_inputs\": [\n    {\n      \"character\": {\n        \"type\": \"avatar\",\n        \"avatar_id\": \"{{ $json.avatar_id }}\",\n        \"avatar_style\": \"normal\"\n      },\n      \"voice\": {\n        \"type\": \"text\",\n        \"input_text\": \"{{ $json.caption }}\",\n        \"voice_id\": \"{{ $json.voice_id }}\",\n        \"speed\": 1.1\n      }\n    }\n  ],\n  \"dimension\": {\n    \"width\": 1280,\n    \"height\": 720\n  }\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "={{ $json.heygen_api_key }}"
            }
          ]
        }
      },
      "typeVersion": 4
    },
    {
      "id": "471fc0e5-263a-450f-b642-98c066991556",
      "name": "等待视频生成 (HeyGen)",
      "type": "n8n-nodes-base.wait",
      "position": [
        480,
        1040
      ],
      "webhookId": "d9404622-0a06-4a65-959e-badd4fd87465",
      "parameters": {
        "unit": "minutes",
        "amount": 2
      },
      "typeVersion": 1
    },
    {
      "id": "556b79e0-a3a6-4534-bd68-19c330b2351c",
      "name": "获取虚拟形象视频状态 (HeyGen)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        784,
        1040
      ],
      "parameters": {
        "url": "https://api.heygen.com/v1/video_status.get",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "video_id",
              "value": "={{ $('Create Avatar Video (HeyGen)').item.json.data.video_id }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "={{ $('Setup Heygen Parameters').item.json.heygen_api_key }}"
            }
          ]
        }
      },
      "typeVersion": 4
    },
    {
      "id": "a5834c43-4bca-456e-97b4-a7eedf4b3ebf",
      "name": "下载视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -592,
        1536
      ],
      "parameters": {
        "url": "={{ $json.data.video_url }}",
        "options": {}
      },
      "typeVersion": 4
    },
    {
      "id": "bfc62fe4-58cd-40c9-8365-ad9bbc3a5f56",
      "name": "上传到 Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -304,
        1536
      ],
      "parameters": {
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "root"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "7b1b1dc9-85e1-481f-a102-0560ad185aa1",
      "name": "将视频详情记录到表格",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        16,
        1536
      ],
      "parameters": {
        "columns": {
          "value": {
            "Title": "={{ $('Setup Heygen Parameters').item.json.news_title }}",
            "video caption": "={{ $('Setup Heygen Parameters').item.json.caption }}",
            "Heygen video url": "={{ $('Get Avatar Video Status (HeyGen)').item.json.data.video_url }}",
            "Google Drive File ID": "={{ $('Upload to Google Drive').item.json.id }}"
          },
          "mappingMode": "defineBelow"
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1oA-qdMkm1dUh0TpPAQ3KVeijGmDs0PsfSPpZ9bXvP6A"
        }
      },
      "typeVersion": 4
    },
    {
      "id": "dcf670d4-7cc3-406c-ba1a-36cb501f98ed",
      "name": "上传视频到 Postiz",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -688,
        2000
      ],
      "parameters": {
        "url": "https://postiz.yourdomain.com/api/public/v1/upload",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "multipart-form-data",
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "file",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "data"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4
    },
    {
      "id": "45521d27-d9b9-4e3d-9ce1-bb0a36ed2989",
      "name": "获取Postiz集成",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -464,
        2000
      ],
      "parameters": {
        "url": "https://postiz.yourdomain.com/api/public/v1/integrations",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4
    },
    {
      "id": "86490587-728e-4e9a-b9ea-3e3044d5c869",
      "name": "视频平台路由器",
      "type": "n8n-nodes-base.switch",
      "position": [
        -240,
        1984
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.identifier }}",
                    "rightValue": "instagram"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.identifier }}",
                    "rightValue": "facebook"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.identifier }}",
                    "rightValue": "youtube"
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "0386ca30-d554-4480-93b0-d2519851acc4",
      "name": "清理Instagram字幕",
      "type": "n8n-nodes-base.code",
      "position": [
        -16,
        1808
      ],
      "parameters": {
        "jsCode": "let content = $('Setup Heygen Parameters').item.json.caption;\n\nif (content) {\n  content = content\n    .replace(/[\\n\\r\\t]+/g, ' ')\n    .replace(/\\s{2,}/g, ' ')\n    .replace(/[\\\\'\"]/g, (match) => match === '\"' ? '\\\\\"' : \"'\")\n    .replace(/[\\\\]/g, '\\\\\\\\')\n    .trim();\n\n  const limit = 2200;\n  if (content.length > limit) {\n    content = content.substring(0, limit - 3) + '...';\n  }\n}\n\nreturn [{\n  json: {\n    ...items[0].json,\n    instagram_reel_caption: content\n  }\n}];"
      },
      "typeVersion": 2
    },
    {
      "id": "0d29320b-7d0c-4346-a48a-33908cea8706",
      "name": "Instagram视频发布器",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        208,
        1808
      ],
      "parameters": {
        "url": "https://postiz.yourdomain.com/api/public/v1/posts",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"type\": \"now\",\n  \"date\": \"{{ $now.plus(1, 'minute').toISO() }}\",\n  \"shortLink\": true,\n  \"tags\": [\n    { \"value\": \"instagram\", \"label\": \"Instagram\" }\n  ],\n  \"posts\": [\n    {\n      \"integration\": {\n        \"id\": \"{{ $json.id }}\"\n      },\n      \"value\": [\n        {\n          \"content\": \"{{ $('Clean Instagram Caption').item.json.instagram_reel_caption }}\",\n          \"video\": [\n            {\n              \"id\": \"1\",\n              \"path\": \"{{ $('Upload Video to Postiz').item.json.path }}\"\n            }\n          ]\n        }\n      ],\n      \"settings\": {\n        \"type\": \"post\"\n      }\n    }\n  ]\n}",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "Y6o8v8wTVnstRSO4",
          "name": "seedance wave speed"
        }
      },
      "typeVersion": 4
    },
    {
      "id": "f6a1f484-979e-493f-b213-448765ac93be",
      "name": "清理Facebook视频字幕",
      "type": "n8n-nodes-base.code",
      "position": [
        -16,
        2000
      ],
      "parameters": {
        "jsCode": "let content = $('Setup Heygen Parameters').item.json.caption;\n\nif (content) {\n  content = content\n    .replace(/[\\n\\r\\t]+/g, ' ')\n    .replace(/\\s{2,}/g, ' ')\n    .replace(/[\\\\'\"]/g, (match) => match === '\"' ? '\\\\\"' : \"'\")\n    .replace(/[\\\\]/g, '\\\\\\\\')\n    .trim();\n\n  const limit = 63206;\n  if (content.length > limit) {\n    content = content.substring(0, limit - 3) + '...';\n  }\n}\n\nreturn [{\n  json: {\n    ...items[0].json,\n    facebook_video_caption: content\n  }\n}];"
      },
      "typeVersion": 2
    },
    {
      "id": "d301177f-e6ac-4b04-813d-05fd7ccf1cd1",
      "name": "Facebook视频发布器",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        208,
        2000
      ],
      "parameters": {
        "url": "https://postiz.yourdomain.com/api/public/v1/posts",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"type\": \"now\",\n  \"date\": \"{{ $now.plus(1, 'minute').toISO() }}\",\n  \"order\": \"\",\n  \"shortLink\": true,\n  \"inter\": 0,\n  \"tags\": [],\n  \"posts\": [\n    {\n      \"integration\": {\n        \"id\": \"{{ $json.id }}\"\n      },\n      \"value\": [\n        {\n          \"content\": \"{{ $('Clean Facebook Video Caption').item.json.facebook_video_caption }}\",\n          \"video\": [\n            {\n              \"id\": \"1\",\n              \"path\": \"{{ $('Upload Video to Postiz').item.json.path }}\"\n            }\n          ]\n        }\n      ],\n      \"settings\": {\n        \"type\": \"post\"\n      }\n    }\n  ]\n}",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4
    },
    {
      "id": "ce67c70c-9ee2-4638-bdbd-c6f42ce442aa",
      "name": "YouTube视频发布器",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -16,
        2192
      ],
      "parameters": {
        "url": "https://postiz.yourdomain.com/api/public/v1/posts",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n \"type\": \"now\",\n \"date\": \"{{ $now.plus(1, 'minute').toISO() }}\",\n \"order\": \"\",\n \"shortLink\": true,\n \"inter\": 0,\n \"tags\": [],\n \"posts\": [\n   {\n     \"integration\": {\n       \"id\": \"{{ $json.id }}\"\n     },\n     \"value\": [\n       {\n         \"content\": \"{{ $('Setup Heygen Parameters').item.json.caption }}\",\n         \"video\": [\n           {\n             \"id\": \"1\",\n             \"path\": \"{{ $('Upload Video to Postiz').item.json.path }}\"\n           }\n         ]\n       }\n     ],\n     \"settings\": {\n       \"__type\": \"youtube\",\n       \"title\": \"{{ $('Setup Heygen Parameters').item.json.news_title }}\",\n       \"type\": \"public\",\n       \"tags\": [\"news\", \"AI\"],\n       \"categoryId\": \"22\",\n       \"madeForKids\": false\n     }\n   }\n ]\n}",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4
    },
    {
      "id": "56c69cd0-bd0f-4392-878a-08c16bbfb899",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -864,
        880
      ],
      "parameters": {
        "width": 176,
        "height": 128,
        "content": "🚀 **工作流触发器:**"
      },
      "typeVersion": 1
    },
    {
      "id": "5bdcc1f2-c149-4f5c-a3bd-69e6b5d74c55",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        528
      ],
      "parameters": {
        "color": 4,
        "height": 384,
        "content": "📰 **新闻源:**"
      },
      "typeVersion": 1
    },
    {
      "id": "0e5b8f4e-ebd5-4adc-bb66-1f4a5fe973c9",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1056,
        1712
      ],
      "parameters": {
        "width": 448,
        "height": 416,
        "content": "⬆️ **Postiz视频上传:**"
      },
      "typeVersion": 1
    },
    {
      "id": "d83e0987-0d2e-4577-aa62-d9b00944711f",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        560
      ],
      "parameters": {
        "color": 4,
        "height": 384,
        "content": "📊 **新闻文章记录器 (Google Sheets):**"
      },
      "typeVersion": 1
    },
    {
      "id": "b507d9a4-ee7d-40ab-8c92-242c56122571",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        528
      ],
      "parameters": {
        "color": 5,
        "height": 384,
        "content": "⚡ **数据限制器 (用于测试/控制):**"
      },
      "typeVersion": 1
    },
    {
      "id": "7e56b046-a1e7-4790-8e12-9795b0d4ee0b",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        1600
      ],
      "parameters": {
        "color": 3,
        "width": 496,
        "height": 176,
        "content": "📊 **视频详情记录器 (Google Sheets):**"
      },
      "typeVersion": 1
    },
    {
      "id": "b0479969-4ea3-471d-a49c-1cda3494152f",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        1744
      ],
      "parameters": {
        "color": 4,
        "width": 368,
        "height": 352,
        "content": "🎯 **动态平台路由 (视频):**"
      },
      "typeVersion": 1
    },
    {
      "id": "2e9d3b33-bc69-4b65-85d3-02bf53b785df",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        1840
      ],
      "parameters": {
        "color": 7,
        "width": 368,
        "height": 128,
        "content": "🧼 **Instagram字幕清理器 (视频):**"
      },
      "typeVersion": 1
    },
    {
      "id": "5b994d79-0277-4cf8-ae05-a8298e8aee82",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        1184
      ],
      "parameters": {
        "content": "🧹 **字幕提取器:**"
      },
      "typeVersion": 1
    },
    {
      "id": "3a375cac-c4c4-4201-a6ca-79bc395505cb",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -960,
        1056
      ],
      "parameters": {
        "color": 4,
        "content": "✍️ **字幕生成AI:**"
      },
      "typeVersion": 1
    },
    {
      "id": "bfc15c14-2396-4b52-be10-3ee4a11fae7b",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        1184
      ],
      "parameters": {
        "content": "🔧 **HeyGen配置:**"
      },
      "typeVersion": 1
    },
    {
      "id": "c1a1646c-ce7a-4cfb-b19e-2805f3e13831",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        976,
        960
      ],
      "parameters": {
        "color": 3,
        "width": 544,
        "height": 336,
        "content": "🎬 **视频生成 (HeyGen API):**"
      },
      "typeVersion": 1
    },
    {
      "id": "bf6a9892-0661-4774-811c-0f4df7349d11",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        2192
      ],
      "parameters": {
        "color": 4,
        "width": 368,
        "height": 208,
        "content": "📸 **发布到Instagram (视频):**"
      },
      "typeVersion": 1
    },
    {
      "id": "28d3c92a-4178-4b78-a46c-e5b778977682",
      "name": "便签14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        2064
      ],
      "parameters": {
        "color": 7,
        "width": 448,
        "height": 144,
        "content": "📺 **发布到YouTube (视频):**"
      },
      "typeVersion": 1
    },
    {
      "id": "85f3fa47-0e66-45d4-84b3-01e2ab0bbef6",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1840,
        832
      ],
      "parameters": {
        "color": 7,
        "width": 704,
        "height": 1136,
        "content": "## 🤖 自动化AI新闻视频创建与社交媒体发布工作流"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "b5466f4c-5bcd-461f-bd9e-9865b994057b",
  "connections": {
    "Limit1": {
      "main": [
        [
          {
            "node": "Log news to sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Parse Caption",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Read": {
      "main": [
        [
          {
            "node": "Limit1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "write script": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Parse Caption": {
      "main": [
        [
          {
            "node": "Setup Heygen Parameters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video": {
      "main": [
        [
          {
            "node": "Upload to Google Drive",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload Video to Postiz",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log news to sheets": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Video Platform Router": {
      "main": [
        [
          {
            "node": "Clean Instagram Caption",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Clean Facebook Video Caption",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "YouTube Video Publisher",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video to Postiz": {
      "main": [
        [
          {
            "node": "Get Postiz Integrations",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Google Drive": {
      "main": [
        [
          {
            "node": "Log Video Details to Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean Instagram Caption": {
      "main": [
        [
          {
            "node": "Instagram Video Publisher",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Postiz Integrations": {
      "main": [
        [
          {
            "node": "Video Platform Router",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Setup Heygen Parameters": {
      "main": [
        [
          {
            "node": "Create Avatar Video (HeyGen)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Video (HeyGen)": {
      "main": [
        [
          {
            "node": "Get Avatar Video Status (HeyGen)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean Facebook Video Caption": {
      "main": [
        [
          {
            "node": "Facebook Video Publisher",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Avatar Video (HeyGen)": {
      "main": [
        [
          {
            "node": "Wait for Video (HeyGen)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking 'Test workflow'": {
      "main": [
        [
          {
            "node": "RSS Read",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Avatar Video Status (HeyGen)": {
      "main": [
        [
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

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

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

作者
David Olusola

David Olusola

@dae221

I help ambitious businesses eliminate operational bottlenecks and scale faster with AI automation. My clients typically see 40-60% efficiency gains within 90 days. Currently accepting 3 new projects this quarter - david@daexai.com

外部链接
在 n8n.io 查看

分享此工作流