8
n8n Françaisamn8n.com

đŸ€– Assistant AI MCP Facebook – Lecture, rĂ©ponse et gestion des commentaires avec GPT-4o

Avancé

Ceci est unAI, Marketingworkflow d'automatisation du domainecontenant 17 nƓuds.Utilise principalement des nƓuds comme Set, Agent, McpTrigger, ChatTrigger, LmChatOpenAi, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Gestion automatisĂ©e des commentaires Facebook avec GPT-4o et LangChain

Prérequis
  • ‱ClĂ© API OpenAI
  • ‱Peut nĂ©cessiter les informations d'identification d'authentification de l'API cible
Aperçu du workflow
Visualisation des connexions entre les nƓuds, avec support du zoom et du dĂ©placement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "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": "When chat message received",
      "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": "Agent IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        340,
        260
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "c9d4143f-9999-4508-aaf1-1bfc73d2e151",
      "name": "Mémoire simple",
      "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": "Rechercher un média",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        960,
        380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "847411aa-36f2-4b45-99d7-434f1c31e0c2",
      "name": "Facebook Mapping",
      "type": "n8n-nodes-base.set",
      "position": [
        60,
        360
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "cc4b97bf-0d87-487a-8fa6-b3de88df03cb",
      "name": "Détails du média",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1100,
        380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c69f529d-cc97-436a-b4fa-08538cfcf306",
      "name": "Rechercher un commentaire",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1240,
        380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "40990183-0945-42d2-8239-e938105c90b5",
      "name": "Répondre au commentaire",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1380,
        380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1c7f4401-b266-4b15-bc6c-05f6f12f1681",
      "name": "Envoyer un message direct",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1520,
        380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "55ddf8c6-d183-4207-8606-b1c22fea492f",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "17dbdf19-f4c1-4c7d-a99e-949a864fc45e",
      "name": "Note adhésive 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0b823254-01c2-4a7f-8193-086dc68aefba",
      "name": "Note adhésive 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4d07313d-220c-4e4d-ba55-aacbb561353b",
      "name": "ModĂšle de chat",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        280,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "0faba95f-b99e-4adb-8397-8f9f7f2194a9",
      "name": "Note adhésive 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "16a71afb-7d4f-4eec-a784-31f5bb8ba2c9",
      "name": "Note adhésive 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
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramÚtres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Avancé - Intelligence Artificielle, Marketing

Est-ce payant ?

Ce workflow est entiĂšrement gratuit et peut ĂȘtre utilisĂ© directement. Veuillez noter que les services tiers utilisĂ©s dans le workflow (comme l'API OpenAI) peuvent nĂ©cessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nƓuds17
Catégorie2
Types de nƓuds9
Description de la difficulté

AdaptĂ© aux utilisateurs avancĂ©s, avec des workflows complexes contenant 16+ nƓuds

Auteur
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

Liens externes
Voir sur n8n.io →

Partager ce workflow

Catégories

Catégories: 34