WordPressブログ記事の自動翻訳

中級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、9個のノードを含みます。主にWordpress, GoogleDocs, HttpRequest, ManualTriggerなどのノードを使用。 WordPressブログ記事をAI Translate Proで任意の言語に自動翻訳してGoogle Docsに保存

前提条件
  • ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "1771594b-9a19-4143-8f43-59c9149f1a46",
      "name": "ワークフローの実行時",
      "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": "付箋",
      "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": "付箋1",
      "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": "付箋2",
      "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": "付箋3",
      "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": "付箋4",
      "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
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - コンテンツ作成, マルチモーダルAI

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数9
カテゴリー2
ノードタイプ5
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34