ブログ記事翻訳ツール

中級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、10個のノードを含みます。主にCode, Airtable, HttpRequest, ManualTrigger, GoogleTranslateなどのノードを使用。 Google翻訳とAirtableに保存してブログ記事を自動翻訳

前提条件
  • Airtable API Key
  • ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "HKTeS8KymXB9q4oR",
  "meta": {
    "instanceId": "c87a766eb8ed4a39121cf119a5038250a8ca0a11ed90cdd244f6beb7336758b3",
    "templateCredsSetupCompleted": true
  },
  "name": "Blog Post Translator",
  "tags": [],
  "nodes": [
    {
      "id": "e490b9c8-89f1-4dd7-8274-1d33e9d89ba8",
      "name": "「ワークフロー実行」クリック時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -40,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "01266489-c432-402c-afb7-7f945aaf8469",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        0
      ],
      "parameters": {
        "url": "https://dorik.com/blog/what-makes-a-good-website",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "d5b6cbea-9ac9-4378-96a5-ed61456183f8",
      "name": "レコード作成",
      "type": "n8n-nodes-base.airtable",
      "position": [
        800,
        0
      ],
      "parameters": {
        "base": {
          "__rl": true,
          "mode": "list",
          "value": "appP62U5MtSww1eeP",
          "cachedResultUrl": "https://airtable.com/appP62U5MtSww1eeP",
          "cachedResultName": "N8n experiment"
        },
        "table": {
          "__rl": true,
          "mode": "list",
          "value": "tblHVSfUR71dToSif",
          "cachedResultUrl": "https://airtable.com/appP62U5MtSww1eeP/tblHVSfUR71dToSif",
          "cachedResultName": "Table 1"
        },
        "columns": {
          "value": {
            "HTML": "={{ $json.blogContent }}",
            "TRANSLATED": "="
          },
          "schema": [
            {
              "id": "HTML",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "HTML",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "TRANSLATED",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "TRANSLATED",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "create",
        "authentication": "airtableOAuth2Api"
      },
      "credentials": {
        "airtableOAuth2Api": {
          "id": "5wYsH0BcRUSLs1MQ",
          "name": "ABRAR AIRTABLE"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "7d4f54ee-0401-4bdb-baea-046b2d05ae9d",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        0
      ],
      "parameters": {
        "jsCode": "const cheerio = require('cheerio');\n\nconst raw = items[0].json.body || items[0].json.data || items[0].json;\nconst html = typeof raw === 'string' ? raw : JSON.stringify(raw);\n\nconst $ = cheerio.load(html);\n\n// Extract just the visible text\nconst blogContent = $('.dorik-postContent-cnuauoa5').text().trim();\n\nreturn [\n  {\n    json: {\n      blogContent\n    }\n  }\n];\n"
      },
      "typeVersion": 2
    },
    {
      "id": "8c4889e9-8782-416f-903c-a84ac396d516",
      "name": "言語翻訳",
      "type": "n8n-nodes-base.googleTranslate",
      "position": [
        1180,
        0
      ],
      "parameters": {
        "text": "={{ $json.fields.HTML }}",
        "translateTo": "fr"
      },
      "credentials": {
        "googleTranslateOAuth2Api": {
          "id": "9rbWLLKvutaCyRvG",
          "name": "Google Translate account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "3985dd10-9486-440e-bf0b-b147889ccbed",
      "name": "レコード更新",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1440,
        0
      ],
      "parameters": {
        "base": {
          "__rl": true,
          "mode": "list",
          "value": "appP62U5MtSww1eeP",
          "cachedResultUrl": "https://airtable.com/appP62U5MtSww1eeP",
          "cachedResultName": "N8n experiment"
        },
        "table": {
          "__rl": true,
          "mode": "list",
          "value": "tblHVSfUR71dToSif",
          "cachedResultUrl": "https://airtable.com/appP62U5MtSww1eeP/tblHVSfUR71dToSif",
          "cachedResultName": "Table 1"
        },
        "columns": {
          "value": {
            "TRANSLATED": "={{ $json.translatedText }}"
          },
          "schema": [
            {
              "id": "id",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": true,
              "required": false,
              "displayName": "id",
              "defaultMatch": true
            },
            {
              "id": "HTML",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "HTML",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "TRANSLATED",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "TRANSLATED",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "HTML"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "update",
        "authentication": "airtableOAuth2Api"
      },
      "credentials": {
        "airtableOAuth2Api": {
          "id": "5wYsH0BcRUSLs1MQ",
          "name": "ABRAR AIRTABLE"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "dd3cf3e0-02e1-4d1c-9baf-321c8d1d51ec",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        -200
      ],
      "parameters": {
        "color": 3,
        "width": 440,
        "height": 520,
        "content": "## Extract the HTML and convert to text \n"
      },
      "typeVersion": 1
    },
    {
      "id": "cc314ca2-028b-45a8-a094-2a803d8868a1",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        600,
        -200
      ],
      "parameters": {
        "width": 500,
        "height": 520,
        "content": "## Store the Text \n"
      },
      "typeVersion": 1
    },
    {
      "id": "13659161-f683-4f81-be40-6ee8c90b1760",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        -200
      ],
      "parameters": {
        "color": 6,
        "width": 220,
        "height": 520,
        "content": "## Translate"
      },
      "typeVersion": 1
    },
    {
      "id": "c1938b28-2ece-4a7f-8026-62d2c52f9858",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        -200
      ],
      "parameters": {
        "color": 4,
        "width": 280,
        "height": 520,
        "content": "## Store Translated Blog"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e67c0089-8e80-4640-a0ea-b6f22adbb439",
  "connections": {
    "7d4f54ee-0401-4bdb-baea-046b2d05ae9d": {
      "main": [
        [
          {
            "node": "d5b6cbea-9ac9-4378-96a5-ed61456183f8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "01266489-c432-402c-afb7-7f945aaf8469": {
      "main": [
        [
          {
            "node": "7d4f54ee-0401-4bdb-baea-046b2d05ae9d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d5b6cbea-9ac9-4378-96a5-ed61456183f8": {
      "main": [
        [
          {
            "node": "8c4889e9-8782-416f-903c-a84ac396d516",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8c4889e9-8782-416f-903c-a84ac396d516": {
      "main": [
        [
          {
            "node": "3985dd10-9486-440e-bf0b-b147889ccbed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e490b9c8-89f1-4dd7-8274-1d33e9d89ba8": {
      "main": [
        [
          {
            "node": "01266489-c432-402c-afb7-7f945aaf8469",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

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

有料ですか?

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

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

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

作成者
Abrar Sami

Abrar Sami

@abrarsami

Open to n8n projects. Send me an email to say hi strategy@thekranes.com

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34