Automatische Übersetzung von WordPress-Blog-Artikeln

Fortgeschritten

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 9 Nodes. Hauptsächlich werden Wordpress, GoogleDocs, HttpRequest, ManualTrigger und andere Nodes verwendet. Automatische Übersetzung von WordPress-Blogartikeln in beliebige Sprachen mit AI Translate Pro und Speicherung in Google Docs

Voraussetzungen
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "meta": {
    "instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "1771594b-9a19-4143-8f43-59c9149f1a46",
      "name": "Beim Klicken auf 'Workflow ausführen'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -100,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "902da551-8eca-48b4-b470-30e56c97df9c",
      "name": "Wordpress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        180,
        0
      ],
      "parameters": {
        "postId": "2151",
        "options": {},
        "operation": "get"
      },
      "credentials": {
        "wordpressApi": {
          "id": "HucvXmJY2eFp01hl",
          "name": "Wordpress account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "02944dc1-3cc5-4ece-b394-c56756bf1c62",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        440,
        0
      ],
      "parameters": {
        "url": "https://ai-translate-pro.p.rapidapi.com/translate.php",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "multipart-form-data",
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "text",
              "value": "={{ $json.content.rendered }}"
            },
            {
              "name": "language",
              "value": "Hindi"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "x-rapidapi-host",
              "value": "ai-translate-pro.p.rapidapi.com"
            },
            {
              "name": "x-rapidapi-key",
              "value": "your key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "530a7eec-b5b1-4275-b0c8-8c947a25f61c",
      "name": "Google Docs",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        760,
        0
      ],
      "parameters": {
        "actionsUi": {
          "actionFields": [
            {
              "text": "={{ $json.data }}",
              "action": "insert"
            }
          ]
        },
        "operation": "update",
        "documentURL": "",
        "authentication": "serviceAccount"
      },
      "credentials": {
        "googleApi": {
          "id": "Rt0RWApx8PL9t0RF",
          "name": "Google Docs account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "be6ca2fd-e157-4aea-9374-17089d4ff440",
      "name": "Notizzettel",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        -320
      ],
      "parameters": {
        "width": 600,
        "height": 820,
        "content": "# 🌐 Changing Your WordPress Blog Into Any Language\n\nThis n8n workflow automates the translation of WordPress blog posts into any language using an AI translation API, then inserts the translated content into a Google Doc.\n\n---\n\n## ⚙️ Workflow Overview\n\n**Steps:**\n\n1. Manually trigger the workflow.\n2. Fetch a blog post from WordPress.\n3. Translate the post content using an AI-powered translation API.\n4. Insert the translated text into a specified Google Docs document.\n\n---\n\n## 💡 Use Cases\n\n- 🌍 **Multilingual Blogging**: Translate posts into Hindi, Spanish, French, etc., and publish for global readers.\n- 🧾 **Content Localization**: Quickly prepare content for regional or international markets.\n- 🧪 **AI Translation Testing**: Run comparisons between human and AI translations.\n- 🧠 **Knowledge Base Expansion**: Store translated content for reuse in help centers or documentation.\n\n---\n## 📦 Notes\n\n- You can modify the post ID to work dynamically.\n- You can switch the target language via input or additional nodes.\n- For better formatting, consider converting HTML to markdown before translation (optional).\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "e61f82d4-0486-4d91-8560-dce89116441d",
      "name": "Notizzettel1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        -220
      ],
      "parameters": {
        "height": 380,
        "content": "\n### 1. ✅ Manual Trigger\nStarts the workflow manually when the user clicks \"Execute Workflow\" inside n8n."
      },
      "typeVersion": 1
    },
    {
      "id": "a17df79e-826b-4a91-9cda-1d7a15b5f888",
      "name": "Notizzettel2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        -220
      ],
      "parameters": {
        "height": 380,
        "content": "### 2. 🌐 WordPress\nFetches the blog post with ID `2151` from a connected WordPress site using the REST API. It retrieves the content in raw HTML format.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "8e4a54aa-942b-47a2-8116-70ee15e61bcb",
      "name": "Notizzettel3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        -220
      ],
      "parameters": {
        "height": 380,
        "content": "### 3. 🌍 HTTP Request (AI Translation)\nSends the WordPress blog content to the `ai-translate-pro` API via RapidAPI using `multipart/form-data`. The `text` field is filled with the blog post content, and the `language` is set to `Hindi`. The response contains the translated text.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "18a49e1d-cd8f-4277-b6bb-aff3651b75f0",
      "name": "Notizzettel4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        -220
      ],
      "parameters": {
        "height": 380,
        "content": "### 4. 📝 Google Docs\nTakes the translated text from the API response and inserts it into a specified Google Docs document using the Google Docs API with service account credentials.\n"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "902da551-8eca-48b4-b470-30e56c97df9c": {
      "main": [
        [
          {
            "node": "02944dc1-3cc5-4ece-b394-c56756bf1c62",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "02944dc1-3cc5-4ece-b394-c56756bf1c62": {
      "main": [
        [
          {
            "node": "530a7eec-b5b1-4275-b0c8-8c947a25f61c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1771594b-9a19-4143-8f43-59c9149f1a46": {
      "main": [
        [
          {
            "node": "902da551-8eca-48b4-b470-30e56c97df9c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Content-Erstellung, Multimodales KI

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes9
Kategorie2
Node-Typen5
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34