8
n8n 中文网amn8n.com

AI 代理餐厅 [模板]

高级

这是一个Other, AI领域的自动化工作流,包含 239 个节点。主要使用 If, N8n, Set, Code, Wait 等节点,结合人工智能技术实现智能自动化。 🤖 WhatsApp、Instagram 和 Messenger 的 AI 餐厅助手

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)
  • Supabase URL 和 API Key
  • Google Drive API 凭证
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
  • PostgreSQL 数据库连接信息
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "8G1HLmgwWqKGDJc9",
  "meta": {
    "instanceId": "6a52f06a38696cfa8d3a5b70f84891fab02c428a5c2d448dcef39b1f17adf12b"
  },
  "name": "AI 代理餐厅 [模板]",
  "tags": [],
  "nodes": [
    {
      "id": "9f6e01ca-2b49-4a4c-8f6f-8dad88a0b777",
      "name": "便签 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2300,
        380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a1c8cc8e-8b91-4ec4-acb3-6a663e9ab69d",
      "name": "变量",
      "type": "n8n-nodes-base.set",
      "position": [
        2360,
        620
      ],
      "parameters": {},
      "typeVersion": 3.3
    },
    {
      "id": "332a5298-6b17-462a-a919-f9e07a9caa40",
      "name": "日期和时间",
      "type": "n8n-nodes-base.code",
      "position": [
        280,
        500
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "889184fd-c14c-43f3-a5ab-6a2f2a578432",
      "name": "转换图片",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        620,
        720
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "588f841e-8429-4b1d-817a-b1e8eb896663",
      "name": "地图",
      "type": "n8n-nodes-base.set",
      "position": [
        760,
        480
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "69ce9853-94d5-4add-92c5-a92571092200",
      "name": "地图1",
      "type": "n8n-nodes-base.set",
      "position": [
        960,
        1280
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3c44786a-f33b-4aa4-8457-8ca1523278c4",
      "name": "地图2",
      "type": "n8n-nodes-base.set",
      "position": [
        900,
        720
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "2038f534-cc5f-4f41-9b4d-46ebaf790623",
      "name": "音频转录",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        820,
        1280
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "20e4f88b-4afa-4483-a587-e7caa83b283e",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3160,
        380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3279bc11-9bbc-4a0d-9b67-165fc30571f6",
      "name": "便签14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2300,
        960
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7afde04d-aff1-4e53-9191-c4cc002e1f51",
      "name": "消息类型",
      "type": "n8n-nodes-base.switch",
      "position": [
        100,
        1000
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 3
    },
    {
      "id": "f18c214b-bc1e-4753-8cfe-fcbb1e8ecd74",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        3620,
        500
      ],
      "webhookId": "61f6a178-fc48-439e-9585-d7cea564fd5b",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "340d9e3b-314b-4b05-8dbc-c3a8248410a1",
      "name": "时间计算",
      "type": "n8n-nodes-base.set",
      "position": [
        3900,
        500
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "87f67078-2612-4950-aa28-ed90ccb4c90b",
      "name": "JSON历史1",
      "type": "n8n-nodes-base.code",
      "position": [
        2840,
        1220
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "45307cb5-26ab-4ed9-8c0a-2aff5a59d31d",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "50a15265-55c7-486f-9760-c0009a8e4a68",
      "name": "提示词",
      "type": "n8n-nodes-base.set",
      "position": [
        3200,
        820
      ],
      "parameters": {},
      "typeVersion": 3.3,
      "alwaysOutputData": true
    },
    {
      "id": "20e1c94d-7627-40ec-8e49-005d9f89cec3",
      "name": "转换 PDF",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        620,
        1660
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "84ffdf57-99b0-4e21-b428-65961ac513dc",
      "name": "提取 PDF",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        760,
        1660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "19a81cdd-def9-41cd-9d3e-ad2013698fa3",
      "name": "地图5",
      "type": "n8n-nodes-base.set",
      "position": [
        900,
        1660
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "8d3fa33a-ec19-4ee4-a634-ad298edbc67c",
      "name": "计算器",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        4060,
        1500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d201f6e2-2d14-468f-9390-059330bc1024",
      "name": "AI 模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3640,
        780
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f9396d23-1a47-42c0-ab78-1c232d74c84d",
      "name": "OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3940,
        940
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f5e909bc-0dfd-4b32-9446-3b84acf366c7",
      "name": "分段",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        4300,
        840
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9a58d1c8-6296-44e3-8aa5-b0ec37e6c0dc",
      "name": "1,2秒",
      "type": "n8n-nodes-base.wait",
      "position": [
        5040,
        940
      ],
      "webhookId": "a22bed12-9af7-4e4c-ac1b-3c7fa5fc19ef",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "9998a7aa-0e37-4dd4-aec8-85de828115b8",
      "name": "遍历项目1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        4480,
        900
      ],
      "parameters": {},
      "typeVersion": 3,
      "alwaysOutputData": true
    },
    {
      "id": "bcb6639d-2499-43a1-b989-268a369e25f1",
      "name": "无操作2",
      "type": "n8n-nodes-base.noOp",
      "position": [
        4300,
        980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "956f3a09-be1a-47b0-9b84-27dd23d9bc02",
      "name": "输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        4080,
        940
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "5935f012-f371-4203-866a-7ab064055a3a",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4220,
        680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "536138c9-87ea-42a1-90f7-0f098a4a8cee",
      "name": "JSON历史",
      "type": "n8n-nodes-base.code",
      "position": [
        4400,
        500
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6ea74834-7cf4-4399-97a6-e7e81b95a108",
      "name": "重置过滤器",
      "type": "n8n-nodes-base.filter",
      "position": [
        4260,
        500
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "44c730a3-22cd-46fa-90eb-37bfd1e8f0f4",
      "name": "JSON历史2",
      "type": "n8n-nodes-base.code",
      "position": [
        3340,
        500
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "3845fd7b-fc26-47c1-9526-36c531cdc186",
      "name": "干扰",
      "type": "n8n-nodes-base.filter",
      "position": [
        4040,
        500
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "72b19179-74cf-49ea-a565-5fc9cd7c4d0b",
      "name": "解锁 AI",
      "type": "n8n-nodes-base.if",
      "position": [
        2500,
        1200
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "de86b99b-4d4b-403c-a8b6-96e493e0ba1b",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "dcc9d5ab-a82d-4c43-aaf1-efe40ae58134",
      "name": "锁定 AI",
      "type": "n8n-nodes-base.supabase",
      "position": [
        2500,
        1060
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "485afa76-03a3-4d1a-84ff-e64f31f85299",
      "name": "解锁 AI",
      "type": "n8n-nodes-base.supabase",
      "position": [
        2840,
        1060
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dedaefe8-0f44-4399-8f31-c3e199d28d6d",
      "name": "保存历史1",
      "type": "n8n-nodes-base.supabase",
      "position": [
        2980,
        1220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "653a2e6e-9d5b-4626-b417-954d512f2afe",
      "name": "添加超时",
      "type": "n8n-nodes-base.supabase",
      "position": [
        3480,
        500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "47924a3b-2210-4c77-914a-b4f2a739c537",
      "name": "查找超时",
      "type": "n8n-nodes-base.supabase",
      "position": [
        3760,
        500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "041344d1-2cc1-4c7b-91aa-d80e31967d8a",
      "name": "保存历史",
      "type": "n8n-nodes-base.supabase",
      "position": [
        4540,
        500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d260bbc3-6385-4d80-bfc9-c1f09f11ee30",
      "name": "Postgres 内存",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "position": [
        3300,
        1060
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "3e6efb2b-0e0c-4384-b65e-e3c69918f7f2",
      "name": "WH Asaas",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1220,
        2680
      ],
      "webhookId": "9a671ae3-e425-458e-9280-bfdcbe5f7cef",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "31ede119-05a9-4d04-8484-cb85ab1c06d5",
      "name": "Asaas 响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2060,
        2600
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "3c2f16e1-38ac-46e9-9aa5-dd4b0f69ebaa",
      "name": "获取消费者",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        3700,
        1500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "25136af2-4609-463a-ac17-14ff40cbe1bc",
      "name": "更新消费者",
      "type": "n8n-nodes-base.supabaseTool",
      "disabled": true,
      "position": [
        3820,
        1500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "799e944f-8880-4f4a-8089-c3b81d860cb9",
      "name": "创建客户",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        1640,
        2680
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d443bf39-c127-4105-94fe-bf55cd9ad047",
      "name": "创建账单",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        1780,
        2600
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "86c13d6b-7573-4c73-a739-544d28f499d2",
      "name": "添加链接",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1920,
        2600
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5d4c8ed1-a629-4adc-9baf-e82e6017a9d8",
      "name": "电话 ID",
      "type": "@splainez/n8n-nodes-phonenumber-parser.phoneNumberParser",
      "position": [
        1500,
        2660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fd704aaa-b1a9-4c52-94c8-0348a0acdbf9",
      "name": "便利贴5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1180,
        2580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1ab810a0-ca5c-4713-8267-1620c685dffb",
      "name": "无数据",
      "type": "n8n-nodes-base.if",
      "position": [
        1360,
        2680
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2777316d-5873-47b0-90e8-fa473d11a546",
      "name": "Asaas 错误",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1500,
        2760
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "36d64f71-ecdc-40e9-8868-3e5e52b402b5",
      "name": "Asaas 错误1",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1780,
        2760
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "57725415-9a74-4807-89c5-ba1aeed2b0dd",
      "name": "Asaas 错误2",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1920,
        2760
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "5e1bbae9-1d8a-40fe-9b7e-5c66d5883ec9",
      "name": "检查 CPF",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        4060,
        1360
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "a85e65fd-1652-4695-997b-55f4b624a5b2",
      "name": "开始",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -140,
        500
      ],
      "webhookId": "e071510e-4108-408a-9de1-a6fdc3fda03b",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4abad2e4-c91d-4158-bd28-358e19be2461",
      "name": "更新数据",
      "type": "n8n-nodes-base.supabaseTool",
      "disabled": true,
      "position": [
        3940,
        1500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3173ba80-7c52-4e31-b83e-a0bf599c1f2c",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f02c4a11-5360-4978-aaa8-f76d4dd8762c",
      "name": "Instagram 图片",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        760,
        880
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "2cb414c2-054a-4483-8537-00fdfb6a4337",
      "name": "WhatsApp 图片",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        760,
        720
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "75c7e443-9ea0-4236-a664-7236095153d3",
      "name": "地图6",
      "type": "n8n-nodes-base.set",
      "position": [
        900,
        880
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "51a46d51-aae8-48c4-a5c5-f045ab277ab0",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        1060
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1b86e89f-a860-41c9-b4cc-7f9c02e416fa",
      "name": "转换 WhatsApp 文件",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        680,
        1420
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "9882ce9b-c273-4522-bf92-c0e39c6644bb",
      "name": "便签17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        1580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7d340711-0fd8-47aa-aa37-655ae434366b",
      "name": "添加响应",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1140,
        700
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2d5f432a-a3e4-4b96-95fc-c68eb7056244",
      "name": "便签18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        800
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "029343c6-6856-4463-87a1-c09cefc59ca7",
      "name": "过滤 WhatsApp",
      "type": "n8n-nodes-base.filter",
      "position": [
        1360,
        800
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "14583a83-7f42-4def-b81c-4d564f23b97a",
      "name": "回复 Instagram 消息",
      "type": "n8n-nodes-base.if",
      "position": [
        1500,
        620
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a5d986e7-20cf-482e-bbce-12aa8e379df4",
      "name": "回复 WhatsApp 消息",
      "type": "n8n-nodes-base.if",
      "position": [
        1500,
        800
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "e99a60d0-b84d-4146-9433-c32d5c80fada",
      "name": "固定凭据",
      "type": "n8n-nodes-base.set",
      "position": [
        140,
        500
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "25172917-c4e3-4148-bb70-2bf094a6fffe",
      "name": "获取 Instagram 回复",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1820,
        480
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "48e9047a-4694-4c8f-95a5-dda28708e5df",
      "name": "WhatsApp 消息标记",
      "type": "n8n-nodes-base.set",
      "position": [
        1660,
        880
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "847b6dd2-4ca3-4fa6-821c-333d530432f9",
      "name": "无标记",
      "type": "n8n-nodes-base.set",
      "position": [
        1660,
        740
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9ad0741f-f139-49ae-9e8d-b2f717055b5f",
      "name": "Instagram 消息标记",
      "type": "n8n-nodes-base.set",
      "position": [
        1980,
        480
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "95085869-84a1-486b-bf3a-c8432617d5a5",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "00fbdacb-a0b5-4818-97e1-f286b608a88d",
      "name": "精炼响应",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2160,
        740
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "90a415be-d82b-4874-8018-e24b44ac0d72",
      "name": "过滤 Instagram 和 Facebook",
      "type": "n8n-nodes-base.filter",
      "position": [
        1360,
        620
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2c187272-1368-4ec7-8a05-fded00b26aa9",
      "name": "获取 Facebook 回复",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1820,
        620
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b0804da9-155c-43a4-b6d2-52bea8cd37ef",
      "name": "频道",
      "type": "n8n-nodes-base.switch",
      "position": [
        1660,
        560
      ],
      "parameters": {},
      "typeVersion": 3.2,
      "alwaysOutputData": true
    },
    {
      "id": "8daf1393-d8a5-4a2c-9dd7-87a9a72db7c2",
      "name": "Facebook 消息标记",
      "type": "n8n-nodes-base.set",
      "position": [
        1980,
        620
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "740c9ae9-c3c2-400a-b9d1-eec5d2543fd2",
      "name": "便签19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "af404bbe-004e-42fa-b97a-bd156fa4d186",
      "name": "阻止 AI",
      "type": "n8n-nodes-base.if",
      "position": [
        2340,
        1140
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2c606ed1-d708-4e82-8f0f-c1474a9a6291",
      "name": "映射人类文本",
      "type": "n8n-nodes-base.set",
      "position": [
        2700,
        1220
      ],
      "parameters": {},
      "typeVersion": 3.3,
      "alwaysOutputData": true
    },
    {
      "id": "50852610-11cd-4171-840e-6891c072fe01",
      "name": "潜在客户搜索",
      "type": "n8n-nodes-base.supabase",
      "position": [
        2560,
        520
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "f91e3d86-1d0f-470d-9f35-389c5bc36b75",
      "name": "找到潜在客户",
      "type": "n8n-nodes-base.if",
      "position": [
        2720,
        520
      ],
      "parameters": {},
      "typeVersion": 2.2,
      "alwaysOutputData": true
    },
    {
      "id": "6d3fda7f-aa5f-4264-8fdc-774d1c3ef5c7",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        2720,
        740
      ],
      "webhookId": "4c675f89-81ce-4920-b8fc-1212a29d1170",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1abbd969-7a7d-42c3-87fc-925382781eff",
      "name": "注册新潜在客户",
      "type": "n8n-nodes-base.supabase",
      "position": [
        2580,
        740
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "86e18f32-1793-4c1a-ae42-8d172bc3edb5",
      "name": "文本换行",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        3920,
        760
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "7aa79ed7-fc52-4f7c-b052-98a6888ee9fb",
      "name": "发送 Instagram",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4860,
        700
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a8a3009c-0e4b-403f-8e1e-133d4a420832",
      "name": "发送 Facebook",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4860,
        840
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "27983069-963e-4266-a1ab-b2183b6ca121",
      "name": "获取 WhatsApp API 音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        540,
        1280
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "f1c476c9-4ea6-459f-a80d-306a016a7af8",
      "name": "发送 Evolution",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        4860,
        1120
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 5000
    },
    {
      "id": "03949798-7367-40fa-bfad-8afb1fa0c1d1",
      "name": "发送 WhatsApp",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4860,
        980
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "8898a108-7ec0-40b4-8e8e-4dfca1fcfe77",
      "name": "AI 锁定",
      "type": "n8n-nodes-base.filter",
      "position": [
        3200,
        500
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "700b48c9-58df-41a5-b514-09bc152a2b1e",
      "name": "最佳 AI 代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3540,
        900
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "9d6b9f00-a9d4-43b3-9a4a-08db14ce92ed",
      "name": "响应 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        520,
        60
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "a6a15a16-1aec-401c-9577-e0eb365b4f63",
      "name": "通过 Evolution 发送",
      "type": "n8n-nodes-base.filter",
      "position": [
        4700,
        1120
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "8bfd9d8b-d99f-47f2-a1f8-1963a05be5ab",
      "name": "通过 Instagram 发送",
      "type": "n8n-nodes-base.filter",
      "position": [
        4700,
        700
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f1937a48-8d5b-443f-990e-ab192a530c6e",
      "name": "通过 Facebook 发送",
      "type": "n8n-nodes-base.filter",
      "position": [
        4700,
        840
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2f25fbb3-2b5d-4012-b1b7-d37d1cae1a62",
      "name": "通过 WAAPI 发送",
      "type": "n8n-nodes-base.filter",
      "position": [
        4700,
        980
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "1eb522df-eda6-486e-9775-4d418488e39a",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4220,
        380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "76730c44-f2fb-41dc-9c4f-42f4b4f93e47",
      "name": "WAAPI 反应",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3700,
        1360
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "39757a2d-093a-4d72-adca-6de2e70cb1b6",
      "name": "来源",
      "type": "n8n-nodes-base.code",
      "position": [
        0,
        500
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a864453e-744e-4ea8-84d5-4aa6f12ad0eb",
      "name": "来自我的 WhatsApp",
      "type": "n8n-nodes-base.filter",
      "position": [
        2980,
        600
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "b0bd8ae2-78bf-457a-901c-36b11e82ec08",
      "name": "来自我的 Instagram、Facebook 和 WhatsApp",
      "type": "n8n-nodes-base.filter",
      "position": [
        2980,
        780
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "fd3b01b2-b708-42b1-a3b3-0d8cdf6e02b5",
      "name": "来自我的 Instagram 和 Facebook",
      "type": "n8n-nodes-base.filter",
      "position": [
        2980,
        420
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "18a3db33-216f-4a2a-92e6-6c3179a45636",
      "name": "Evolution 反应",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3580,
        1360
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "5f75da9e-6dde-435a-bafa-bd5c2ea6d570",
      "name": "更新名称",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        3580,
        1500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2df876db-68c6-4bcc-91c8-cd61a2acfe09",
      "name": "创建付款",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3460,
        1500
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "adc97ca5-aac0-4114-a344-dabd28efe12a",
      "name": "n8n",
      "type": "n8n-nodes-base.n8n",
      "position": [
        20,
        1660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "45422e2c-8929-46b4-837a-2ba482e377fd",
      "name": "n8n1",
      "type": "n8n-nodes-base.n8n",
      "position": [
        160,
        1660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "10c97a26-cceb-4c34-bc03-40b614269bfe",
      "name": "无操作1",
      "type": "n8n-nodes-base.noOp",
      "position": [
        300,
        1660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2b38bfde-a17c-46d5-87f8-2405c926394f",
      "name": "便签 9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        1540
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "375887df-a96d-4854-9640-6d1455a6485e",
      "name": "开始删除",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -120,
        1660
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "35b90adc-7f46-4898-aaf6-b707b21987b1",
      "name": "下载 WhatsApp API 音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        680,
        1280
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e5b62ea7-f0b5-4463-9836-523a8d3cdb9e",
      "name": "下载 Instagram 和 Facebook 音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        540,
        1140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "736cd360-c767-47d2-9f1d-99fd23ef6704",
      "name": "映射 Evolution 音频",
      "type": "n8n-nodes-base.set",
      "position": [
        540,
        1420
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "0de66ff3-5e10-4f4a-835e-34db9ba6e80f",
      "name": "下载 Instagram 和 Facebook 图片",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        620,
        880
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7ef1c4f5-f6d7-46ab-98e6-e75fd687dcdc",
      "name": "代码4",
      "type": "n8n-nodes-base.code",
      "position": [
        1680,
        2260
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "949276d3-c0e5-44c0-8d65-6729baf65bd1",
      "name": "响应代码",
      "type": "n8n-nodes-base.code",
      "position": [
        1680,
        2400
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "db7b6382-6b9b-49c7-a35c-f9678c68c910",
      "name": "如果错误",
      "type": "n8n-nodes-base.if",
      "position": [
        1820,
        2400
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "8c099fef-1957-409a-ba68-300a7dcd9247",
      "name": "地址成功响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2060,
        2400
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "66c0ed2d-f6ab-40f5-904c-4ab28bed2f67",
      "name": "地址错误响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2060,
        2260
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "86fbf13a-69c0-4b88-a5f2-5e1853ba0015",
      "name": "Mapbox 客户端",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1500,
        2380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f76cd0f3-f7f8-4c08-8d15-7c35cf73ae93",
      "name": "Mapbox 距离",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1820,
        2260
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9d6be5c7-572b-4f8a-a401-8546b98634fa",
      "name": "备注",
      "type": "n8n-nodes-base.set",
      "position": [
        1360,
        2380
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "1fe577a7-4b33-40a2-b310-64ea60694eaf",
      "name": "触发 Mapbox",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1220,
        2380
      ],
      "webhookId": "b2851493-5c5f-4b3f-b620-57b217fca6ef",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c8662f61-3948-4f68-adc2-64df11141076",
      "name": "计算配送",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3220,
        1500
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ac0dae0b-add2-49f0-805a-cf6e5f7735c4",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1180,
        2240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b0ac597a-2759-4cb3-ac3e-8dab8dfbff50",
      "name": "CPF 存在",
      "type": "n8n-nodes-base.if",
      "position": [
        3280,
        2360
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "ff4428d5-f188-40de-a760-1c39ae3a8b27",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3100,
        2240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "45ff4517-4d38-43c8-ab47-622f0a4c610e",
      "name": "响应 CPF2",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3780,
        2260
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "84032bed-e5f8-4580-aed4-7ab43e8b5f2c",
      "name": "响应 CPF3",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3780,
        2400
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "625bc425-6138-4ec7-ba65-9dadb33bebc6",
      "name": "检查 CEP",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3940,
        1360
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "11fcd45b-5925-483c-bc77-f1a81ef9126a",
      "name": "发送 WhatsApp 图片",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3460,
        1360
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "3b372599-cdb9-4a48-ba3c-2e497d047f81",
      "name": "发送 Evolution 图片",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3340,
        1360
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "67c5630c-52d4-4efd-a2db-59cef1811c26",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2260,
        2240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b471c7fd-54d4-4b3c-835d-9008d63df55d",
      "name": "发送图片",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2300,
        2340
      ],
      "webhookId": "de327165-89b8-400a-8775-0d50762f1e5e",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6c2fab8c-a58b-4029-a4fd-9ab1b6f293f4",
      "name": "Evolution 图片",
      "type": "n8n-nodes-evolution-api.evolutionApi",
      "onError": "continueErrorOutput",
      "position": [
        2580,
        2340
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1c3f6f52-b5da-4bc5-a2b8-7eeef3d85648",
      "name": "设置 Evolution 字段",
      "type": "n8n-nodes-base.set",
      "position": [
        2440,
        2340
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "b5f16b3d-224b-420d-9e8d-14bcff7e4a3f",
      "name": "图片响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2900,
        2300
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e1a1b163-161c-4ad1-845b-a19af70e8967",
      "name": "图片错误响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2760,
        2420
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d78f9de2-cb54-4453-9441-bff9cfee975e",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        2760,
        2300
      ],
      "webhookId": "04bc78dd-6988-44ac-ad1f-8276242d82c3",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "206df0b8-5b8e-4050-aa30-079f123a5d82",
      "name": "AI 代理产品",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2440,
        2680
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "bf88b2e6-5b7f-4525-9ef6-2f8aae1ecdc7",
      "name": "模型20",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2760,
        2780
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "5e57da67-efb1-4d4c-9c84-c97c3e55a5b4",
      "name": "Calculator1",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        2860,
        2780
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d4d553bf-ae7a-49c9-9a0c-b2dfd0f5d1bd",
      "name": "检查饮料",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2300,
        2680
      ],
      "webhookId": "dc8fa9a7-ce70-45ed-92b0-3e0b7ab5b526",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "bf822f7e-ea70-4e9e-8a37-6e3b7d7d01dd",
      "name": "查询饮料",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3340,
        1500
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7274854d-e1a7-4797-87ee-d1598fdc3ffd",
      "name": "响应饮料",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2900,
        2620
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e9043eed-5a9d-4bf8-b107-f8559f3eb667",
      "name": "便签20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2260,
        2580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d56933ba-1291-4044-aeee-98d60cdc50a0",
      "name": "检查 CEP",
      "type": "n8n-nodes-base.function",
      "position": [
        3480,
        2620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "35c2c803-4cb7-468f-b99b-a91cd042bcd7",
      "name": "CPF",
      "type": "n8n-nodes-base.webhook",
      "position": [
        3140,
        2360
      ],
      "webhookId": "ff5d96c2-3868-450c-a378-6b5b1fa83331",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "608ccafb-5ad0-41ec-b92e-85039467da39",
      "name": "CEP",
      "type": "n8n-nodes-base.webhook",
      "position": [
        3140,
        2700
      ],
      "webhookId": "8cd7eb71-54af-4254-8740-7b7eab0f10b2",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "83127c5e-d24d-4554-8846-50bc0c28a4a4",
      "name": "响应 CEP",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3780,
        2600
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1d8c98d4-6a67-4a60-a3b4-40a30ba18e3c",
      "name": "CEP 存在",
      "type": "n8n-nodes-base.if",
      "position": [
        3280,
        2700
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "0eae5f0f-2185-4ad6-8a03-794827d087d2",
      "name": "验证 CPF",
      "type": "n8n-nodes-base.function",
      "position": [
        3480,
        2280
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "900f4fb5-c91d-4157-926a-56bf50cf995b",
      "name": "CPF 有效",
      "type": "n8n-nodes-base.if",
      "position": [
        3620,
        2280
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "30ddae55-e58c-449b-b2d8-c88f7238d96d",
      "name": "便签21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3100,
        2580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "287c2824-a35e-49a5-bcd7-c3f3ba18d212",
      "name": "响应 CEP 错误",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3780,
        2740
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c808cc70-f019-4940-a123-9a72c6cc494d",
      "name": "CEP 有效",
      "type": "n8n-nodes-base.if",
      "position": [
        3620,
        2620
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a527d253-7d59-4e02-8642-107000d99f47",
      "name": "便签 7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1140,
        2160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "36246ea5-8484-4538-9d94-1ffef78d6670",
      "name": "便签22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3100,
        3260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1efff009-ee40-4db7-b3d8-f07df8213cd7",
      "name": "等待1",
      "type": "n8n-nodes-base.wait",
      "position": [
        3600,
        3320
      ],
      "webhookId": "999608b3-2907-4149-aee1-99120828aff0",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ac1427c7-fb53-4b7c-9681-1bc4afd254a8",
      "name": "响应4",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3740,
        3320
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "faf41707-434f-467f-b7bc-524b93cf49c3",
      "name": "设置订单字段",
      "type": "n8n-nodes-base.set",
      "position": [
        3280,
        3360
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "69bccb28-d2d7-43d5-8db9-19156c894ce7",
      "name": "发送订单",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        3820,
        1360
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "2010c1b4-f1ae-492e-bc70-18dbfaa0e2a0",
      "name": "发送订单",
      "type": "n8n-nodes-base.webhook",
      "position": [
        3140,
        3360
      ],
      "webhookId": "68693d8a-3b09-4af1-a5ae-121ed923e647",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f361f054-a5f2-435e-9759-0bcf9a1b412e",
      "name": "删除旧文档行",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1720,
        3060
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "1ca6a4ee-ad8d-4c91-b778-a6b37847db75",
      "name": "下载文件",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2080,
        3360
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 3
    },
    {
      "id": "22c3060c-65af-4274-b03f-da7935929d3c",
      "name": "条件判断",
      "type": "n8n-nodes-base.if",
      "onError": "continueRegularOutput",
      "position": [
        1560,
        3060
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a7418a17-4c72-45f9-9b95-5b5d8b222d02",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2440,
        3260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "779c3355-1eb9-4bd2-92c9-20db996fec49",
      "name": "摘要",
      "type": "n8n-nodes-base.summarize",
      "position": [
        2580,
        3260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6a1fabcb-a54c-41cc-a49f-058c8762ffea",
      "name": "删除文件1",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2440,
        3400
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "b22359e5-5848-47f9-9c2a-4dda08a39db5",
      "name": "文件已更新",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        1240,
        3060
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9a9cc7e7-9378-41f3-830d-6742e4a901cf",
      "name": "限制",
      "type": "n8n-nodes-base.limit",
      "position": [
        1420,
        3280
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f891f3b0-abf4-44d6-8f07-ddf0a43944d6",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1900,
        3220
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "95932770-e1f4-4497-b251-4418811cbe5a",
      "name": "定义 ID",
      "type": "n8n-nodes-base.set",
      "position": [
        1420,
        3060
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "71faaaa9-fda2-4bb6-a145-79b901211d5c",
      "name": "消息",
      "type": "n8n-nodes-base.set",
      "position": [
        2140,
        1580
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "2e3f0a00-a73b-41bf-bf62-f87b37c61f6e",
      "name": "过滤器",
      "type": "n8n-nodes-base.filter",
      "position": [
        1980,
        1580
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "630f2c64-9a49-456a-b5b8-6cf7f4b435c0",
      "name": "模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1600,
        1820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5a0b5fb7-7d9c-4493-b48a-8fe06f82fb4d",
      "name": "开始时间",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1180,
        1200
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "0d63fe52-8137-4bf4-89c5-2ec90d2ce97f",
      "name": "日期和时间1",
      "type": "n8n-nodes-base.code",
      "position": [
        1980,
        1280
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f5851948-27b6-4c22-bf3c-83f7340e3039",
      "name": "JSON历史3",
      "type": "n8n-nodes-base.code",
      "position": [
        2280,
        1820
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "7460eb83-6832-4def-99b9-514a14d1eedd",
      "name": "跟进我",
      "type": "n8n-nodes-base.if",
      "position": [
        1800,
        1220
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f7172c70-9bb1-4b4b-ae18-ca91f6f10017",
      "name": "循环",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1500,
        1160
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "a24daea9-a8f4-419a-8085-a89edf3da60e",
      "name": "保存历史2",
      "type": "n8n-nodes-base.supabase",
      "position": [
        2420,
        1820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f3254ca1-14a8-4d14-93b4-75af876934d4",
      "name": "24 小时",
      "type": "n8n-nodes-base.filter",
      "position": [
        1420,
        1720
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "ffac5203-7700-40a9-aae9-6b06bcf69cb5",
      "name": "10 分钟",
      "type": "n8n-nodes-base.filter",
      "position": [
        1420,
        1480
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "ea3e3144-0616-4410-98ed-512a16b09758",
      "name": "便签24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1140,
        1080
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4cb3cd05-3629-4154-89a7-7c7a98bd3e0b",
      "name": "便签25",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3100,
        2920
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fd03fc0a-c781-422e-affb-64ce0e150bd3",
      "name": "便签23",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1180,
        2920
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4ec80313-0720-4f85-8a28-806480c1765f",
      "name": "切换类型",
      "type": "n8n-nodes-base.switch",
      "position": [
        2080,
        3080
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "922fde98-10f3-4c1d-8f58-aa2939544e63",
      "name": "提取PDF文本",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        2300,
        2980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ecdb81f2-40fa-4008-8212-a35c910bd0dd",
      "name": "从文本文件提取",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        2300,
        3120
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "56c41587-da47-4679-8ddc-3f5a4ea5732a",
      "name": "从 Excel 提取",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        2300,
        3260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a3f08d9b-dc21-4a8a-bdad-284cab0f6f3b",
      "name": "转换为 Google 文档",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2300,
        3400
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "b1e11fef-545a-454c-b04c-c8144df85bc8",
      "name": "嵌入 AI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        2740,
        3300
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "aa5895e5-30b8-4a7f-b813-34ac068b0e6c",
      "name": "递归字符",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        2880,
        3300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2f152322-7c72-4967-9d4d-2bac8e0112b4",
      "name": "更新 RAG 数据",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        2740,
        2980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a19a0cb0-7af4-4139-9645-0d59505173f3",
      "name": "增强默认值",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        2780,
        3160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b9b5f102-757e-47e0-9d43-198a1d3074b7",
      "name": "设置文件版本",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1560,
        3280
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "7b7f27ab-af33-42d5-b78b-c04e65fb93f2",
      "name": "计算6301",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        1640,
        3420
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8851d54f-576f-41c0-b4e8-24b8620e448a",
      "name": "n8n_chat_histories",
      "type": "@n8n/n8n-nodes-langchain.toolVectorStore",
      "position": [
        4280,
        1500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f654c13f-6d56-43e6-9b1e-83c80325ae3e",
      "name": "指令",
      "type": "@n8n/n8n-nodes-langchain.toolVectorStore",
      "position": [
        4280,
        1360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1a305a54-2a3b-4fae-972c-a33610891c5d",
      "name": "Supabase 指令",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        4600,
        1360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4726cc4d-673d-41b8-8044-5a076245e9b7",
      "name": "模型B2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        5060,
        1360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "494ac359-0b3d-4aef-93f6-264b03de7b90",
      "name": "模型B3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        4940,
        1500
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "3ab247f1-8103-4bab-93f5-34577e66ddae",
      "name": "嵌入02",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        4940,
        1360
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "28e65ea7-445e-4b14-af2b-cdab5a91a56f",
      "name": "嵌入03",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        5060,
        1500
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "79f67420-9a69-4dfe-be67-583004ef8746",
      "name": "便签26",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4220,
        1280
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1eab31b3-d1ed-476a-bb01-50af7eaa4cf9",
      "name": "Sticky Note27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3160,
        680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f13fde7b-49a2-4975-8549-c562d5cc859f",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3160,
        1280
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3bb1e6ad-ad96-433f-ba4a-e8a168d94762",
      "name": "SB n8n_chat_histories",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        4600,
        1500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "32e304ac-b63c-4245-869a-46e3a7798084",
      "name": "跟进搜索",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1320,
        1200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "494cdcdb-95cf-4087-a647-b9f6d0068f8e",
      "name": "个人跟进",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1660,
        1220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5c004c43-3e07-4b76-936e-13d5d0f60ac6",
      "name": "映射跟进",
      "type": "n8n-nodes-base.set",
      "position": [
        2120,
        1280
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f3c4cbdb-275c-41ae-9eda-3ba40135fa57",
      "name": "计算时间",
      "type": "n8n-nodes-base.code",
      "position": [
        1220,
        1620
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "36e8f29f-f0fc-42ad-a043-3eb2098e2ce8",
      "name": "Sticky Note28",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "158c3af2-42ec-475b-96d7-f02e3d4b5518",
      "name": "Sticky Note29",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2340,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6c9cf354-a5ef-48cd-87ea-3f44121562b8",
      "name": "2 小时",
      "type": "n8n-nodes-base.filter",
      "position": [
        1420,
        1600
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "f878789a-f1b0-4ed1-b767-eb189f2c9033",
      "name": "Sticky Note30",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2260,
        1420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2302f012-1786-433d-9a0f-f5404dd58017",
      "name": "计算201",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        1800,
        1820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9e6bc4c2-0aec-4a33-b589-3a25e8466a22",
      "name": "内存50",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "position": [
        1700,
        1820
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "d1518ed5-4fc7-4394-a0cb-02010cdf180e",
      "name": "固定凭据1",
      "type": "n8n-nodes-base.set",
      "position": [
        2420,
        1640
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9179e1f6-6f86-4d0b-8adc-66ba539da34d",
      "name": "Sticky Note31",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        1580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f9a3a8b2-eb5a-47be-b5fd-f6f8da216268",
      "name": "发送 Instagram1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2800,
        1440
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "29ee2b39-ed31-45f9-b5fb-6944b7061b9d",
      "name": "发送 Facebook1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2800,
        1580
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9a1b334f-df3b-4e38-9022-889eedd430e4",
      "name": "发送 Evolution1",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        2800,
        1860
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 5000
    },
    {
      "id": "6334c9d6-c01b-4c3d-8986-482a51cd7bc0",
      "name": "发送 WhatsApp1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2800,
        1720
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "baf5c816-b114-43c5-a6a3-83408fc06973",
      "name": "通过 Evolution 发送1",
      "type": "n8n-nodes-base.filter",
      "position": [
        2660,
        1860
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "3724a061-5561-41c4-a131-77fdf27cd20a",
      "name": "通过 Instagram 发送1",
      "type": "n8n-nodes-base.filter",
      "position": [
        2660,
        1440
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "72869ce9-d82e-4ed4-866f-7785aa330ee4",
      "name": "通过 Facebook 发送1",
      "type": "n8n-nodes-base.filter",
      "position": [
        2660,
        1580
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f3957dac-7740-4ae8-ba95-299c1d2b8700",
      "name": "通过 WAAPI 发送1",
      "type": "n8n-nodes-base.filter",
      "position": [
        2660,
        1720
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "5836dd69-122c-452b-b70d-6d47a0fad4c9",
      "name": "72 小时",
      "type": "n8n-nodes-base.filter",
      "position": [
        1420,
        1840
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "1c9ac2ad-bdb5-416f-ac19-e52cffdbcc9f",
      "name": "SB 历史",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        1900,
        1820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6facfb27-df2a-4a98-bf7a-8c5331b6ca17",
      "name": "AI 代理跟进",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1640,
        1580
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "5a0ba796-7e32-4442-9d41-84d3823b83d3",
      "name": "跟进数量",
      "type": "n8n-nodes-base.code",
      "position": [
        2140,
        1820
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b92cec1e-5d64-4c5d-9d28-b49305910da7",
      "name": "无操作",
      "type": "n8n-nodes-base.noOp",
      "position": [
        2980,
        1660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "76d7e893-be4d-41f6-8e9b-c4e9880e8ad6",
      "name": "无操作1",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1980,
        1120
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "America/Sao_Paulo",
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1",
    "executionTimeout": 180
  },
  "versionId": "681c9aa4-c38c-43eb-8823-ea46052ac842",
  "connections": {
    "If": {
      "main": [
        [],
        [
          {
            "node": "Delete Old Doc Rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CEP": {
      "main": [
        [
          {
            "node": "CEP exist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CPF": {
      "main": [
        [
          {
            "node": "CPF exist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "n8n": {
      "main": [
        [
          {
            "node": "n8n1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1,2s": {
      "main": [
        [
          {
            "node": "no.op2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop": {
      "main": [
        [
          {
            "node": "NoOperation1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Individual Followup",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Maps": {
      "main": [
        [
          {
            "node": "Add Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Response Img",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "n8n1": {
      "main": [
        [
          {
            "node": "No Operation1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code4": {
      "main": [
        [
          {
            "node": "Mapbox Distancia",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit": {
      "main": [
        [
          {
            "node": "Set File Version",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Maps1": {
      "main": [
        [
          {
            "node": "Add Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Maps2": {
      "main": [
        [
          {
            "node": "Add Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Maps5": {
      "main": [
        [
          {
            "node": "Add Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Maps6": {
      "main": [
        [
          {
            "node": "Add Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent FollowUP",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "START": {
      "main": [
        [
          {
            "node": "origem",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Response4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "10 Min": {
      "main": [
        [
          {
            "node": "AI Agent FollowUP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter": {
      "main": [
        [
          {
            "node": "Mensagem",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prompt": {
      "main": [
        [
          {
            "node": "Best Agent AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "no.op2": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "origem": {
      "main": [
        [
          {
            "node": "Fixed Credentials",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2 Horas": {
      "main": [
        [
          {
            "node": "AI Agent FollowUP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aguarda": {
      "main": [
        [
          {
            "node": "Busca Timeout",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calc201": {
      "ai_tool": [
        [
          {
            "node": "AI Agent FollowUP",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Channel": {
      "main": [
        [
          {
            "node": "Get Reply Insta",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Reply Facebook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embed02": {
      "ai_embedding": [
        [
          {
            "node": "Supabase instrucoes",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Embed03": {
      "ai_embedding": [
        [
          {
            "node": "SB n8n_chat_histories",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Model20": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent Products",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "ModelB2": {
      "ai_languageModel": [
        [
          {
            "node": "instrucoes",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "ModelB3": {
      "ai_languageModel": [
        [
          {
            "node": "n8n_chat_histories",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "MsgType": {
      "main": [
        [
          {
            "node": "Maps",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Maps",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Maps",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Converter Img",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Down Img Insta&Face",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Down Audio Insta&Face",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Audio WpAPI",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "MapAudioEvo",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Converte PDF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI2": {
      "ai_languageModel": [
        [
          {
            "node": "Text Wrap",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "PhoneID": {
      "main": [
        [
          {
            "node": "Criar Cliente",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Se Erro": {
      "main": [
        [
          {
            "node": "Response Address Error",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Response Address Sucess",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Waiting": {
      "main": [
        [
          {
            "node": "Lead Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "24 Horas": {
      "main": [
        [
          {
            "node": "AI Agent FollowUP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "72 Horas": {
      "main": [
        [
          {
            "node": "AI Agent FollowUP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Link": {
      "main": [
        [
          {
            "node": "Response Asaas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Block IA": {
      "main": [
        [
          {
            "node": "Bloquear IA",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Desbloqueia IA",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calc6301": {
      "ai_tool": [
        [
          {
            "node": "Set File Version",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Embed AI": {
      "ai_embedding": [
        [
          {
            "node": "Update Data RAG",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Memory50": {
      "ai_memory": [
        [
          {
            "node": "AI Agent FollowUP",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Mensagem": {
      "main": [
        [
          {
            "node": "QntFollowUP",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fixed Credentials1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WH Asaas": {
      "main": [
        [
          {
            "node": "Sem Dados",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "up_dados": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Summarize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CEP exist": {
      "main": [
        [
          {
            "node": "Checa CEP",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "RespondCEP Erro",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CPF exist": {
      "main": [
        [
          {
            "node": "Validate CPF",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "RespondCPF3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Checa CEP": {
      "main": [
        [
          {
            "node": "CEP Válido",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data&Hora": {
      "main": [
        [
          {
            "node": "MsgType",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Modelo IA": {
      "ai_languageModel": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Segmentos": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sem Dados": {
      "main": [
        [
          {
            "node": "PhoneID",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Asaas Erro",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize": {
      "main": [
        [
          {
            "node": "Update Data RAG",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Text Wrap": {
      "main": [
        [
          {
            "node": "Segmentos",
            "type": "main",
            "index": 0
          },
          {
            "node": "Filtro Reset",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Variaveis": {
      "main": [
        [
          {
            "node": "Lead Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Data&Hora1": {
      "main": [
        [
          {
            "node": "Map FollowUP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Definir ID": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lead Found": {
      "main": [
        [
          {
            "node": "FromMe Insta&Face",
            "type": "main",
            "index": 0
          },
          {
            "node": "FromMe Insta&Face&Wp",
            "type": "main",
            "index": 0
          },
          {
            "node": "FromMe WhatsApp",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Register New Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "No Marking": {
      "main": [
        [
          {
            "node": "Response Refined",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Time": {
      "main": [
        [
          {
            "node": "Follow Up Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "checar_cep": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "checar_cpf": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "instrucoes": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "reagir_evo": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Add Timeout": {
      "main": [
        [
          {
            "node": "Aguarda",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CEP Válido": {
      "main": [
        [
          {
            "node": "RespondCEP",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "RespondCEP Erro",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CPF Válido": {
      "main": [
        [
          {
            "node": "RespondCPF2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "RespondCPF3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculator1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent Products",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "CalculoTime": {
      "main": [
        [
          {
            "node": "Interferencia",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract PDF": {
      "main": [
        [
          {
            "node": "Maps5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "FollowUP Eu": {
      "main": [
        [
          {
            "node": "Data&Hora1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lead Search": {
      "main": [
        [
          {
            "node": "Lead Found",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MapAudioEvo": {
      "main": [
        [
          {
            "node": "Convert File Wp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "QntFollowUP": {
      "main": [
        [
          {
            "node": "JSONhistorico3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Images": {
      "main": [
        [
          {
            "node": "Set Field Evo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Pedido": {
      "main": [
        [
          {
            "node": "Set Field Pedido",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch Type": {
      "main": [
        [
          {
            "node": "Extract PDF Text",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Extract from Text File",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Extract from Excel",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Convert to Google Doc",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Convert to Google Doc",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Convert to Google Doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "TranscAudio": {
      "main": [
        [
          {
            "node": "Maps1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "send_img_wp": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "send_pedido": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "up_consumer": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "update_name": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Add Response": {
      "main": [
        [
          {
            "node": "Filter Insta&Face",
            "type": "main",
            "index": 0
          },
          {
            "node": "Filter WhatsApp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apontamentos": {
      "main": [
        [
          {
            "node": "Mapbox Cliente",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Converte PDF": {
      "main": [
        [
          {
            "node": "Extract PDF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "File Updated": {
      "main": [
        [
          {
            "node": "Definir ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filtro Reset": {
      "main": [
        [
          {
            "node": "JSONhistorico",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Img WhatsApp": {
      "main": [
        [
          {
            "node": "Maps2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map FollowUP": {
      "main": [
        [
          {
            "node": "Calculate Time",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MapTextHuman": {
      "main": [
        [
          {
            "node": "JSONhistorico1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OutputParser": {
      "ai_outputParser": [
        [
          {
            "node": "Text Wrap",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Response Img": {
      "main": [
        []
      ]
    },
    "SB Historico": {
      "ai_tool": [
        [
          {
            "node": "AI Agent FollowUP",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Validate CPF": {
      "main": [
        [
          {
            "node": "CPF Válido",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_consumer": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "reagir_waapi": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "send_img_evo": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Best Agent AI": {
      "main": [
        [
          {
            "node": "Text Wrap",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Busca Timeout": {
      "main": [
        [
          {
            "node": "CalculoTime",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Bebidas": {
      "main": [
        [
          {
            "node": "AI Agent Products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code Resposta": {
      "main": [
        [
          {
            "node": "Se Erro",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Converter Img": {
      "main": [
        [
          {
            "node": "Img WhatsApp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Criar Cliente": {
      "main": [
        [
          {
            "node": "Criar Cobrança",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Asaas Erro1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download File": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Img Instagram": {
      "main": [
        [
          {
            "node": "Maps6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Interferencia": {
      "main": [
        [
          {
            "node": "Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JSONhistorico": {
      "main": [
        [
          {
            "node": "SalvaHistorico",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Facebook": {
      "main": [
        [
          {
            "node": "1,2s",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send WhatsApp": {
      "main": [
        [
          {
            "node": "1,2s",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send via Face": {
      "main": [
        [
          {
            "node": "Send Facebook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Field Evo": {
      "main": [
        [
          {
            "node": "Evolution Imagem",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "TriggerMapbox": {
      "main": [
        [
          {
            "node": "Apontamentos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bloqueio de IA": {
      "main": [
        [
          {
            "node": "JSONhistorico2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Time": {
      "main": [
        [
          {
            "node": "10 Min",
            "type": "main",
            "index": 0
          },
          {
            "node": "24 Horas",
            "type": "main",
            "index": 0
          },
          {
            "node": "2 Horas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Desbloqueia IA": {
      "main": [
        [
          {
            "node": "Desbloquear IA",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "MapTextHuman",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JSONhistorico1": {
      "main": [
        [
          {
            "node": "SalvaHistorico1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JSONhistorico2": {
      "main": [
        [
          {
            "node": "Add Timeout",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JSONhistorico3": {
      "main": [
        [
          {
            "node": "SalvaHistorico2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mapbox Cliente": {
      "main": [
        [
          {
            "node": "Code4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Evolution": {
      "main": [
        [
          {
            "node": "1,2s",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "1,2s",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Facebook1": {
      "main": [
        [
          {
            "node": "NoOperation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Instagram": {
      "main": [
        [
          {
            "node": "1,2s",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send WhatsApp1": {
      "main": [
        [
          {
            "node": "NoOperation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send via Face1": {
      "main": [
        [
          {
            "node": "Send Facebook1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send via WAAPI": {
      "main": [
        [
          {
            "node": "Send WhatsApp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Deletion": {
      "main": [
        [
          {
            "node": "n8n",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "create_payment": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Convert File Wp": {
      "main": [
        [
          {
            "node": "TranscAudio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Criar Cobrança": {
      "main": [
        [
          {
            "node": "Add Link",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Asaas Erro2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter WhatsApp": {
      "main": [
        [
          {
            "node": "Reply Message Wp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "FromMe WhatsApp": {
      "main": [
        [
          {
            "node": "Bloqueio de IA",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Audio WpAPI": {
      "main": [
        [
          {
            "node": "Down Audio WpAPI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Reply Insta": {
      "main": [
        [
          {
            "node": "Message Markup Insta",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Switch Type",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Postgres Memory": {
      "ai_memory": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Send Evolution1": {
      "main": [
        [
          {
            "node": "NoOperation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Instagram1": {
      "main": [
        [
          {
            "node": "NoOperation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send via WAAPI1": {
      "main": [
        [
          {
            "node": "Send WhatsApp1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Down Audio WpAPI": {
      "main": [
        [
          {
            "node": "TranscAudio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enhanced Default": {
      "ai_document": [
        [
          {
            "node": "Update Data RAG",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Evolution Imagem": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Response Img Erro",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract PDF Text": {
      "main": [
        [
          {
            "node": "Update Data RAG",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Follow Up Search": {
      "main": [
        [
          {
            "node": "Loop",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [],
        [
          {
            "node": "Send via Evolution",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send via Instagram",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send via Face",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send via WAAPI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mapbox Distancia": {
      "main": [
        [
          {
            "node": "Code Resposta",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reply Message Wp": {
      "main": [
        [
          {
            "node": "No Marking",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Message Markup Wp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Response Refined": {
      "main": [
        [
          {
            "node": "Variaveis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Field Pedido": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set File Version": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "consulta_bebidas": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent FollowUP": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent Products": {
      "main": [
        [
          {
            "node": "Respond Bebida",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CalculateDelivery": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Filter Insta&Face": {
      "main": [
        [
          {
            "node": "Reply Message Insta",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fixed Credentials": {
      "main": [
        [
          {
            "node": "Data&Hora",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "FromMe Insta&Face": {
      "main": [
        [
          {
            "node": "Bloqueio de IA",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message Markup Wp": {
      "main": [
        [
          {
            "node": "Response Refined",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Register New Lead": {
      "main": [
        [
          {
            "node": "Waiting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from Excel": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fixed Credentials1": {
      "main": [
        [
          {
            "node": "Send via Instagram1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send via Face1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send via WAAPI1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send via Evolution1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Reply Facebook": {
      "main": [
        [
          {
            "node": "Message Markup Face",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send via Evolution": {
      "main": [
        [
          {
            "node": "Send Evolution",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send via Instagram": {
      "main": [
        [
          {
            "node": "Send Instagram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "n8n_chat_histories": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete Old Doc Rows": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Down Img Insta&Face": {
      "main": [
        [
          {
            "node": "Img Instagram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Individual Followup": {
      "main": [
        [
          {
            "node": "FollowUP Eu",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message Markup Face": {
      "main": [
        [
          {
            "node": "Response Refined",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recursive Character": {
      "ai_textSplitter": [
        [
          {
            "node": "Enhanced Default",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "Reply Message Insta": {
      "main": [
        [
          {
            "node": "Channel",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Marking",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send via Evolution1": {
      "main": [
        [
          {
            "node": "Send Evolution1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send via Instagram1": {
      "main": [
        [
          {
            "node": "Send Instagram1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Supabase instrucoes": {
      "ai_vectorStore": [
        [
          {
            "node": "instrucoes",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "FromMe Insta&Face&Wp": {
      "main": [
        [
          {
            "node": "Block IA",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message Markup Insta": {
      "main": [
        [
          {
            "node": "Response Refined",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to Google Doc": {
      "main": [
        [
          {
            "node": "Delete File1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Down Audio Insta&Face": {
      "main": [
        [
          {
            "node": "TranscAudio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SB n8n_chat_histories": {
      "ai_vectorStore": [
        [
          {
            "node": "n8n_chat_histories",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "Extract from Text File": {
      "main": [
        [
          {
            "node": "Update Data RAG",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 其他, 人工智能

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量239
分类2
节点类型40
难度说明

适合高级用户,包含 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 查看

分享此工作流