🤖 Facebook MCP AI アシスタント – GPT-4o を使ってコメントを読み、返信、管理

上級

これはAI, Marketing分野の自動化ワークフローで、17個のノードを含みます。主にSet, Agent, McpTrigger, ChatTrigger, LmChatOpenAiなどのノードを使用、AI技術を活用したスマート自動化を実現。 GPT-4oとLangChainを使った自動Facebookコメント管理

前提条件
  • OpenAI API Key
  • ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "RzYuqoepxixCfKzi",
  "meta": {
    "instanceId": "b79da95dcb1b69eebc3470f6fd833d7e53e389c229c716386bdb8e7c291ad2b9",
    "templateCredsSetupCompleted": true
  },
  "name": "🤖 Facebook MCP AI Agent – Read, Reply & Manage Comments with GPT-4o",
  "tags": [
    {
      "id": "gopnerJXNBoZBzMX",
      "name": "Fluxo a Venda",
      "createdAt": "2025-05-06T11:24:14.834Z",
      "updatedAt": "2025-05-06T11:24:14.834Z"
    }
  ],
  "nodes": [
    {
      "id": "7b135530-930b-4934-b51b-ba122a4a96de",
      "name": "チャットメッセージ受信時",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -160,
        360
      ],
      "webhookId": "02e0ef01-c4c3-4907-a0cd-02dd35fd3767",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "92670dfa-9ee0-439c-ba0c-6e0654d09221",
      "name": "AIエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        340,
        260
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "c9d4143f-9999-4508-aaf1-1bfc73d2e151",
      "name": "シンプルメモリ",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        400,
        420
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "4bc247c3-158e-4ac5-87a0-788b7e4c409b",
      "name": "🗂️ MCP Facebook",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        1120,
        140
      ],
      "webhookId": "6310da96-934d-4702-addc-b8964c1ed925",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "09472a7f-1837-4a2c-afff-fad1af5be1d3",
      "name": "MCP Facebook",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        740,
        420
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "12e55d12-b4bb-40e1-81be-b81d054b734e",
      "name": "メディア検索",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        960,
        380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "847411aa-36f2-4b45-99d7-434f1c31e0c2",
      "name": "Facebook マッピング",
      "type": "n8n-nodes-base.set",
      "position": [
        60,
        360
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "cc4b97bf-0d87-487a-8fa6-b3de88df03cb",
      "name": "メディア詳細",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1100,
        380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c69f529d-cc97-436a-b4fa-08538cfcf306",
      "name": "コメント検索",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1240,
        380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "40990183-0945-42d2-8239-e938105c90b5",
      "name": "コメント返信",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1380,
        380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1c7f4401-b266-4b15-bc6c-05f6f12f1681",
      "name": "ダイレクトメッセージ送信",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1520,
        380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "55ddf8c6-d183-4207-8606-b1c22fea492f",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "17dbdf19-f4c1-4c7d-a99e-949a864fc45e",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0b823254-01c2-4a7f-8193-086dc68aefba",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4d07313d-220c-4e4d-ba55-aacbb561353b",
      "name": "チャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        280,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "0faba95f-b99e-4adb-8397-8f9f7f2194a9",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "16a71afb-7d4f-4eec-a784-31f5bb8ba2c9",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2be54b97-2a5e-4fe5-ade2-4f9541b6ea24",
  "connections": {
    "4d07313d-220c-4e4d-ba55-aacbb561353b": {
      "ai_languageModel": [
        [
          {
            "node": "92670dfa-9ee0-439c-ba0c-6e0654d09221",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "09472a7f-1837-4a2c-afff-fad1af5be1d3": {
      "ai_tool": [
        [
          {
            "node": "92670dfa-9ee0-439c-ba0c-6e0654d09221",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "12e55d12-b4bb-40e1-81be-b81d054b734e": {
      "ai_tool": [
        [
          {
            "node": "4bc247c3-158e-4ac5-87a0-788b7e4c409b",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "cc4b97bf-0d87-487a-8fa6-b3de88df03cb": {
      "ai_tool": [
        [
          {
            "node": "4bc247c3-158e-4ac5-87a0-788b7e4c409b",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "40990183-0945-42d2-8239-e938105c90b5": {
      "ai_tool": [
        [
          {
            "node": "4bc247c3-158e-4ac5-87a0-788b7e4c409b",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "c9d4143f-9999-4508-aaf1-1bfc73d2e151": {
      "ai_memory": [
        [
          {
            "node": "92670dfa-9ee0-439c-ba0c-6e0654d09221",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "c69f529d-cc97-436a-b4fa-08538cfcf306": {
      "ai_tool": [
        [
          {
            "node": "4bc247c3-158e-4ac5-87a0-788b7e4c409b",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "847411aa-36f2-4b45-99d7-434f1c31e0c2": {
      "main": [
        [
          {
            "node": "92670dfa-9ee0-439c-ba0c-6e0654d09221",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1c7f4401-b266-4b15-bc6c-05f6f12f1681": {
      "ai_tool": [
        [
          {
            "node": "4bc247c3-158e-4ac5-87a0-788b7e4c409b",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "7b135530-930b-4934-b51b-ba122a4a96de": {
      "main": [
        [
          {
            "node": "847411aa-36f2-4b45-99d7-434f1c31e0c2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

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

有料ですか?

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

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

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

作成者
Amanda Benks

Amanda Benks

@amanda

Hi loves! I've been making workflows for n8n for two years, and I hope you like my flows <3

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34