8
n8n 中文网amn8n.com

使用 Eleven Labs 和 GPT-4 的自动化音频内容

中级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 12 个节点。主要使用 If, Set, Gmail, Slack, GoogleDrive 等节点。 使用Eleven Labs和GPT-4将博客文章转换为音频内容

前置要求
  • Google 账号和 Gmail API 凭证
  • Slack Bot Token 或 Webhook URL
  • Google Drive API 凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "KLDO9ZJ0iMg5VncF",
  "meta": {
    "instanceId": "a287613f1596da776459594685fbf4e2b4a12124f80ab8c8772f5e37bff103ae",
    "templateCredsSetupCompleted": true
  },
  "name": "使用 Eleven Labs 和 GPT-4 的自动化音频内容",
  "tags": [],
  "nodes": [
    {
      "id": "89557e6d-4a2d-417f-b323-ffe632ebb5a8",
      "name": "RSS 源触发器",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4e7186aa-c4a8-425a-9cc5-2f505e36696d",
      "name": "提取和清理文章数据",
      "type": "n8n-nodes-base.set",
      "position": [
        224,
        0
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a881c3d2-9980-428a-a85d-4eb700d35e0d",
      "name": "文本转语音",
      "type": "@elevenlabs/n8n-nodes-elevenlabs.elevenLabs",
      "position": [
        448,
        0
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 1
    },
    {
      "id": "37cebd8a-ceab-4ffa-83fd-5f046fde43b7",
      "name": "上传音频文件",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        672,
        0
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "0796f202-3a46-4cf4-b8e7-2ec41004ba65",
      "name": "生成元数据",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        896,
        0
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "0dcd3160-1a32-4c13-b3d6-93f1c45227fc",
      "name": "合并所有元数据",
      "type": "n8n-nodes-base.set",
      "position": [
        1296,
        0
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "81d43a0c-3a16-4f8b-a320-88d8ba483731",
      "name": "记录音频制作",
      "type": "n8n-nodes-base.googleSheets",
      "notes": "Values:\nArticle URL: ={{ $json.finalArticleUrl }}\nArticle Title: ={{ $json.finalArticleTitle }}\nAudio File URL: ={{ $json.audioFileUrl }}\nGenerated Audio Title: ={{ $json.generatedAudioTitle }}\nGenerated Audio Description: ={{ $json.generatedAudioDescription }}\nGenerated Audio Tags: ={{ $json.generatedAudioTags }}\nStatus: ={{ $json.workflowStatus }}\nTimestamp: ={{ $json.timestamp }}",
      "position": [
        1520,
        0
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 4.6
    },
    {
      "id": "52da2181-689d-44f1-97ec-4f50a2311e22",
      "name": "是否用于邮件分发?",
      "type": "n8n-nodes-base.if",
      "position": [
        1744,
        0
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a80d6ee9-f222-411f-aa6f-aa6151e04903",
      "name": "通过邮件发送音频通知",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1968,
        -96
      ],
      "webhookId": "41e96a51-49f9-494a-849c-d1302e137b18",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "4e637fd0-015c-4f0d-9fb9-5782c66f23f6",
      "name": "通知内部团队",
      "type": "n8n-nodes-base.slack",
      "position": [
        1968,
        96
      ],
      "webhookId": "e549edc5-add6-437f-9a8b-98ebb772aad7",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "44c25fdf-b212-4d26-83d3-0a0704bd8437",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -128,
        -176
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "c0cace1f-436f-4437-aa2e-d84b299488c8",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        400
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "45b3c5df-1732-4525-888c-410de66f5676",
  "connections": {
    "RSS Feed Trigger": {
      "main": [
        [
          {
            "node": "Extract & Clean Article Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Metadata": {
      "main": [
        [
          {
            "node": "Combine All Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Audio File": {
      "main": [
        [
          {
            "node": "Generate Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine All Metadata": {
      "main": [
        [
          {
            "node": "Log Audio Production",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Audio Production": {
      "main": [
        [
          {
            "node": "Is for Email Distribution?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert Text to Speech": {
      "main": [
        [
          {
            "node": "Upload Audio File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is for Email Distribution?": {
      "main": [
        [
          {
            "node": "Send Audio Notification via Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Notify Internal Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract & Clean Article Data": {
      "main": [
        [
          {
            "node": "Convert Text to Speech",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

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

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

作者
Marth

Marth

@marth

Simplifying Business with Smart Automation. I create and share user-friendly, highly efficient n8n workflow templates for SMEs, focusing on digital marketing, sales, and operational excellence. Get ready to automate, innovate, and elevate your business. Connect me on Linkedin for custom solutions.

外部链接
在 n8n.io 查看

分享此工作流