🤖 Facebook MCP AI 助手 – 使用 GPT-4o 读取、回复和管理评论
高级
这是一个AI, Marketing领域的自动化工作流,包含 17 个节点。主要使用 Set, Agent, McpTrigger, ChatTrigger, LmChatOpenAi 等节点,结合人工智能技术实现智能自动化。 使用GPT-4o和LangChain的自动化Facebook评论管理
前置要求
- •OpenAI API Key
- •可能需要目标 API 的认证凭证
使用的节点 (17)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "RzYuqoepxixCfKzi",
"meta": {
"instanceId": "b79da95dcb1b69eebc3470f6fd833d7e53e389c229c716386bdb8e7c291ad2b9",
"templateCredsSetupCompleted": true
},
"name": "🤖 Facebook MCP AI 助手 – 使用 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": {
"Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"MCP Facebook": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Search Media": {
"ai_tool": [
[
{
"node": "🗂️ MCP Facebook",
"type": "ai_tool",
"index": 0
}
]
]
},
"Media Details": {
"ai_tool": [
[
{
"node": "🗂️ MCP Facebook",
"type": "ai_tool",
"index": 0
}
]
]
},
"Reply Comment": {
"ai_tool": [
[
{
"node": "🗂️ MCP Facebook",
"type": "ai_tool",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Search Comment": {
"ai_tool": [
[
{
"node": "🗂️ MCP Facebook",
"type": "ai_tool",
"index": 0
}
]
]
},
"Facebook Mapping": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Send Direct Message": {
"ai_tool": [
[
{
"node": "🗂️ MCP Facebook",
"type": "ai_tool",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "Facebook Mapping",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Instagram MCP服务器
Instagram MCP AI代理 - 使用GPT-4o读取、回复和管理评论
Set
Agent
Mcp Trigger
+6
17 节点Amanda Benks
人工智能
MCP Supabase代理
MCP Supabase代理 - 使用AI管理数据库
Supabase Tool
Agent
Mcp Trigger
+5
16 节点Amanda Benks
工程
[模板] AI宠物店 v8
🐶 AI宠物店助手 - 集成GPT-4o、Google日历和WhatsApp/Instagram/Facebook
If
N8n
Set
+38
244 节点Amanda Benks
销售
咨询AI关于Meta广告 - 询问Facebook广告洞察问题
咨询AI关于Meta广告 - 询问Facebook广告洞察问题
Set
Filter
Telegram
+11
21 节点Solomon
人工智能
创建品牌化AI驱动的网站聊天机器人
创建品牌化AI驱动的网站聊天机器人
If
Set
Code
+12
24 节点Wayne Simpson
产品
Mistral转录
使用Google日历和自定义函数构建MCP服务器
Set
Switch
Debug Helper
+11
32 节点Solomon
构建模块
工作流信息
难度等级
高级
节点数量17
分类2
节点类型9
作者
Amanda Benks
@amandaHi loves! I've been making workflows for n8n for two years, and I hope you like my flows <3
外部链接
在 n8n.io 查看 →
分享此工作流