GPT-4o、WordPress、LinkedInを使ってRSSから自動でブログ記事を投稿

上級

これはAI, Marketing分野の自動化ワークフローで、40個のノードを含みます。主にIf, Set, Code, Wait, Gmailなどのノードを使用、AI技術を活用したスマート自動化を実現。 GPT-4o、WordPress、LinkedInを使ってRSSコンテンツを自動のにブログ記事へ公開

前提条件
  • Googleアカウント + Gmail API認証情報
  • HTTP Webhookエンドポイント(n8nが自動生成)
  • LinkedIn API認証情報
  • Telegram Bot Token
  • ターゲットAPIの認証情報が必要な場合あり
  • Google Sheets API認証情報
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "3da9aa1165fccd6e57ad278dd59febaa1dfaafc31e0e52a95d11801200f09024",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "3911f23a-cdfc-498d-93a7-83dea9ff1f0e",
      "name": "スケジュールトリガー",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -540,
        1160
      ],
      "parameters": {},
      "description": "Triggers the workflow daily at 7 AM to fetch new RSS content.",
      "typeVersion": 1.2
    },
    {
      "id": "a02d3578-d2e5-4c56-962a-2c4bd7827c47",
      "name": "マージ RSS Feeds",
      "type": "n8n-nodes-base.merge",
      "position": [
        -40,
        1160
      ],
      "parameters": {},
      "description": "Combines articles from multiple RSS feeds into a single stream.",
      "typeVersion": 3.1
    },
    {
      "id": "90ec495d-4016-4123-b250-7ee377709f5a",
      "name": "Date フィルター",
      "type": "n8n-nodes-base.if",
      "position": [
        160,
        1160
      ],
      "parameters": {},
      "description": "Filters articles published in the last 24 hours.",
      "typeVersion": 2.2
    },
    {
      "id": "2254b24a-dc91-4175-be2b-c512c98514d9",
      "name": "制限 Articles",
      "type": "n8n-nodes-base.limit",
      "position": [
        360,
        1140
      ],
      "parameters": {},
      "description": "Limits to 5 articles to avoid overwhelming the workflow.",
      "typeVersion": 1
    },
    {
      "id": "d87263a2-f61a-41c4-88a0-70029d8f6240",
      "name": "Extract Content",
      "type": "n8n-nodes-base.function",
      "position": [
        520,
        1140
      ],
      "parameters": {},
      "description": "Extracts title, description, link, and publication date from RSS items.",
      "typeVersion": 1
    },
    {
      "id": "4f499250-4ed1-47b7-ba25-4b95c2b778e8",
      "name": "Fetch Full Article",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        680,
        1140
      ],
      "parameters": {},
      "description": "Fetches the full article content from the article URL.",
      "typeVersion": 4.2
    },
    {
      "id": "5567afb2-4a3a-4902-bd8a-3ca7cdac0fe2",
      "name": "Extract Article Body",
      "type": "n8n-nodes-base.htmlExtract",
      "position": [
        840,
        1140
      ],
      "parameters": {},
      "description": "Extracts the main article content using a CSS selector.",
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "f9ad375d-3e7a-4653-bc7f-c532c65cd5df",
      "name": "Convert to Markdown",
      "type": "n8n-nodes-base.function",
      "position": [
        1000,
        1140
      ],
      "parameters": {},
      "description": "Converts HTML article content to Markdown for AI processing.",
      "typeVersion": 1
    },
    {
      "id": "d2053eb0-e1a5-48d4-9337-d71d0c65deac",
      "name": "RSS TheVerge",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        -280,
        1080
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c631fb1a-97c8-47cc-a23e-0c5e34d2989a",
      "name": "RSS TechCrunch",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        -300,
        1280
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "39be1df4-5e78-46c7-b513-99b478b4095d",
      "name": "Generate Blog Post",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        1440
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "0259e27d-92b9-40a7-9ac5-30a0e1162599",
      "name": "OpenAI チャットモデル1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        180,
        1640
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "a2f5aa3b-b79f-4383-bc96-9a1a5603db00",
      "name": "設定 Blog Creation Date",
      "type": "n8n-nodes-base.code",
      "position": [
        520,
        1440
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "d38eb963-fd81-4aa1-b981-6ffb18d4597f",
      "name": "設定 Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        680,
        1440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "64b1a852-b8e6-4976-9353-c15ce46af8f5",
      "name": "Format Fields for Storage",
      "type": "n8n-nodes-base.code",
      "position": [
        840,
        1440
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "65e1577f-975e-48f6-97f4-413114e20d46",
      "name": "Notify for Review",
      "type": "n8n-nodes-base.gmail",
      "position": [
        380,
        1760
      ],
      "webhookId": "98bd7b8a-4bed-4930-bd85-1282657ddc90",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "72ab9f93-0221-471d-b14a-340cd4807ba6",
      "name": "Prepare Fields Foor Notification",
      "type": "n8n-nodes-base.set",
      "position": [
        180,
        1760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "39bd3581-8a38-4357-ad2b-ebdf3fd13bd1",
      "name": "Add Featured Image",
      "type": "n8n-nodes-base.code",
      "position": [
        1000,
        1440
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6864a2e9-fb55-4294-a862-b1d7690644ce",
      "name": "Store Blog Posts Initial",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        0,
        1760
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "da7b47dc-a5b2-4043-a2fe-9650b4a0386e",
      "name": "Generate SEO Keywords",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -80,
        1440
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "498c1ad6-503f-4c76-b033-f3c9232dd7e7",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "15aab31b-8eaf-4c7b-a239-c178f3f3ef79",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3040,
        580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e1654306-c4da-4b1f-9c3d-6f0273c49f73",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1200,
        580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "298beebf-63bc-470e-8aaa-c342629cb761",
      "name": "Update Approve Status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2000,
        680
      ],
      "parameters": {},
      "typeVersion": 4.5,
      "alwaysOutputData": true
    },
    {
      "id": "14bd1cd7-083e-4d4d-b0cd-5dbdefda51b4",
      "name": "Approval Webhook トリガー",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1800,
        680
      ],
      "webhookId": "7f532453-1e01-4ff1-b497-a3ae89646555",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4f9137eb-6425-403f-b260-92498147794d",
      "name": "Apply Blog Template",
      "type": "n8n-nodes-base.code",
      "position": [
        1780,
        1240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9072a8b4-1261-4080-8e2a-d51445175292",
      "name": "Loop Over Blog Posts",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2140,
        1240
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "deea3250-6a1c-49ea-8acf-3ca2b2910d07",
      "name": "Delay Between Posts",
      "type": "n8n-nodes-base.wait",
      "position": [
        2400,
        1260
      ],
      "webhookId": "9b25f8f1-398f-4509-9b4b-21dbbf3ae69f",
      "parameters": {},
      "typeVersion": 1.1,
      "alwaysOutputData": true
    },
    {
      "id": "41d04b54-e5fd-46f6-95df-766e2cf05486",
      "name": "Notify Rejection",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1780,
        1420
      ],
      "webhookId": "d5706bbb-0688-4677-aa55-9795e2a726a5",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "eeab5208-3c13-4299-92f6-f6b9871207ec",
      "name": "待機 for Status Update",
      "type": "n8n-nodes-base.wait",
      "position": [
        1780,
        1600
      ],
      "webhookId": "45b7af13-f8d5-4588-aa09-294a56ff784b",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "4b7a842b-5d04-4804-882b-944e9e45eca0",
      "name": "Check Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        1400,
        1420
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "c36de3dc-a262-4da6-af79-66882f2eb434",
      "name": "Fetch Row",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        1220,
        1420
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b85ed2c2-f488-406a-9b46-dd77a810fad3",
      "name": "Store Blog Posts Final",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1980,
        1240
      ],
      "parameters": {},
      "typeVersion": 4.5,
      "alwaysOutputData": true
    },
    {
      "id": "32bcef49-aab7-4a5a-be48-ecb18bd5e0f6",
      "name": "Check if Already Published",
      "type": "n8n-nodes-base.if",
      "position": [
        1580,
        1260
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2e90d3e7-7ef1-4292-9ea9-e69a21bd4fa1",
      "name": "Update Publish Status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2860,
        1000
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "c998be4e-824d-4fb6-a6f5-40b0e9a82e6d",
      "name": "Post to Wordpress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        2680,
        1280
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c1de08f6-3be7-4ba5-b615-8f6e1aad0f4a",
      "name": "Post to LinkedIn",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        2700,
        1520
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9503b253-6524-405f-9a1e-09e229fb7403",
      "name": "NNotify Telegram on Completion",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2380,
        1100
      ],
      "webhookId": "59b99b7d-d113-40ac-a590-aee1f7633120",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "154afc0d-da0c-4f31-8de8-ec50aa6ce8a1",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1200,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5f36f9aa-a96a-47eb-a39d-e3236ed8e49e",
      "name": "Copy of the RenderedBlog",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2660,
        1000
      ],
      "webhookId": "a4bff1ec-dc60-4ef2-8dec-3f9a555cfea0",
      "parameters": {},
      "typeVersion": 2.1
    }
  ],
  "pinData": {},
  "connections": {
    "c36de3dc-a262-4da6-af79-66882f2eb434": {
      "main": [
        [
          {
            "node": "4b7a842b-5d04-4804-882b-944e9e45eca0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Fields": {
      "main": [
        [
          {
            "node": "64b1a852-b8e6-4976-9353-c15ce46af8f5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Date Filter": {
      "main": [
        [
          {
            "node": "Limit Articles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4b7a842b-5d04-4804-882b-944e9e45eca0": {
      "main": [
        [
          {
            "node": "32bcef49-aab7-4a5a-be48-ecb18bd5e0f6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "41d04b54-e5fd-46f6-95df-766e2cf05486",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Status Update",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d2053eb0-e1a5-48d4-9337-d71d0c65deac": {
      "main": [
        [
          {
            "node": "Merge RSS Feeds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit Articles": {
      "main": [
        [
          {
            "node": "d87263a2-f61a-41c4-88a0-70029d8f6240",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c631fb1a-97c8-47cc-a23e-0c5e34d2989a": {
      "main": [
        [
          {
            "node": "Merge RSS Feeds",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "d87263a2-f61a-41c4-88a0-70029d8f6240": {
      "main": [
        [
          {
            "node": "4f499250-4ed1-47b7-ba25-4b95c2b778e8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge RSS Feeds": {
      "main": [
        [
          {
            "node": "Date Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Approval Webhook": {
      "main": [
        [
          {
            "node": "298beebf-63bc-470e-8aaa-c342629cb761",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "c631fb1a-97c8-47cc-a23e-0c5e34d2989a",
            "type": "main",
            "index": 0
          },
          {
            "node": "d2053eb0-e1a5-48d4-9337-d71d0c65deac",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "39bd3581-8a38-4357-ad2b-ebdf3fd13bd1": {
      "main": [
        [
          {
            "node": "6864a2e9-fb55-4294-a862-b1d7690644ce",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4f499250-4ed1-47b7-ba25-4b95c2b778e8": {
      "main": [
        [
          {
            "node": "5567afb2-4a3a-4902-bd8a-3ca7cdac0fe2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "39be1df4-5e78-46c7-b513-99b478b4095d": {
      "main": [
        [
          {
            "node": "Set Blog Creation Date",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "39be1df4-5e78-46c7-b513-99b478b4095d",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "4f9137eb-6425-403f-b260-92498147794d": {
      "main": [
        [
          {
            "node": "b85ed2c2-f488-406a-9b46-dd77a810fad3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f9ad375d-3e7a-4653-bc7f-c532c65cd5df": {
      "main": [
        [
          {
            "node": "da7b47dc-a5b2-4043-a2fe-9650b4a0386e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "deea3250-6a1c-49ea-8acf-3ca2b2910d07": {
      "main": [
        [
          {
            "node": "b85ed2c2-f488-406a-9b46-dd77a810fad3",
            "type": "main",
            "index": 0
          },
          {
            "node": "c1de08f6-3be7-4ba5-b615-8f6e1aad0f4a",
            "type": "main",
            "index": 0
          },
          {
            "node": "c998be4e-824d-4fb6-a6f5-40b0e9a82e6d",
            "type": "main",
            "index": 0
          },
          {
            "node": "5f36f9aa-a96a-47eb-a39d-e3236ed8e49e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5567afb2-4a3a-4902-bd8a-3ca7cdac0fe2": {
      "main": [
        [
          {
            "node": "f9ad375d-3e7a-4653-bc7f-c532c65cd5df",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9072a8b4-1261-4080-8e2a-d51445175292": {
      "main": [
        [
          {
            "node": "9503b253-6524-405f-9a1e-09e229fb7403",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "deea3250-6a1c-49ea-8acf-3ca2b2910d07",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "da7b47dc-a5b2-4043-a2fe-9650b4a0386e": {
      "main": [
        [
          {
            "node": "39be1df4-5e78-46c7-b513-99b478b4095d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Blog Creation Date": {
      "main": [
        [
          {
            "node": "Set Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b85ed2c2-f488-406a-9b46-dd77a810fad3": {
      "main": [
        [
          {
            "node": "9072a8b4-1261-4080-8e2a-d51445175292",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Status Update": {
      "main": [
        [
          {
            "node": "4b7a842b-5d04-4804-882b-944e9e45eca0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5f36f9aa-a96a-47eb-a39d-e3236ed8e49e": {
      "main": [
        [
          {
            "node": "2e90d3e7-7ef1-4292-9ea9-e69a21bd4fa1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6864a2e9-fb55-4294-a862-b1d7690644ce": {
      "main": [
        [
          {
            "node": "72ab9f93-0221-471d-b14a-340cd4807ba6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "64b1a852-b8e6-4976-9353-c15ce46af8f5": {
      "main": [
        [
          {
            "node": "39bd3581-8a38-4357-ad2b-ebdf3fd13bd1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "32bcef49-aab7-4a5a-be48-ecb18bd5e0f6": {
      "main": [
        [
          {
            "node": "4f9137eb-6425-403f-b260-92498147794d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "72ab9f93-0221-471d-b14a-340cd4807ba6": {
      "main": [
        [
          {
            "node": "65e1577f-975e-48f6-97f4-413114e20d46",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級 - 人工知能, マーケティング

有料ですか?

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

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

上級者向け、16ノード以上の複雑なワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34