AI 検索と SerpAPI を使ってニュースを自動のにソーシャルメディアに投稿する
これはSocial Media, AI RAG分野の自動化ワークフローで、20個のノードを含みます。主にIf, Set, Wait, Twitter, Telegramなどのノードを使用。 AI 検索と SerpAPI を使ってニュースを Telegram、Facebook、Twitter、WordPress に自動投稿する
- •Twitter API認証情報
- •Telegram Bot Token
- •ターゲットAPIの認証情報が必要な場合あり
- •Facebook Graph API認証情報
- •OpenAI API Key
使用ノード (20)
カテゴリー
{
"meta": {
"instanceId": "cb9a1e5321767b6316634728341237e564b2587ab15b74ca0a89eb02a53484d6",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "29a623fa-b663-4b10-8ac9-ceb975393cfa",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"disabled": true,
"position": [
-448,
672
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "dca99847-4ba2-4e67-8e84-c072234b6c4c",
"name": "ツイートテキスト作成",
"type": "n8n-nodes-base.twitter",
"position": [
-128,
1536
],
"parameters": {},
"typeVersion": 2
},
{
"id": "fcc2b27c-03e8-4136-ab2c-4cd6264f3649",
"name": "WordPress投稿作成",
"type": "n8n-nodes-base.wordpress",
"position": [
-128,
1392
],
"parameters": {},
"typeVersion": 1
},
{
"id": "572c8ecb-8bc9-42a0-b64a-2e25cc02858b",
"name": "Facebook投稿",
"type": "n8n-nodes-base.facebookGraphApi",
"position": [
-128,
1088
],
"parameters": {},
"typeVersion": 1
},
{
"id": "cc748482-234b-4f12-b6c0-f168a671108a",
"name": "2秒待機",
"type": "n8n-nodes-base.wait",
"position": [
-336,
1312
],
"webhookId": "829ccbe5-ea02-4128-bc8c-43897bca1855",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "9efa0256-ef49-4d91-a42a-3f37e6783d6f",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"disabled": true,
"position": [
-1120,
1088
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "635e17cd-abb2-4822-babd-6112881d2ddb",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"disabled": true,
"position": [
-1664,
1152
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "c8383581-a491-49c1-a8a3-daf309f8b756",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"disabled": true,
"position": [
-2704,
1136
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f47a2e80-bbe1-4494-83d0-f490f0d12da5",
"name": "何もしない",
"type": "n8n-nodes-base.noOp",
"position": [
-336,
1536
],
"parameters": {},
"typeVersion": 1
},
{
"id": "736dd7c5-413d-4dd1-85e7-145bea70fe76",
"name": "Googleドキュメントで文書取得",
"type": "n8n-nodes-base.googleDocsTool",
"position": [
-704,
1776
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b9788398-8139-441a-8a4c-51b235cc1f0e",
"name": "HTTPリクエスト",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-704,
1664
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "e34fedaa-df5b-4a89-98fc-d93b6487154e",
"name": "SerpAPI",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
-832,
1664
],
"parameters": {},
"typeVersion": 1
},
{
"id": "41bb1075-3dac-4f63-b1ff-d0dfc6a3a437",
"name": "Simple Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-1088,
1664
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "39e597f6-ee5f-4601-9808-37e1d50a6c05",
"name": "思考",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
-960,
1664
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "c1d36fdd-3728-4782-bb69-1e61530a4582",
"name": "テキストメッセージ送信",
"type": "n8n-nodes-base.telegram",
"position": [
-128,
1232
],
"webhookId": "d60206f7-b55c-41d9-bb2f-04a43dd9dc93",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "fca41ba4-b080-43af-ab95-12f2cfb39d83",
"name": "OpenAIチャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1088,
1776
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "58bafa52-a791-48ba-9fd2-c9f02372e5a6",
"name": "条件分岐1",
"type": "n8n-nodes-base.if",
"position": [
-576,
1440
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "b427df2c-49b5-40e8-9a85-178a9a24f7e7",
"name": "AIエージェント1",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-976,
1440
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "65c0018f-4426-4309-a400-56814eeb777d",
"name": "フィールド編集1",
"type": "n8n-nodes-base.set",
"position": [
-1280,
1440
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "a6aa5a3d-5c4c-41b2-9b9e-f0ef5e21d5d9",
"name": "スケジュール1",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1504,
1440
],
"parameters": {},
"typeVersion": 1.2
}
],
"pinData": {},
"connections": {
"58bafa52-a791-48ba-9fd2-c9f02372e5a6": {
"main": [
[
{
"node": "cc748482-234b-4f12-b6c0-f168a671108a",
"type": "main",
"index": 0
}
],
[
{
"node": "f47a2e80-bbe1-4494-83d0-f490f0d12da5",
"type": "main",
"index": 0
}
]
]
},
"39e597f6-ee5f-4601-9808-37e1d50a6c05": {
"ai_tool": [
[
{
"node": "b427df2c-49b5-40e8-9a85-178a9a24f7e7",
"type": "ai_tool",
"index": 0
}
]
]
},
"e34fedaa-df5b-4a89-98fc-d93b6487154e": {
"ai_tool": [
[
{
"node": "b427df2c-49b5-40e8-9a85-178a9a24f7e7",
"type": "ai_tool",
"index": 0
}
]
]
},
"cc748482-234b-4f12-b6c0-f168a671108a": {
"main": [
[
{
"node": "dca99847-4ba2-4e67-8e84-c072234b6c4c",
"type": "main",
"index": 0
},
{
"node": "fcc2b27c-03e8-4136-ab2c-4cd6264f3649",
"type": "main",
"index": 0
},
{
"node": "572c8ecb-8bc9-42a0-b64a-2e25cc02858b",
"type": "main",
"index": 0
},
{
"node": "c1d36fdd-3728-4782-bb69-1e61530a4582",
"type": "main",
"index": 0
}
]
]
},
"b427df2c-49b5-40e8-9a85-178a9a24f7e7": {
"main": [
[
{
"node": "58bafa52-a791-48ba-9fd2-c9f02372e5a6",
"type": "main",
"index": 0
}
]
]
},
"a6aa5a3d-5c4c-41b2-9b9e-f0ef5e21d5d9": {
"main": [
[
{
"node": "65c0018f-4426-4309-a400-56814eeb777d",
"type": "main",
"index": 0
}
]
]
},
"65c0018f-4426-4309-a400-56814eeb777d": {
"main": [
[
{
"node": "b427df2c-49b5-40e8-9a85-178a9a24f7e7",
"type": "main",
"index": 0
}
]
]
},
"b9788398-8139-441a-8a4c-51b235cc1f0e": {
"ai_tool": [
[
{
"node": "b427df2c-49b5-40e8-9a85-178a9a24f7e7",
"type": "ai_tool",
"index": 0
}
]
]
},
"41bb1075-3dac-4f63-b1ff-d0dfc6a3a437": {
"ai_memory": [
[
{
"node": "b427df2c-49b5-40e8-9a85-178a9a24f7e7",
"type": "ai_memory",
"index": 0
}
]
]
},
"fca41ba4-b080-43af-ab95-12f2cfb39d83": {
"ai_languageModel": [
[
{
"node": "b427df2c-49b5-40e8-9a85-178a9a24f7e7",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"736dd7c5-413d-4dd1-85e7-145bea70fe76": {
"ai_tool": [
[
{
"node": "b427df2c-49b5-40e8-9a85-178a9a24f7e7",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - ソーシャルメディア, AI RAG検索拡張
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
DevCode Journey
@devcodejourneyI build intelligent systems that automate tasks, streamline workflows, and enhance user experiences using tools like n8n, AI chatbots, and modern automation platforms. With a passion for solving real-world problems through smart technology, I create custom solutions that help individuals and businesses save time, scale faster, and work smarter. Whether it's integrating APIs, building no-code/low-code automations, or developing conversational AI, I'm always exploring the edge of what's possible.
このワークフローを共有