8
n8n 中文网amn8n.com

YouTube

高级

这是一个AI, Marketing领域的自动化工作流,包含 22 个节点。主要使用 Set, Code, Function, Telegram, HttpRequest 等节点,结合人工智能技术实现智能自动化。 使用 Google Sheets 和 Telegram 提醒自动转发 TikTok 视频到 YouTube Shorts

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "A0IRqcScwiTe8ov4",
  "meta": {
    "instanceId": "fb3184f8fa01ea148d00aadf9b7c1e387b25e3d514eb1a933dfbf92ffdabd4e0",
    "templateCredsSetupCompleted": true
  },
  "name": "YouTube",
  "tags": [],
  "nodes": [
    {
      "id": "f4609867-625e-4937-8374-9b1680883fbe",
      "name": "手动触发器",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -820,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9dd8fd1b-106c-4692-87dc-dd3d5f586ec8",
      "name": "获取TikTok视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        60,
        120
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c0eb92ea-fe31-4e2f-8cf8-45daf60a7f5e",
      "name": "筛选新视频",
      "type": "n8n-nodes-base.function",
      "position": [
        900,
        -180
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": false
    },
    {
      "id": "2acf6d17-4057-47d0-8b5d-d93e340314aa",
      "name": "YouTube上传片段",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1540,
        260
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "7b4a47fb-071c-4473-a5b5-a0225800127d",
      "name": "YouTube上传视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2040,
        260
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "69cf78af-9c4a-4720-8ab5-97f21336d02d",
      "name": "附加到Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1520,
        -260
      ],
      "parameters": {},
      "typeVersion": 4
    },
    {
      "id": "cf6f3ccc-d56c-42c7-9f0a-9477207da697",
      "name": "下载视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1800,
        260
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "585f381e-7a1b-46a3-b3ca-2211aba091a1",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        -400,
        200
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "077783eb-a61a-479c-975c-263668c992dd",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -600,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e6d191d5-e251-4844-896e-f2c46a7aef98",
      "name": "计划触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -820,
        240
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "b34f6b9e-08b8-46c5-b82c-351145a9460d",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2360,
        260
      ],
      "webhookId": "",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7ae0cc36-d2c1-4e7a-9240-d69a3694e052",
      "name": "Telegram触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -520,
        560
      ],
      "webhookId": "7234ed1e-a704-4ba4-8f53-d92dce07414d",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "c8183fcf-78cc-44e3-bdc0-308540594c92",
      "name": "便签 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2320,
        60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "32c1aaf4-9b8a-42e0-9b1e-24fe2c212132",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1460,
        60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "01360b51-8e40-427b-b7e8-ec7bfa0592be",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        -1120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "999ae18b-9ac3-4f13-ac8c-0a21ef527997",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        -380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "914ec878-f735-4619-9ee4-f0ccc7fa67f7",
      "name": "便签 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d5db6a6a-1194-4094-98b5-0b892a090527",
      "name": "代码",
      "type": "n8n-nodes-base.code",
      "position": [
        -240,
        560
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ca8f53b3-e4a7-480c-843b-028a8d7efcde",
      "name": "通过TG触发器获取TikTok视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        60,
        560
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "122eb37c-cd86-418f-aaa8-e2afd5747093",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "baae9051-ce6d-4733-9911-fdaa395d7ac2",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        600,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "efe4c61d-b975-4502-a67e-d967158ed8d9",
      "name": "视频信息",
      "type": "n8n-nodes-base.set",
      "position": [
        1180,
        240
      ],
      "parameters": {},
      "typeVersion": 3.4
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1"
  },
  "versionId": "0f814914-2253-4513-81c7-01f497675888",
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Fetch TikTok Videos via TG trigger",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Fetch TikTok Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video": {
      "main": [
        [
          {
            "node": "YouTube Upload Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter New Videos": {
      "main": [
        [
          {
            "node": "Append to Google Sheets",
            "type": "main",
            "index": 0
          },
          {
            "node": "Video Information",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Video Information": {
      "main": [
        [
          {
            "node": "YouTube Upload Snippet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch TikTok Videos": {
      "main": [
        [
          {
            "node": "Filter New Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "YouTube Upload Video": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "YouTube Upload Snippet": {
      "main": [
        [
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch TikTok Videos via TG trigger": {
      "main": [
        [
          {
            "node": "Filter New Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人工智能, 营销

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流