8
n8n 中文网amn8n.com

博客内容多语言自动翻译

中级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 12 个节点。主要使用 Set, Merge, SplitOut, ManualTrigger, Agent 等节点。 使用GPT-4o和Markdown自动将博客内容翻译为多种语言

前置要求
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "a2ef3ce1-d45d-4856-9a4b-51f56bd88e8a",
      "name": "分离输出1",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -656,
        3136
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "languages"
      },
      "typeVersion": 1
    },
    {
      "id": "b86b7864-4333-466b-9d48-5c6470ffffc5",
      "name": "OpenAI聊天模型4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -272,
        3584
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "gpt-4o"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4l6TDfLZVFS24g3X",
          "name": "OpenAi account 4"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "19d5fae5-48ed-44ee-92fa-04008f7b7179",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1776,
        2944
      ],
      "parameters": {
        "width": 400,
        "height": 784,
        "content": "## ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "801734b2-557a-43b1-8bde-e66536b4c45e",
      "name": "便签14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1328,
        2944
      ],
      "parameters": {
        "color": 7,
        "width": 1392,
        "height": 784,
        "content": "# 📝 AI 博客翻译器与 OpenAI"
      },
      "typeVersion": 1
    },
    {
      "id": "977cd535-7493-4323-af6e-f8ffb5660c62",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        3408
      ],
      "parameters": {
        "color": 3,
        "width": 288,
        "height": 304,
        "content": "### 1️⃣ 设置 OpenAI 连接"
      },
      "typeVersion": 1
    },
    {
      "id": "42c65e43-6fd0-4701-b237-4d308767dc71",
      "name": "当点击\"执行工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1248,
        3376
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6bd54f0a-dea2-4184-8abb-8f57cfc62992",
      "name": "结构化输出解析器2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -64,
        3344
      ],
      "parameters": {
        "jsonSchemaExample": "{\n\t\"blog\": \"full blog with title and formatting in markdown\"\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "7813383c-0ea0-49c6-8364-d8b50f119188",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1040,
        3136
      ],
      "parameters": {
        "color": 3,
        "width": 304,
        "height": 304,
        "content": "### 2️⃣ 选择您的目标语言"
      },
      "typeVersion": 1
    },
    {
      "id": "527413d2-72f2-45d4-81be-879686c0089e",
      "name": "输入博客",
      "type": "n8n-nodes-base.set",
      "position": [
        -944,
        3568
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "02d3b945-fc8f-44fb-b004-148c7329dcf3",
              "name": "Title",
              "type": "string",
              "value": "n8n’s Rise to the Top: How an Open-Source Automation Tool Took Over the Workflow World"
            },
            {
              "id": "2420b331-27ea-49fa-a587-36bd7b255159",
              "name": "Blog",
              "type": "string",
              "value": "In a landscape once dominated by platforms like Zapier and Make, a new leader in the automation space has quietly — and powerfully — emerged: n8n. What began as an open-source side project has grown into one of the most flexible, scalable, and community-driven automation tools available today.  So, how did it get here?  A Developer’s Dream with a Business Mindset  When n8n launched, it wasn’t built for surface-level “if this, then that” automations. It was built with developers in mind — offering conditional logic, loops, error handling, custom functions, and webhook support straight out of the box. But unlike traditional developer tools, n8n made that power accessible via an intuitive visual interface.  It struck the perfect balance between being:  Powerful enough for engineers  Simple enough for operations, marketers, and creators  This combination created a perfect storm for rapid adoption.  The Open-Source Advantage  While most automation platforms are locked behind pricing walls and closed systems, n8n was open-source from day one. That decision fueled a wave of community contributions, self-hosted deployments, and a sense of ownership among its users.  With self-hosting, users were no longer limited by:  Step counts  Monthly task quotas  API limits buried in fine print  Instead, n8n empowered users to build enterprise-level automation systems without asking for permission.  The Community Engine  One of the strongest forces behind n8n’s rise? The community.  Thousands of users and contributors — including freelancers, agencies, and power users — have shaped the tool from the inside out. The official n8n forums are active and well-supported, and new features are often community-driven. Power users even get recognized through the Top Supporter program, showcasing those who go above and beyond to help others level up.  🔗 View my n8n Creator Profile  🏅 See my badges on the n8n forums  📘 Check out my free course on AI Agents using n8n  Built for the AI Era  n8n’s architecture made it the perfect foundation for building AI agent workflows.  While tools like Zapier and Make are still catching up with multi-step LLM chaining, n8n users are already building:  AI lead qualification bots  AI-powered content workflows  Full autonomous agents that think, act, and iterate  Hybrid workflows that combine APIs, CRMs, webhooks, and LLMs in real-time  The low-code interface, combined with JavaScript and Python flexibility, makes it uniquely suited for the next wave of automation: agentic systems.  What’s Next for n8n?  With its cloud-hosted offering gaining traction, a strong open-source backbone, and enterprise adoption growing, n8n is poised to become the default automation layer for modern businesses.  Whether you're building marketing funnels, real-time data pipelines, or AI agents that talk to your customers—n8n has the depth, openness, and community support to get you there.  Final Thoughts  If you haven’t explored n8n yet, now is the time. Whether you’re a solo creator, a startup founder, or an enterprise automation architect, n8n’s rise is just getting started—and you’ll want to be part of it."
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "d91054ff-3af2-4cab-a3e9-1d7b4cbb53e1",
      "name": "与语言组合",
      "type": "n8n-nodes-base.merge",
      "position": [
        -480,
        3200
      ],
      "parameters": {
        "mode": "combine",
        "options": {},
        "combineBy": "combineAll"
      },
      "typeVersion": 3.2
    },
    {
      "id": "3e1374b0-ed46-4510-8112-8226b929d348",
      "name": "博客翻译器",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -304,
        3184
      ],
      "parameters": {
        "text": "=Title:{{ $json.Title }} Blog: {{ $json.Blog }} Language: {{ $('Split Out1').item.json.languages }}",
        "options": {
          "systemMessage": "=Translate everything into the language listed. Format well. output data like this. \n\n{\n\t\"blog\": \"full blog with title and formatting in markdown\"\n}"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "4fd78998-c4f6-46d1-be42-e695bc9cd615",
      "name": "设置语言",
      "type": "n8n-nodes-base.set",
      "position": [
        -928,
        3296
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "languages",
              "name": "languages",
              "type": "array",
              "value": [
                "spanish",
                "french"
              ]
            }
          ]
        }
      },
      "typeVersion": 3.4
    }
  ],
  "pinData": {},
  "connections": {
    "Enter Blog": {
      "main": [
        [
          {
            "node": "Combine with Languages",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Split Out1": {
      "main": [
        [
          {
            "node": "Combine with Languages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Languages": {
      "main": [
        [
          {
            "node": "Split Out1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Blog Translator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Combine with Languages": {
      "main": [
        [
          {
            "node": "Blog Translator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "Blog Translator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Enter Blog",
            "type": "main",
            "index": 0
          },
          {
            "node": "Set Languages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

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

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

作者
Robert Breen

Robert Breen

@rbreen

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.

外部链接
在 n8n.io 查看

分享此工作流