8
n8n 中文网amn8n.com

[模板] AI宠物店 v8

高级

这是一个Sales, Building Blocks, AI, Marketing领域的自动化工作流,包含 244 个节点。主要使用 If, N8n, Set, Code, Wait 等节点,结合人工智能技术实现智能自动化。 🐶 AI宠物店助手 - 集成GPT-4o、Google日历和WhatsApp/Instagram/Facebook

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)
  • Supabase URL 和 API Key
  • Google Drive API 凭证
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
  • PostgreSQL 数据库连接信息
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "DdUznIDxMDNb5YO0",
  "meta": {
    "instanceId": "6a52f06a38696cfa8d3a5b70f84891fab02c428a5c2d448dcef39b1f17adf12b"
  },
  "name": "[模板] IA宠物店 v8",
  "tags": [
    {
      "id": "2p3llZ7zeEdG1aA5",
      "name": "iloveflows.gumroad.com",
      "createdAt": "2025-04-10T14:46:08.057Z",
      "updatedAt": "2025-04-10T14:46:08.057Z"
    }
  ],
  "nodes": [
    {
      "id": "2d148a17-faca-4f2f-b76b-a785ae047d94",
      "name": "便签 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        440,
        180
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "71e7ae36-53c6-4bfa-b9f9-943264eb44d0",
      "name": "变量",
      "type": "n8n-nodes-base.set",
      "position": [
        500,
        420
      ],
      "parameters": {},
      "typeVersion": 3.3
    },
    {
      "id": "fcc5cb16-2d36-4eab-91a6-83c5e6629c87",
      "name": "日期和时间",
      "type": "n8n-nodes-base.code",
      "position": [
        -1580,
        300
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "eec28652-6fe7-49e1-9aa0-b51dc6cf6214",
      "name": "转换图片",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -1240,
        520
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c2abf8b8-cbce-4574-9119-d48741f6e8fb",
      "name": "地图",
      "type": "n8n-nodes-base.set",
      "position": [
        -1100,
        280
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "b44ec11e-3a29-4424-a4bf-0ae214ef26e0",
      "name": "地图1",
      "type": "n8n-nodes-base.set",
      "position": [
        -900,
        1080
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "6a522df3-bc43-4f75-8b5e-6ff716b083eb",
      "name": "地图2",
      "type": "n8n-nodes-base.set",
      "position": [
        -960,
        520
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "90a1c6ce-830c-42c3-a108-3e7460f0be1d",
      "name": "音频转录",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1040,
        1080
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "e00a69e7-6cbe-42f1-bcc9-9cd0383484a6",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        180
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "c2723892-017d-4dfd-a4ac-61891f432ec0",
      "name": "便签 14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        440,
        760
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "f4aae3cc-2afb-4116-9bdf-c133de9a7b6c",
      "name": "消息类型",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1760,
        800
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 3
    },
    {
      "id": "5b8bb415-b8c7-4e82-85bd-2008924fa9ae",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        1760,
        300
      ],
      "webhookId": "1c527122-c6fe-46db-a7e4-0dafae4ee347",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "b118a1bb-67e1-4b0f-accb-1268003a5007",
      "name": "时间计算",
      "type": "n8n-nodes-base.set",
      "position": [
        2040,
        300
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f6ebb64b-605b-4b38-a353-e2ff1766dee5",
      "name": "JSON历史1",
      "type": "n8n-nodes-base.code",
      "position": [
        980,
        1020
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "1a70211e-9991-45d1-a6d5-810dc7b07240",
      "name": "便签说明4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        180
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "810af14a-0ec5-4f94-88af-bb630b101c91",
      "name": "提示词",
      "type": "n8n-nodes-base.set",
      "position": [
        1340,
        620
      ],
      "parameters": {},
      "typeVersion": 3.3,
      "alwaysOutputData": true
    },
    {
      "id": "ef22cc4e-f920-463a-80b7-0588232d35e2",
      "name": "转换PDF",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -1240,
        1460
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "9ac40c05-067e-41e7-9e66-e98cb73554ca",
      "name": "提取PDF",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -1100,
        1460
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "60544752-f987-4bcb-b0f9-f536602aaff4",
      "name": "地图5",
      "type": "n8n-nodes-base.set",
      "position": [
        -960,
        1460
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c2bbab2e-f991-4824-94f2-b5125597f463",
      "name": "计算器",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        2200,
        1300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "198c1408-d02c-442a-b3b0-3cf400c3abdb",
      "name": "AI模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1780,
        580
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3409a799-e2d8-4576-ae69-4e11b0097f24",
      "name": "OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2080,
        740
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "70f5ce5a-428e-405b-b66b-c909d8c56eeb",
      "name": "细分市场",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2440,
        640
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6756889d-7da3-452f-ab18-0bffc7695aa2",
      "name": "1,2秒",
      "type": "n8n-nodes-base.wait",
      "position": [
        3180,
        740
      ],
      "webhookId": "a735f4dc-fb46-495a-bdbb-3d60beb3b9b7",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f7efbd6c-b884-4c88-9459-34d0eb3fce37",
      "name": "## 如何实施此 n8n 工作流",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2620,
        700
      ],
      "parameters": {},
      "typeVersion": 3,
      "alwaysOutputData": true
    },
    {
      "id": "c5ee5f68-18e7-4377-a3fc-3aa7ce520a7a",
      "name": "无操作2",
      "type": "n8n-nodes-base.noOp",
      "position": [
        2440,
        780
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "82e2efdd-f32a-4101-b775-2352db8d6d1b",
      "name": "输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2220,
        740
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "69f76e89-8dd5-4e8f-a5d0-e02353b44ec6",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2360,
        480
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "1b1c9666-8608-414c-90f3-5da9e8e8587f",
      "name": "JSON历史",
      "type": "n8n-nodes-base.code",
      "position": [
        2540,
        300
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "7f9aa8d5-e2cf-44f4-8f3e-d039c8493603",
      "name": "过滤器重置",
      "type": "n8n-nodes-base.filter",
      "position": [
        2400,
        300
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "8bf45247-804d-499c-99fb-d67690517a02",
      "name": "JSON历史2",
      "type": "n8n-nodes-base.code",
      "position": [
        1480,
        300
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "cf43d505-2c85-47c8-aa02-8722580d4dfc",
      "name": "干扰",
      "type": "n8n-nodes-base.filter",
      "position": [
        2180,
        300
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "ab72a4bf-f906-4e62-bd9e-b463948551af",
      "name": "解锁AI",
      "type": "n8n-nodes-base.if",
      "position": [
        640,
        1000
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "ef8d19fa-210f-43ef-b521-a9a265093abf",
      "name": "锁定AI",
      "type": "n8n-nodes-base.supabase",
      "position": [
        640,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "00d54647-b219-4517-af98-41bf417d3034",
      "name": "解锁AI",
      "type": "n8n-nodes-base.supabase",
      "position": [
        980,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5679f0a0-cbb7-4607-aad0-aea082e96b58",
      "name": "保存历史1",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1120,
        1020
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6c91e18d-334f-45a8-bb84-534ca8082477",
      "name": "添加超时",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1620,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "07611804-5623-48f7-aff7-c4a354fb3229",
      "name": "查找超时",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1900,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "384e8335-fce8-419a-9813-0cb1a4e455f1",
      "name": "保存历史",
      "type": "n8n-nodes-base.supabase",
      "position": [
        2680,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2d9a0f44-4d54-43ba-b55c-927be82686b2",
      "name": "Postgres内存",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "position": [
        1440,
        860
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "2d25a855-906a-4844-8094-25cea7352167",
      "name": "WH Asaas",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1380,
        2080
      ],
      "webhookId": "a06e6ec9-b4b2-4066-86b0-b62a09029b82",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "856ea994-cd66-4efa-ad7e-50955aa02ede",
      "name": "Asaas响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2220,
        2000
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "3c20705a-74fa-4ae8-82b3-e3621c377c62",
      "name": "获取消费者",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        1840,
        1300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1fb30aba-9153-462c-b4fb-940ca96223ce",
      "name": "更新消费者",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        1960,
        1300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f4f3050f-ef79-4809-a0f1-3edf707e6791",
      "name": "创建客户",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        1800,
        2080
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9eec7ab7-a837-4b47-9d60-a609b27e084b",
      "name": "创建收费",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        1940,
        2000
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c6a8b27d-2125-491f-aec3-e66f4c191570",
      "name": "添加链接",
      "type": "n8n-nodes-base.supabase",
      "position": [
        2080,
        2000
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "aa4fb35e-c7cb-461e-8820-101b9e789352",
      "name": "电话ID",
      "type": "@splainez/n8n-nodes-phonenumber-parser.phoneNumberParser",
      "position": [
        1660,
        2060
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "bc10f928-1e46-44f2-a428-70f5a0e085ae",
      "name": "便签说明5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1340,
        1980
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "d9a365c5-4358-4a2c-a0df-6a0e78e48ae5",
      "name": "无数据",
      "type": "n8n-nodes-base.if",
      "position": [
        1520,
        2080
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "8b15fa66-3d0e-43a4-81a7-c457f578c66a",
      "name": "Asaas错误",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1660,
        2160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d5893ffe-4a17-45b5-b4e1-a1d957db1586",
      "name": "Asaas错误1",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1940,
        2160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "5fedfb9e-7c1c-47f4-b059-7955186d1ee7",
      "name": "Asaas错误2",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2080,
        2160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "233b0d9a-f413-4b37-bc68-43703aaac797",
      "name": "检查CPF",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        2200,
        1160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "74c8ec85-2f87-482d-97e0-cfe88f8c6b79",
      "name": "开始",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -2000,
        300
      ],
      "webhookId": "ae2bc37d-c8a1-4cc4-9666-cf872a240256",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8c53ffed-0eb7-4c6f-82ff-37e0e782d70f",
      "name": "更新数据",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        2080,
        1300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "26d19e8d-335a-42c5-877d-5fbed3e3582a",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        420
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "e7f0f720-12aa-4065-8724-6f12b05461a1",
      "name": "Instagram图片",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1100,
        680
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "2b47814c-e40f-43fc-82ae-966d7c8952fb",
      "name": "WhatsApp图片",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1100,
        520
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "2e5fc6bf-9082-4494-ba89-5426d878a821",
      "name": "地图6",
      "type": "n8n-nodes-base.set",
      "position": [
        -960,
        680
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "e765afcd-ba56-4c23-9850-55d906b1af64",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        860
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "5b774ef8-3aa3-4be3-bca1-b5e29307da19",
      "name": "转换WhatsApp文件",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -1180,
        1220
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ab30b612-be81-4fe3-9b25-45e6fb6f969c",
      "name": "便签17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        1380
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "d7f5a1c9-c174-4906-8799-cd3199ac31e4",
      "name": "添加响应",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -720,
        500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3ef2f978-a1a1-48a0-b2e2-f7687ec7b7e2",
      "name": "便签18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2040,
        600
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "20419acb-c4d2-44ed-b7dd-2accdfe82ad1",
      "name": "过滤WhatsApp",
      "type": "n8n-nodes-base.filter",
      "position": [
        -500,
        600
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a986a9e7-b220-437d-97be-1aa0b198a7fb",
      "name": "回复Instagram消息",
      "type": "n8n-nodes-base.if",
      "position": [
        -360,
        420
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "6e7f62c8-1c6a-4a84-95f7-ee720ec1c1f8",
      "name": "回复WhatsApp消息",
      "type": "n8n-nodes-base.if",
      "position": [
        -360,
        600
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "141f3de9-4ee2-461c-8306-aa797f4e6b41",
      "name": "固定凭证",
      "type": "n8n-nodes-base.set",
      "position": [
        -1720,
        300
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3abf3565-97be-4cb1-a998-d0958eb0da8d",
      "name": "获取Instagram回复",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -40,
        280
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "8eb6ad2e-9088-46f3-97cc-8ed85927190c",
      "name": "WhatsApp消息标记",
      "type": "n8n-nodes-base.set",
      "position": [
        -200,
        680
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "7757b48f-aa8a-4be9-978b-4d2d22a1a872",
      "name": "无标记",
      "type": "n8n-nodes-base.set",
      "position": [
        -200,
        540
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "2ac199ae-78cb-4ff5-8c7f-dbb436f8a03e",
      "name": "Instagram消息标记",
      "type": "n8n-nodes-base.set",
      "position": [
        120,
        280
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f03c1d67-7b53-4ee9-986f-2e43e9fe2f88",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        180
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "d1cfc6fb-0ed8-4e86-8700-0a8eee10d1ef",
      "name": "精炼响应",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        300,
        540
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "b6529d09-025d-4c77-ada5-ab68c384abc8",
      "name": "过滤Instagram和Facebook",
      "type": "n8n-nodes-base.filter",
      "position": [
        -500,
        420
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "09d7b153-689e-404a-9c81-59234e68a327",
      "name": "获取Facebook回复",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -40,
        420
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "26c5303b-ac46-4be3-870c-1d4290ae42ba",
      "name": "渠道",
      "type": "n8n-nodes-base.switch",
      "position": [
        -200,
        360
      ],
      "parameters": {},
      "typeVersion": 3.2,
      "alwaysOutputData": true
    },
    {
      "id": "cb00b7dd-862a-4f37-9f52-944d034a63a9",
      "name": "Facebook消息标记",
      "type": "n8n-nodes-base.set",
      "position": [
        120,
        420
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "1b7f1dae-7963-4ea9-a750-fd333c02ec60",
      "name": "便签19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2040,
        180
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "9888319a-3b30-4300-a1f1-ad60e3aa7e2e",
      "name": "阻止AI",
      "type": "n8n-nodes-base.if",
      "position": [
        480,
        940
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "81f9c607-caa1-417d-837c-16b57700cf83",
      "name": "映射人类文本",
      "type": "n8n-nodes-base.set",
      "position": [
        840,
        1020
      ],
      "parameters": {},
      "typeVersion": 3.3,
      "alwaysOutputData": true
    },
    {
      "id": "98d8f131-dab4-47c2-803c-400dccf2a4a9",
      "name": "潜在客户搜索",
      "type": "n8n-nodes-base.supabase",
      "position": [
        700,
        320
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "01b690a3-6121-4240-bb42-3d9d5c2d244a",
      "name": "找到潜在客户",
      "type": "n8n-nodes-base.if",
      "position": [
        860,
        320
      ],
      "parameters": {},
      "typeVersion": 2.2,
      "alwaysOutputData": true
    },
    {
      "id": "86ea5d0a-6ac3-4457-b761-7c816cc25b59",
      "name": "等待中",
      "type": "n8n-nodes-base.wait",
      "position": [
        860,
        540
      ],
      "webhookId": "f21ee81f-50a5-4576-bf09-9e05ad57d711",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e56ac5e8-fd58-4ba7-9218-7418c4dcc526",
      "name": "注册新潜在客户",
      "type": "n8n-nodes-base.supabase",
      "position": [
        720,
        540
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "81e3e417-7372-4268-aafd-5e5cac096378",
      "name": "文本换行",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2060,
        560
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "d0be7503-5391-4e17-9a40-93a4256a7822",
      "name": "发送Instagram",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3000,
        500
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "98c65550-3045-4d9d-9f2f-8a623037d91b",
      "name": "发送Facebook",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3000,
        640
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9a1c584f-ff32-4637-a9e2-ba8a635f4477",
      "name": "获取WhatsApp API音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1320,
        1080
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "1faeab67-3239-4029-9261-94c062049696",
      "name": "发送Evolution",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        3000,
        920
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 5000
    },
    {
      "id": "070dbf3d-8aa3-4ea1-b4b6-f37f70361ddd",
      "name": "发送WhatsApp",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3000,
        780
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ef373997-9219-4aba-9dea-32a353555fc7",
      "name": "AI锁定",
      "type": "n8n-nodes-base.filter",
      "position": [
        1340,
        300
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "98230aea-db09-454b-9425-53b1ef879a46",
      "name": "最佳AI代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1680,
        700
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "ae6c20b0-8f42-4893-960c-cc74045ae75f",
      "name": "通过Evolution发送",
      "type": "n8n-nodes-base.filter",
      "position": [
        2840,
        920
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "bd5c2654-8d46-41a9-844a-d179105f8774",
      "name": "通过Instagram发送",
      "type": "n8n-nodes-base.filter",
      "position": [
        2840,
        500
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "29c37f2c-d70d-436e-b05c-105ddad122bd",
      "name": "通过Facebook发送",
      "type": "n8n-nodes-base.filter",
      "position": [
        2840,
        640
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "1e9504a9-194f-4531-be89-8812eee9ac4c",
      "name": "通过WAAPI发送",
      "type": "n8n-nodes-base.filter",
      "position": [
        2840,
        780
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "40ddb593-90d9-4ed4-b298-2c1fc430d8b3",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2360,
        180
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "b9033e93-5104-44f5-a9d4-b70e4c94677d",
      "name": "WhatsApp API反应",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1840,
        1160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "36a6416e-9684-45ef-b97c-8da0756b6ff7",
      "name": "来源",
      "type": "n8n-nodes-base.code",
      "position": [
        -1860,
        300
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0c66ef9e-bdb4-4ce0-8d5e-84d8fba71ff2",
      "name": "来自我的WhatsApp",
      "type": "n8n-nodes-base.filter",
      "position": [
        1120,
        400
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "26577d85-b506-46d3-8bd1-5b9cebcb9733",
      "name": "来自我的Instagram、Facebook和WhatsApp",
      "type": "n8n-nodes-base.filter",
      "position": [
        1120,
        580
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a2883188-b404-4e19-9da0-1e237ea80f92",
      "name": "来自我的Instagram和Facebook",
      "type": "n8n-nodes-base.filter",
      "position": [
        1120,
        220
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "927a650a-9da1-4ba0-907e-616ee55271c9",
      "name": "Evolution反应",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1720,
        1160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "3bac3a22-b848-48cd-ad2d-bf2f31488f2e",
      "name": "更新名称",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        1720,
        1300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "568354a6-b40d-49f7-a233-8cecf1e5ec06",
      "name": "创建付款",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1600,
        1300
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "81f46488-95e7-44c2-be59-c5786c045882",
      "name": "n8n",
      "type": "n8n-nodes-base.n8n",
      "position": [
        -1840,
        1460
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5b753010-3402-4ef7-976f-fa7862c12551",
      "name": "n8n1",
      "type": "n8n-nodes-base.n8n",
      "position": [
        -1700,
        1460
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "40f8a482-be4a-4218-8bca-4bb4e3f5bdc1",
      "name": "无操作1",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -1560,
        1460
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "26ba692f-fd56-4877-a232-b8f026fd25ec",
      "name": "便签 9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2040,
        1340
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "2fb75dda-a7aa-4709-a2a1-4ad0f27d897d",
      "name": "开始删除",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1980,
        1460
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "76712f51-c6f6-4f6c-9001-cd604f8c3954",
      "name": "下载WhatsApp API音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1180,
        1080
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "393db684-e0d2-441b-b363-489fa8568071",
      "name": "下载Instagram和Facebook音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1320,
        940
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "6e4d58c2-9bf9-4e35-bbd0-b3d56bc6e3d5",
      "name": "映射Evolution音频",
      "type": "n8n-nodes-base.set",
      "position": [
        -1320,
        1220
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f4d2983b-6bb5-4a07-8dd3-4118d464ce6b",
      "name": "下载Instagram和Facebook图片",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1240,
        680
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e68f51f0-a63c-4dc8-9fff-88b9e6f61f5d",
      "name": "代码4",
      "type": "n8n-nodes-base.code",
      "position": [
        1840,
        1660
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "79da034f-9ac6-4598-9daa-ab034e657e6b",
      "name": "响应代码",
      "type": "n8n-nodes-base.code",
      "position": [
        1840,
        1800
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "764caf1d-13b6-4390-8a5d-701274aeabf9",
      "name": "如果错误",
      "type": "n8n-nodes-base.if",
      "position": [
        1980,
        1800
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "3204ad03-333c-47f0-9844-05d3beb3d393",
      "name": "地址成功响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2220,
        1800
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c31acfc5-0683-43b9-95d5-64cc2d1d18d2",
      "name": "地址错误响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2220,
        1660
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e4ff86b5-5dd0-4584-bc23-81280b47326e",
      "name": "Mapbox客户端",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1660,
        1780
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1004958a-2918-4a26-a545-85e8efe71985",
      "name": "Mapbox距离",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1980,
        1660
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c194340b-529a-4caf-98ab-332628f7312f",
      "name": "记录点",
      "type": "n8n-nodes-base.set",
      "position": [
        1520,
        1780
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "cf380322-ef9d-454e-9365-4bda97c568ae",
      "name": "触发Mapbox",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1380,
        1780
      ],
      "webhookId": "3195faed-68be-4a7e-8bc9-c5e80c5794d7",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "fec40aa3-cd85-4c03-8148-e517588f7e12",
      "name": "计算配送",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1360,
        1300
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "a05be50c-3337-4fa0-83ac-96543161e7c1",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1340,
        1640
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "d41d81be-c1d4-4812-a919-845bb017a481",
      "name": "CPF存在",
      "type": "n8n-nodes-base.if",
      "position": [
        3440,
        1760
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "9b6b3b64-6f85-4fdf-a0b0-7d110450d93f",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3260,
        1640
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "24277a69-41a3-45e3-a107-33b079e3f46b",
      "name": "响应CPF2",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3940,
        1660
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "fac9f571-1c12-49b9-ab77-6fc65e813b85",
      "name": "响应CPF3",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3940,
        1800
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "0ded31dc-8723-4077-afb1-565660b96d2e",
      "name": "检查邮政编码",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        2080,
        1160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "39e2aeb6-a44e-43f2-8d94-7642fd6b27c8",
      "name": "发送WhatsApp图片",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1600,
        1160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f9017bd8-abc8-470d-800d-65d9517721f6",
      "name": "发送Evolution图片",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1480,
        1160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "92e73560-eba2-4267-a86c-1365fda87085",
      "name": "便签 15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2420,
        1640
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "0681550a-76b0-4f4f-9b2f-86e58f12b1a8",
      "name": "发送图片",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2460,
        1740
      ],
      "webhookId": "e0b631ce-6925-44f3-af9c-a26f9c624618",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "14b22334-9be6-447d-93ce-75fd752650a1",
      "name": "Evolution图片",
      "type": "n8n-nodes-evolution-api.evolutionApi",
      "onError": "continueErrorOutput",
      "position": [
        2740,
        1740
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2df8c6b3-08f6-4114-8c2f-5ebea1f3a20c",
      "name": "设置Evolution字段",
      "type": "n8n-nodes-base.set",
      "position": [
        2600,
        1740
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f81293ce-5bd7-425f-9098-53813fd12a7d",
      "name": "图片响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3060,
        1700
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e77e5fda-214d-4961-9db5-8abba054f5c0",
      "name": "图片错误响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2920,
        1820
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "deed0c55-8e7d-4a23-8eae-7dc07bd80b8f",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        2920,
        1700
      ],
      "webhookId": "6f60f69e-c4f8-4193-b4a2-010c54dbb7a3",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e48ea6a5-1d78-459d-a6bb-b3617d610230",
      "name": "AI代理产品",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2600,
        2080
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "9ff945e0-82d9-4ab3-8ef3-b4adf36087c7",
      "name": "模型20",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2920,
        2180
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "40ecf685-6681-4a2b-9140-01d8b0625a0d",
      "name": "计算器1",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        3040,
        2180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d055914e-766b-4d1b-bbcf-be4e39428c4e",
      "name": "便签20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2420,
        1980
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "b56c32b3-7882-40a9-b7dd-4e94ce927d6f",
      "name": "检查邮政编码",
      "type": "n8n-nodes-base.function",
      "position": [
        3640,
        2020
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dd44b254-1812-4369-8c57-f9991edec27c",
      "name": "CPF",
      "type": "n8n-nodes-base.webhook",
      "position": [
        3300,
        1760
      ],
      "webhookId": "4ca43045-7d19-4795-92f5-b822d7031083",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1f93de72-acec-42a0-a444-99d64442d8fa",
      "name": "CEP",
      "type": "n8n-nodes-base.webhook",
      "position": [
        3300,
        2100
      ],
      "webhookId": "4ca43045-7d19-4795-92f5-b822d7031083",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "003042d6-0768-43c0-a1d8-ca51a6fcbddf",
      "name": "响应CEP",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3940,
        2000
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "516661f2-5c9f-4994-8b14-a4a292e45130",
      "name": "CEP存在",
      "type": "n8n-nodes-base.if",
      "position": [
        3440,
        2100
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "51a4eacb-863d-4913-9906-8843ee7e00f3",
      "name": "验证CPF",
      "type": "n8n-nodes-base.function",
      "position": [
        3640,
        1680
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b1b5acb0-cb35-4fb0-a95f-70e69c897996",
      "name": "CPF有效",
      "type": "n8n-nodes-base.if",
      "position": [
        3780,
        1680
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "b8313a7c-8258-479b-b8da-6f0d304665e0",
      "name": "便签21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3260,
        1980
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "582b7ba4-a18e-4753-80a6-951d832402ff",
      "name": "响应CEP错误",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3940,
        2140
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d4773fef-ad68-447f-a34e-baec8d45f9b5",
      "name": "CEP有效",
      "type": "n8n-nodes-base.if",
      "position": [
        3780,
        2020
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "30badbf2-e1b4-4391-8a31-2a5e91f8482c",
      "name": "便签 7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        1480
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "4554ab07-9a83-408e-8bec-0f6256f38d58",
      "name": "删除旧文档行",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1880,
        2460
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "35297d4d-331a-4334-96c9-b1333d62a642",
      "name": "下载文件",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2240,
        2760
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 3
    },
    {
      "id": "56fcb5cc-d184-49b0-a455-cb8df50481ec",
      "name": "条件判断",
      "type": "n8n-nodes-base.if",
      "onError": "continueRegularOutput",
      "position": [
        1720,
        2460
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "9d2a4cb2-450e-436a-a449-9ce0927014aa",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2600,
        2660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dda7b823-11be-4136-995c-97ae4d5e3b1f",
      "name": "遍历项目1",
      "type": "n8n-nodes-base.summarize",
      "position": [
        2740,
        2660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1743663d-5636-4853-a0ff-648a8039b32e",
      "name": "删除文件1",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2600,
        2800
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "65f7456b-0031-45df-84c0-ba3360dfb279",
      "name": "文件已更新",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        1400,
        2460
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9f0894d3-9e76-4061-9dcb-ba33c8486925",
      "name": "限制",
      "type": "n8n-nodes-base.limit",
      "position": [
        1580,
        2680
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "767c17a4-4647-4e32-b839-7983d598b48e",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2060,
        2620
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "55239adb-11c7-42d6-84ba-4821367143bd",
      "name": "定义ID",
      "type": "n8n-nodes-base.set",
      "position": [
        1580,
        2460
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c409461d-20bc-4a12-8a2e-a6c59acb8264",
      "name": "消息",
      "type": "n8n-nodes-base.set",
      "position": [
        280,
        1380
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "6ceb61b9-b92a-4a53-9be5-75b904a10814",
      "name": "过滤器",
      "type": "n8n-nodes-base.filter",
      "position": [
        120,
        1380
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "be524b3c-0514-4599-966a-411ddd429b5b",
      "name": "模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -260,
        1620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "14cd766f-20a7-408a-bac8-7f0b6df68d25",
      "name": "开始时间",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -680,
        1000
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "62f1c33f-44ff-47a5-a333-2c1de37d9b02",
      "name": "日期和时间1",
      "type": "n8n-nodes-base.code",
      "position": [
        120,
        1080
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "36808c9a-dcd6-4e15-9010-77f65385fea2",
      "name": "JSON历史3",
      "type": "n8n-nodes-base.code",
      "position": [
        420,
        1620
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "76f9d08d-6ea0-444d-98c0-c8700654a2a2",
      "name": "跟进我",
      "type": "n8n-nodes-base.if",
      "position": [
        -60,
        1020
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "7787db9c-2c71-438e-a552-b664636717c0",
      "name": "循环",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -360,
        960
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "5e63164d-9463-44ca-ab47-09db8ef3e1ae",
      "name": "保存历史2",
      "type": "n8n-nodes-base.supabase",
      "position": [
        560,
        1620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9846039b-5753-496e-b7e0-01ad540d8d14",
      "name": "24小时",
      "type": "n8n-nodes-base.filter",
      "position": [
        -440,
        1520
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "70b1da90-b011-426e-85be-85beaac40f77",
      "name": "10分钟",
      "type": "n8n-nodes-base.filter",
      "position": [
        -440,
        1280
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "25a0b2db-a0ed-4e2e-a052-2397b7937948",
      "name": "便签24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        880
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "23a74be1-b682-44dd-ad6b-975bf988820b",
      "name": "便签23",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1340,
        2320
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "8070b40d-a38f-4cc8-a11c-95b9683dacd4",
      "name": "切换类型",
      "type": "n8n-nodes-base.switch",
      "position": [
        2240,
        2480
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "9be81e2d-d8ed-42b5-9bc4-b5aa41116bef",
      "name": "提取 PDF 文本",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        2460,
        2380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "39bbaadd-ab48-4adb-9db4-271be363b81c",
      "name": "从文本文件提取",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        2460,
        2520
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "0a452e10-c2da-4d5f-ac83-54858368854c",
      "name": "从Excel提取",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        2460,
        2660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4d6891c5-ef2d-4b65-aacc-768f4ab1395a",
      "name": "转换为Google文档",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2460,
        2800
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "10dd08f3-00d6-4ea1-80e0-588f187317a1",
      "name": "嵌入AI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        2900,
        2700
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "484babaf-d2f8-4842-805c-17205ed19657",
      "name": "递归字符",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        3040,
        2700
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8832a4da-b3d8-4ff2-b2fa-af23ed657872",
      "name": "更新RAG数据",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        2900,
        2380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5b723223-6c87-4f02-9481-bb6d27e21209",
      "name": "增强默认",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        2940,
        2560
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ed5f128d-0af9-4e1f-8620-ddac6e871a69",
      "name": "设置文件版本",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1720,
        2680
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "5ef29f70-66d7-4914-83f6-ffe7cbbc9262",
      "name": "计算6301",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        1800,
        2820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3eb206db-11c7-4f7a-9fb0-204671eed454",
      "name": "n8n聊天历史",
      "type": "@n8n/n8n-nodes-langchain.toolVectorStore",
      "position": [
        2420,
        1300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c8cb61dd-4a7d-484b-8268-a2a8a93c6cce",
      "name": "指令",
      "type": "@n8n/n8n-nodes-langchain.toolVectorStore",
      "position": [
        2420,
        1160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "909c20a8-8192-478a-97e2-87fd15b964f9",
      "name": "Supabase指令",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        2740,
        1160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c365945a-e5ff-4bed-9d3a-176f19bbb992",
      "name": "模型B2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3200,
        1160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "981cea44-e726-4a9c-a93d-bba0a352467e",
      "name": "模型B3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3080,
        1300
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "2a678f76-a289-4927-a8cb-866adb157fd0",
      "name": "嵌入02",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        3080,
        1160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "dc86b1a2-3d7e-404c-85a1-c2a8aeb54b99",
      "name": "嵌入03",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        3200,
        1300
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "0c4cb6e6-189e-438f-a17b-e00e20feff65",
      "name": "便签26",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2360,
        1080
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "96899520-bf24-47e0-b0be-ef6023b09229",
      "name": "便签27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        480
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "012a263b-ab1e-4ea3-9c45-ffcca3713130",
      "name": "## 为什么选择 4o 模型?👆",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        1080
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "707037f3-65fd-4fd7-8d08-16c39fe26ea7",
      "name": "SB n8n聊天历史",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        2740,
        1300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5451471a-f098-4ece-a263-f878d98839c5",
      "name": "跟进搜索",
      "type": "n8n-nodes-base.supabase",
      "position": [
        -540,
        1000
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6bf79f47-6562-47a7-b942-08f6d18ef5b7",
      "name": "个人跟进",
      "type": "n8n-nodes-base.supabase",
      "position": [
        -200,
        1020
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "658b5786-0b8d-472a-906f-dba30eb0079e",
      "name": "映射跟进",
      "type": "n8n-nodes-base.set",
      "position": [
        260,
        1080
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "afb26a21-ca35-4a37-9d2b-6f25a8ddce1f",
      "name": "计算时间",
      "type": "n8n-nodes-base.code",
      "position": [
        -640,
        1420
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "33403b00-369c-4166-9095-79708ec2a5f6",
      "name": "便签28",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1740,
        240
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "d744dda6-30bf-4527-8b73-de53f02eb3b8",
      "name": "便签29",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        360
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "41439b13-bf5a-454a-a5f7-340d3e8012a6",
      "name": "2小时",
      "type": "n8n-nodes-base.filter",
      "position": [
        -440,
        1400
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "5f9dfef8-a15e-47c8-93ab-4bf2df3a2dcc",
      "name": "便签30",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        1220
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "85932354-e798-40d4-b515-910fa01dd14d",
      "name": "计算201",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        -60,
        1620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "88480d2a-c008-473c-b510-3819f4d58aef",
      "name": "内存50",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "position": [
        -160,
        1640
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "795a5324-edb1-4a96-96b8-739338cc7d62",
      "name": "固定凭证1",
      "type": "n8n-nodes-base.set",
      "position": [
        560,
        1440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "07d4c218-3425-4d91-809c-5020d972443f",
      "name": "便签31",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        1380
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "cf080b62-841c-4ad6-9fab-98958a35bc8a",
      "name": "发送Instagram1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        940,
        1240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ac90a45d-ac61-483b-9cc9-d56881141375",
      "name": "发送Facebook1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        940,
        1380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "6fea2746-f535-47fd-aa9f-30a8f0f6c391",
      "name": "发送Evolution1",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        940,
        1660
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 5000
    },
    {
      "id": "b3a8f9cd-4286-4a75-8216-23230e27e66d",
      "name": "发送WhatsApp1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        940,
        1520
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1b95938d-c1e3-4e47-a60a-98f30d503438",
      "name": "通过Evolution发送1",
      "type": "n8n-nodes-base.filter",
      "position": [
        800,
        1660
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "000e518a-61d0-45d6-8e70-fa8a7d0fdfc8",
      "name": "通过Instagram发送1",
      "type": "n8n-nodes-base.filter",
      "position": [
        800,
        1240
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2e23812d-99da-457c-b675-08f3fee299b1",
      "name": "通过Facebook发送1",
      "type": "n8n-nodes-base.filter",
      "position": [
        800,
        1380
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "07102c21-148c-4c0f-80d5-0ffc5d52dacb",
      "name": "通过WAAPI发送1",
      "type": "n8n-nodes-base.filter",
      "position": [
        800,
        1520
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "3ba4db3d-e881-486a-baed-3e0fcce5d634",
      "name": "72小时",
      "type": "n8n-nodes-base.filter",
      "position": [
        -440,
        1640
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 2
    },
    {
      "id": "ad882df6-7b5d-4530-ade5-8cd344612525",
      "name": "SB历史",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        80,
        1660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1a04bb3f-209c-4d10-a3b8-37429d458dc0",
      "name": "AI代理跟进",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -220,
        1380
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "34347681-3863-4c11-9536-feff0a86c3b9",
      "name": "跟进数量",
      "type": "n8n-nodes-base.code",
      "position": [
        280,
        1620
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "7a793fdd-3452-4fb7-9811-adf90af43a75",
      "name": "无操作",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1120,
        1460
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3238a31c-fa84-4aab-84e1-ba010b43dd5a",
      "name": "无操作1",
      "type": "n8n-nodes-base.noOp",
      "position": [
        120,
        920
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3775678c-59ae-4d8c-a0e3-97de58b43c3b",
      "name": "创建带参与者的活动",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        4000,
        2820
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "a68435dc-087d-4a00-8cf9-0e1d2a92d3d6",
      "name": "创建事件",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        3880,
        2820
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "6f14a9b6-6f5d-4fca-ac60-f8075c40d01f",
      "name": "获取活动",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        3760,
        2820
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "eca3f313-8376-48d9-9235-2d0a3c0202ba",
      "name": "删除活动",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        3640,
        2820
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "4176fe1b-e4bd-4c5c-a539-508c8fbae8fc",
      "name": "更新活动",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        3520,
        2820
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "9aab244f-9383-4603-8e0c-69895dea8113",
      "name": "聊天模型9",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3280,
        2820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f3bc434a-f2ec-4000-8d5d-4356b6d891fa",
      "name": "已安排",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3920,
        2380
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "0adfa544-f263-45f8-95f0-bbf5cd434115",
      "name": "重试",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3920,
        2520
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "105fb26a-4ffe-4710-9c17-a71583f4eab5",
      "name": "日历代理AI",
      "type": "n8n-nodes-base.webhook",
      "position": [
        3340,
        2480
      ],
      "webhookId": "09d4752e-c891-40a8-bea6-06089ac83d2a",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "11c53081-ac3d-46d0-854a-0024aea4478d",
      "name": "更新会议链接",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        3400,
        2820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3813c3de-ba99-4de5-8582-c7e5465e88f4",
      "name": "便签32",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3260,
        2320
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "e90ebee5-0c98-4132-89f8-50a4e79e6f10",
      "name": "calendarAgent",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1360,
        1160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "07c72b93-a78b-445c-a6e5-00653c6406fc",
      "name": "检查库存",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2460,
        2080
      ],
      "webhookId": "395dfd00-e95e-4693-983b-a50baff6b96a",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "813215a8-e723-4586-9d6a-74fb01aeedae",
      "name": "库存查询",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1480,
        1300
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "8880fa4f-8b39-4ab2-a9e7-60fabf30c8f4",
      "name": "响应库存",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3060,
        2020
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e2399a71-6433-40ea-a3d4-a4079eaccc59",
      "name": "日历代理AI1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "onError": "continueErrorOutput",
      "position": [
        3540,
        2460
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "799b9df8-2a46-4a10-85bd-296519049456",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2900,
        180
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "9d57eb58-c56c-42e8-80e1-383f408cba2e",
  "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
          }
        ]
      ]
    },
    "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
          }
        ]
      ]
    },
    "ChatModel9": {
      "ai_languageModel": [
        [
          {
            "node": "CalendarAgentAI1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Data&Hora1": {
      "main": [
        [
          {
            "node": "Map FollowUP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Definir ID": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Events": {
      "ai_tool": [
        [
          {
            "node": "CalendarAgentAI1",
            "type": "ai_tool",
            "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
          }
        ]
      ]
    },
    "Check Stock": {
      "main": [
        [
          {
            "node": "AI Agent Products",
            "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
          }
        ]
      ]
    },
    "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
          }
        ]
      ]
    },
    "stock_query": {
      "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
          }
        ]
      ]
    },
    "Create Event": {
      "ai_tool": [
        [
          {
            "node": "CalendarAgentAI1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete Event": {
      "ai_tool": [
        [
          {
            "node": "CalendarAgentAI1",
            "type": "ai_tool",
            "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
          }
        ]
      ]
    },
    "SB Historico": {
      "ai_tool": [
        [
          {
            "node": "AI Agent FollowUP",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update Event": {
      "ai_tool": [
        [
          {
            "node": "CalendarAgentAI1",
            "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
          }
        ]
      ]
    },
    "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
          }
        ]
      ]
    },
    "calendarAgent": {
      "ai_tool": [
        [
          {
            "node": "Best Agent AI",
            "type": "ai_tool",
            "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
          }
        ]
      ]
    },
    "CalendarAgentAI": {
      "main": [
        [
          {
            "node": "CalendarAgentAI1",
            "type": "main",
            "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
          }
        ]
      ]
    },
    "CalendarAgentAI1": {
      "main": [
        [
          {
            "node": "Agendado",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "TryAgain",
            "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 File Version": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update_meet_link": {
      "ai_tool": [
        [
          {
            "node": "CalendarAgentAI1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent FollowUP": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent Products": {
      "main": [
        [
          {
            "node": "Respond stock",
            "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
          }
        ]
      ]
    },
    "Create Event with Attendee": {
      "ai_tool": [
        [
          {
            "node": "CalendarAgentAI1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 销售, 构建模块, 人工智能, 营销

需要付费吗?

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

工作流信息
难度等级
高级
节点数量244
分类4
节点类型41
难度说明

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

分享此工作流