Traduction automatique des articles de blog WordPress

Intermédiaire

Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 9 nœuds.Utilise principalement des nœuds comme Wordpress, GoogleDocs, HttpRequest, ManualTrigger. Traduire automatiquement les articles de blog WordPress en n'importe quelle langue et les sauvegarder dans Google Docs avec AI Translate Pro

Prérequis
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "meta": {
    "instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "1771594b-9a19-4143-8f43-59c9149f1a46",
      "name": "Lors du clic sur 'Exécuter le workflow'",
      "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": "Note autocollante",
      "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": "Note autocollante1",
      "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": "Note autocollante2",
      "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": "Note autocollante3",
      "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": "Note autocollante4",
      "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
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Création de contenu, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds9
Catégorie2
Types de nœuds5
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34