AI駆動型Facebookページサポートチャットボット:自動返信とインテリジェントな顧客対応

上級

これはSupport Chatbot, AI Chatbot分野の自動化ワークフローで、32個のノードを含みます。主にIf, Set, Wait, Webhook, GoogleDocsToolなどのノードを使用。 GPT-4.1を使ったFacebook Messengerチャットボット:ヒューマンゲージ対応

前提条件
  • HTTP Webhookエンドポイント(n8nが自動生成)
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
  • Facebook Graph API認証情報
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "JYcvkULVcMN3xRmu",
  "meta": {
    "instanceId": "cb9a1e5321767b6316634728341237e564b2587ab15b74ca0a89eb02a53484d6",
    "templateCredsSetupCompleted": true
  },
  "name": "AI-Powered Facebook Page Support Chatbot: Auto Reply & Smart Customer Handling",
  "tags": [],
  "nodes": [
    {
      "id": "8fd8c105-3183-4b16-998c-bec0a66ef9d3",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -352,
        368
      ],
      "webhookId": "2e3dcee9-2346-42c5-9e55-787604c91d7e",
      "parameters": {},
      "notesInFlow": false,
      "retryOnFail": false,
      "typeVersion": 2,
      "alwaysOutputData": false
    },
    {
      "id": "fdf6fb02-7811-425f-b308-0b57f04ae3e6",
      "name": "Webhookへの返信",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        576,
        336
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "23d555f7-dd7a-495c-a6d4-f5323ac0126a",
      "name": "AIエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1120,
        624
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "ed206620-e550-4cfd-a23f-aaaec680d71d",
      "name": "思考",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "notes": "You are a friendly and intelligent customer support assistant for a business.\n\nYour job is to:\n\nUnderstand the user’s message carefully and respond in a way that shows you understand the question or issue.\n\nAutomatically reply in Bengali if the user writes in Bengali, and in English if the user writes in English.\n\nSound like a helpful human, not like a robot. Be clear, warm, and polite.\n\n🗣️ Tone Guide:\nUse simple, everyday language. Don’t use overly formal or robotic phrases.\nExample Bengali:\n\n“ধন্যবাদ আপনার প্রশ্নের জন্য! আমি দেখছি…”\n\n“এই বিষয়ে একটু বিস্তারিত বলবেন?”\nExample English:\n\n“Thanks for your message! Let me check that for you.”\n\n“Could you please give me a bit more detail?”\n\n❗ If you're unsure or can’t answer, say:\n\n“এই বিষয়টা একজন সহকারী দেখে দেবে।”\n\n“Let me forward this to a human assistant for better help.”\n\nNever guess or make up information. Keep replies short, helpful, and natural.",
      "position": [
        1200,
        848
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.1
    },
    {
      "id": "2c2792b4-c4d3-4d19-9cb1-968486e61b67",
      "name": "待機",
      "type": "n8n-nodes-base.wait",
      "position": [
        1648,
        624
      ],
      "webhookId": "214bd7aa-99f4-4123-9259-dca27d434246",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "5cd9578c-2619-4d28-9293-ce332d843b4b",
      "name": "AIエージェント1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        480,
        1024
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "7c26a106-2562-4705-adb1-9802ec8806cd",
      "name": "条件分岐",
      "type": "n8n-nodes-base.if",
      "position": [
        -16,
        784
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "ff62b18c-4770-4b2d-9c42-ef493a02d0a3",
      "name": "HTTP",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        1328,
        848
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "aa32f617-6a44-41dd-bb63-ad727385bf03",
      "name": "Google Docs",
      "type": "n8n-nodes-base.googleDocsTool",
      "position": [
        1456,
        848
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8d01dc1b-30a8-4ea0-8e73-fb913507d2e3",
      "name": "メモリ",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1072,
        848
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "c433f959-b495-4fc9-a695-cec427e4ea94",
      "name": "待機1",
      "type": "n8n-nodes-base.wait",
      "position": [
        784,
        1024
      ],
      "webhookId": "214bd7aa-99f4-4123-9259-dca27d434246",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c66511c7-db66-49e3-9304-98b5d45bb728",
      "name": "フィールド編集",
      "type": "n8n-nodes-base.set",
      "position": [
        1232,
        1024
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "ce53539d-f846-4fdc-b899-2a625af8ff31",
      "name": "フィールド編集1",
      "type": "n8n-nodes-base.set",
      "position": [
        1120,
        384
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "b89a5e6e-8e52-4072-937f-664e4f330e21",
      "name": "条件分岐2",
      "type": "n8n-nodes-base.if",
      "position": [
        768,
        512
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "6704b261-754e-4cce-9de2-e02456654d20",
      "name": "待機3",
      "type": "n8n-nodes-base.wait",
      "position": [
        1648,
        384
      ],
      "webhookId": "214bd7aa-99f4-4123-9259-dca27d434246",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "983dbe1e-b0f3-4e9f-ab13-ee3aab98ca20",
      "name": "管理者メッセージ",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1904,
        288
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "63009f02-5c12-4aca-8624-411ae7dd1660",
      "name": "ユーザーメッセージ",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1904,
        464
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "27149952-d3e1-4a40-b76f-9727063be7c2",
      "name": "管理者メッセージ1",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1904,
        1024
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f53eade6-0680-4344-ac53-03c44780b899",
      "name": "ユーザー返信メッセージ",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1904,
        624
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a108028e-1233-49d2-87f8-e387da054198",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -416,
        80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4e0146d7-e0c0-4d4f-86b4-b1b0f29e0450",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1872,
        160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2a621ce0-f8bc-4fcb-b882-32c768d1f403",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1872,
        944
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a0a7f878-2774-4ba6-9b94-a65f3079089b",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2016,
        432
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "63eaa3a4-a545-4978-b4d7-6190c4a4a370",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1872,
        608
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "947d05db-9937-45ed-8239-a6743be4011d",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        176,
        1008
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "395fbcf9-9248-4480-86e3-4e7385df3b75",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        496
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e2296442-2615-414c-b9fd-5b732a949e2e",
      "name": "付箋8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        912,
        608
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b617714f-8cfe-4802-8be5-4f191a9b1d2c",
      "name": "条件分岐3",
      "type": "n8n-nodes-base.if",
      "position": [
        -16,
        352
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "0b078ace-f67e-4fc4-896a-3cb0d17fda14",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        480,
        1216
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "a6310755-b471-4f6a-85b8-f08b9776f92c",
      "name": "テキスト分類",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        480,
        512
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "2d3e5185-b81b-47bc-840c-4fc9db6149ac",
      "name": "OpenAI Chat",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        960,
        848
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "afb09507-d8d3-4400-a299-516c9eff4abc",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2080,
        80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "callerPolicy": "workflowsFromSameOwner",
    "availableInMCP": false,
    "executionOrder": "v1"
  },
  "versionId": "b105f592-5f3f-49a0-abc1-7e1d9cdc3fae",
  "connections": {
    "7c26a106-2562-4705-adb1-9802ec8806cd": {
      "main": [
        [
          {
            "node": "a6310755-b471-4f6a-85b8-f08b9776f92c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "5cd9578c-2619-4d28-9293-ce332d843b4b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b89a5e6e-8e52-4072-937f-664e4f330e21": {
      "main": [
        [
          {
            "node": "ce53539d-f846-4fdc-b899-2a625af8ff31",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "23d555f7-dd7a-495c-a6d4-f5323ac0126a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b617714f-8cfe-4802-8be5-4f191a9b1d2c": {
      "main": [
        [
          {
            "node": "fdf6fb02-7811-425f-b308-0b57f04ae3e6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff62b18c-4770-4b2d-9c42-ef493a02d0a3": {
      "ai_tool": [
        [
          {
            "node": "23d555f7-dd7a-495c-a6d4-f5323ac0126a",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "2c2792b4-c4d3-4d19-9cb1-968486e61b67": {
      "main": [
        [
          {
            "node": "f53eade6-0680-4344-ac53-03c44780b899",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ed206620-e550-4cfd-a23f-aaaec680d71d": {
      "ai_tool": [
        [
          {
            "node": "23d555f7-dd7a-495c-a6d4-f5323ac0126a",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "c433f959-b495-4fc9-a695-cec427e4ea94": {
      "main": [
        [
          {
            "node": "c66511c7-db66-49e3-9304-98b5d45bb728",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6704b261-754e-4cce-9de2-e02456654d20": {
      "main": [
        [
          {
            "node": "63009f02-5c12-4aca-8624-411ae7dd1660",
            "type": "main",
            "index": 0
          },
          {
            "node": "983dbe1e-b0f3-4e9f-ab13-ee3aab98ca20",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8d01dc1b-30a8-4ea0-8e73-fb913507d2e3": {
      "ai_memory": [
        [
          {
            "node": "23d555f7-dd7a-495c-a6d4-f5323ac0126a",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "8fd8c105-3183-4b16-998c-bec0a66ef9d3": {
      "main": [
        [
          {
            "node": "b617714f-8cfe-4802-8be5-4f191a9b1d2c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "7c26a106-2562-4705-adb1-9802ec8806cd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "23d555f7-dd7a-495c-a6d4-f5323ac0126a": {
      "main": [
        [
          {
            "node": "2c2792b4-c4d3-4d19-9cb1-968486e61b67",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5cd9578c-2619-4d28-9293-ce332d843b4b": {
      "main": [
        [
          {
            "node": "c433f959-b495-4fc9-a695-cec427e4ea94",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c66511c7-db66-49e3-9304-98b5d45bb728": {
      "main": [
        [
          {
            "node": "27149952-d3e1-4a40-b76f-9727063be7c2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "aa32f617-6a44-41dd-bb63-ad727385bf03": {
      "ai_tool": [
        [
          {
            "node": "23d555f7-dd7a-495c-a6d4-f5323ac0126a",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "2d3e5185-b81b-47bc-840c-4fc9db6149ac": {
      "ai_languageModel": [
        [
          {
            "node": "23d555f7-dd7a-495c-a6d4-f5323ac0126a",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "ce53539d-f846-4fdc-b899-2a625af8ff31": {
      "main": [
        [
          {
            "node": "6704b261-754e-4cce-9de2-e02456654d20",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a6310755-b471-4f6a-85b8-f08b9776f92c": {
      "main": [
        [
          {
            "node": "b89a5e6e-8e52-4072-937f-664e4f330e21",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0b078ace-f67e-4fc4-896a-3cb0d17fda14": {
      "ai_languageModel": [
        [
          {
            "node": "5cd9578c-2619-4d28-9293-ce332d843b4b",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "fdf6fb02-7811-425f-b308-0b57f04ae3e6": {
      "main": [
        []
      ]
    },
    "f53eade6-0680-4344-ac53-03c44780b899": {
      "main": [
        []
      ]
    }
  }
}
よくある質問

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

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

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

上級 - サポートチャットボット, AIチャットボット

有料ですか?

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

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

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

作成者
SpaGreen Creative

SpaGreen Creative

@spagreen

SpaGreen Creative is a leading software company specializing in SaaS solutions, AI automation, and Laravel/Vue.js development. With 800+ eCommerce platforms and 8,000+ global clients, we deliver powerful tools for OTT, CRM, ERP, and WhatsApp marketing. We combine innovation and tech to build scalable digital products.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34