YouTube 视频转博客

中级

这是一个Content Creation、Multimodal AI领域的自动化工作流,包含 6 个节点。主要使用 Set、GoogleDocs、FormTrigger、HttpRequest 等节点。 YouTube 转多语言博客:将视频转换为 SEO 友好的 Google 文档文章

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "sz7fVtyNOadW5zNX",
  "meta": {
    "instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
    "templateCredsSetupCompleted": true
  },
  "name": "YouTube视频转博客",
  "tags": [],
  "nodes": [
    {
      "id": "ae3f4f01-90be-4296-b2b9-be1a94f6202c",
      "name": "表单提交时",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -220,
        0
      ],
      "webhookId": "3662fd44-da10-44f0-8144-2c288683df2d",
      "parameters": {
        "options": {},
        "formTitle": "YouTube Video To Blog",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Video URL",
              "requiredField": true
            },
            {
              "fieldType": "dropdown",
              "fieldLabel": "language",
              "fieldOptions": {
                "values": [
                  {
                    "option": "English"
                  },
                  {
                    "option": "Hindi"
                  },
                  {
                    "option": "French"
                  },
                  {
                    "option": "German "
                  },
                  {
                    "option": "Gujarati"
                  }
                ]
              },
              "requiredField": true
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "23e8f2aa-2d50-4ff9-9185-d178bbb23e24",
      "name": "Google 文档",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        480,
        0
      ],
      "parameters": {
        "actionsUi": {
          "actionFields": [
            {
              "text": "={{ $json.data }}",
              "action": "insert"
            }
          ]
        },
        "operation": "update",
        "documentURL": "https://docs.google.com/document/d/1ZC52bgdGhpe9clkJrjnTBFq5JfIgqjVNryO1E0FwNG8/edit?tab=t.0",
        "authentication": "serviceAccount"
      },
      "credentials": {
        "googleApi": {
          "id": "Rt0RWApx8PL9t0RF",
          "name": "Google Docs account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "db017056-3fc6-4ce0-b77b-b548f3357743",
      "name": "映射器",
      "type": "n8n-nodes-base.set",
      "position": [
        40,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "184eb6b5-dffb-41ce-8076-dc64d2b017fe",
              "name": "Video URL",
              "type": "string",
              "value": "={{ $json[\"Video URL\"] }}"
            },
            {
              "id": "922d2031-5dde-4ddc-a7ad-9902eb16189e",
              "name": "language",
              "type": "string",
              "value": "={{ $json.language }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "7405eb95-c827-45a9-a80c-9dddcffa8869",
      "name": "YouTube转博客",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        280,
        0
      ],
      "parameters": {
        "url": "https://youtube-to-blog.p.rapidapi.com/ytblogs/index.php",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "videoUrl",
              "value": "={{ $json[\"Video URL\"] }}"
            },
            {
              "name": "language",
              "value": "={{ $json.language }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "x-rapidapi-host",
              "value": "youtube-to-blog.p.rapidapi.com"
            },
            {
              "name": "x-rapidapi-key",
              "value": "your rapid api key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "202c7fcf-90d0-487b-ad06-a443c302f561",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -980,
        -600
      ],
      "parameters": {
        "width": 560,
        "height": 1700,
        "content": "# 📽️ YouTube视频转博客 – n8n工作流"
      },
      "typeVersion": 1
    },
    {
      "id": "53d53037-2508-4825-80e0-9d64e49dae33",
      "name": "便签 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        -600
      ],
      "parameters": {
        "width": 1160,
        "height": 780,
        "content": "## 🔄 工作流节点概述 – YouTube视频转博客"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e3d7f913-9d83-4a8d-8ded-467a83ed079b",
  "connections": {
    "Mapper": {
      "main": [
        [
          {
            "node": "YouTube to Blog",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "YouTube to Blog": {
      "main": [
        [
          {
            "node": "Google Docs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Mapper",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

这是一个中级难度的工作流,适用于Content Creation、Multimodal AI等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

需要付费吗?

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

工作流信息
难度等级
中级
节点数量6
分类2
节点类型5
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

外部链接
在 n8n.io 上查看 →

分享此工作流