宠物店 4
高级
这是一个AI领域的自动化工作流,包含 187 个节点。主要使用 If、Set、Code、Wait、Merge 等节点,结合人工智能技术实现智能自动化。 🐶 宠物店预约 AI 代理
前置要求
- •Redis 服务器连接信息
- •HTTP Webhook 端点(n8n 会自动生成)
- •PostgreSQL 数据库连接信息
- •Supabase URL 和 API Key
- •Google 账号和 Gmail API 凭证
- •Google Drive API 凭证
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
- •OpenAI API Key
使用的节点 (187 个)
If
Set
Code
NoOp
Wait
Merge
Redis
Crypto
Switch
Webhook
DateTime
Postgres
SplitOut
Supabase
Aggregate
GmailTool
Summarize
StickyNote
GoogleDrive
HttpRequest
GoogleSheets
SupabaseTool
ConvertToFile
SplitInBatches
Agent
ExtractFromFile
ScheduleTrigger
OpenAi
GoogleSheetsTool
ChainLlm
GoogleCalendarTool
GoogleDriveTrigger
EvolutionApi
LmChatOpenAi
ToolWorkflow
TextClassifier
ToolCalculator
ToolVectorStore
EmbeddingsOpenAi
MemoryPostgresChat
VectorStoreSupabase
OutputParserStructured
DocumentDefaultDataLoader
TextSplitterCharacterTextSplitter
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "qkbME9ia6ed2hC9Z",
"meta": {
"instanceId": "af2c2dce58b7b891043a58fa084cb85b78cc3ee626cfa19de4b473f0aab51bb8",
"templateCredsSetupCompleted": true
},
"name": "宠物店 4",
"tags": [
{
"id": "qGTF4CtYeaHykAyz",
"name": "N8N Labz",
"createdAt": "2025-02-07T01:01:15.822Z",
"updatedAt": "2025-02-07T01:01:15.822Z"
},
{
"id": "rjRS6mgb9Vdt0qC6",
"name": "petshop",
"createdAt": "2025-02-13T18:25:16.485Z",
"updatedAt": "2025-02-13T18:25:16.485Z"
}
],
"nodes": [
{
"id": "7aef53f6-912d-4a9b-a64f-03634ee8aa2c",
"name": "OpenAI 聊天模型1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-20,
1880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "128d34bf-6379-4b88-a979-3290a57d670b",
"name": "默认数据加载器",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
-660,
1960
],
"parameters": {},
"typeVersion": 1
},
{
"id": "49d544df-a6da-4f2b-be95-e636a8ee3c38",
"name": "OpenAI 嵌入1",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
-780,
1960
],
"parameters": {},
"typeVersion": 1
},
{
"id": "085be506-e759-4017-8dcb-287dd5447ea5",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
2020
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8cf1846e-2882-43ab-8187-8b2823f37752",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2660,
1460
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0a9638d8-6441-4ad5-b08c-12fa4fe45320",
"name": "下载文件",
"type": "n8n-nodes-base.googleDrive",
"position": [
-1700,
1740
],
"parameters": {},
"executeOnce": true,
"typeVersion": 3
},
{
"id": "6e08488d-97f1-43bc-ac51-33a95b87a297",
"name": "文件已创建",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-2600,
1680
],
"parameters": {},
"typeVersion": 1
},
{
"id": "37b1af28-98ff-41db-801e-4435198ef559",
"name": "文件已更新",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-2600,
1880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e6ce501e-0946-4646-b021-e9fc4c199bed",
"name": "提取文档文本",
"type": "n8n-nodes-base.extractFromFile",
"position": [
-1120,
1940
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "84c9c02d-1cfa-4ac6-b112-343ca37b4295",
"name": "OpenAI 嵌入",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
-320,
2000
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4b8edf0e-7b2b-47a3-b5f9-3c61ea4910ca",
"name": "设置文件ID",
"type": "n8n-nodes-base.set",
"position": [
-2420,
1720
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "3c9c7b3b-89d4-4b7c-8207-8c41351a0160",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-340,
820
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "40e666c8-28fe-4a97-82f2-53f91fa6bc1b",
"name": "提取PDF文本",
"type": "n8n-nodes-base.extractFromFile",
"position": [
-1120,
1560
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b7c63f7f-6ded-482a-ba7a-d8f156b8db3a",
"name": "Aggregate",
"type": "n8n-nodes-base.aggregate",
"position": [
-960,
1740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "35fa16ad-9791-4d6a-9c2d-6abc8a5e60e3",
"name": "字符文本分割器",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"position": [
-580,
2100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "29c8d56b-6566-426f-820b-b99e69a3105d",
"name": "总结",
"type": "n8n-nodes-base.summarize",
"position": [
-820,
1740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "aead3d50-25d5-4d24-aa19-66fed8bf43e1",
"name": "切换",
"type": "n8n-nodes-base.switch",
"position": [
-1520,
1740
],
"parameters": {},
"typeVersion": 3
},
{
"id": "3be02a63-102f-4526-87b7-e409edf332e8",
"name": "插入到Supabase向量存储",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
-700,
1740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9b3eb528-91cc-4943-a1fe-f167ecaf29b7",
"name": "Supabase 向量存储",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
-320,
1880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d67aff28-b8af-4f67-8cce-f2bac36edc41",
"name": "从Excel提取",
"type": "n8n-nodes-base.extractFromFile",
"position": [
-1120,
1740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "bf94ece5-e892-464a-a0c7-d6dba4eab9a2",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-360,
800
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "38f1776f-0086-4ee6-8176-73b98c93461d",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-360,
1740
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b0d6462a-cd7b-4a95-890c-f9a0fb8e90c9",
"name": "### 需要帮助?",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2680,
1440
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ab821bf7-7a98-4a1c-926d-ed652effc050",
"name": "便签 12",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2660,
2140
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "962b1409-d3da-4bfb-bc2d-b990b63e00cb",
"name": "便签10",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2640,
1580
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "20d476ed-6d15-438d-bb17-bc5869e66d63",
"name": "便签15",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
1620
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fda7f5c4-e300-46b7-acea-ffbf000fff5f",
"name": "便签16",
"type": "n8n-nodes-base.stickyNote",
"position": [
-360,
1440
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "dab8a856-404f-4b3b-8d93-a5c3c31a9496",
"name": "Redis",
"type": "n8n-nodes-base.redis",
"position": [
-1260,
1100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fb435055-406b-422d-abc7-e086e89222f0",
"name": "等待",
"type": "n8n-nodes-base.wait",
"disabled": true,
"position": [
-1100,
1100
],
"webhookId": "4733f6d8-c72c-4e5a-ba09-7596f004fa79",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "01e992d1-18c5-460f-a05e-785cad3ae6c5",
"name": "Redis1",
"type": "n8n-nodes-base.redis",
"position": [
-940,
1100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "487e44b5-d388-467c-bfae-efed91966a38",
"name": "如果",
"type": "n8n-nodes-base.if",
"position": [
-800,
1100
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "d42ba492-bdc6-4a9a-bae7-b5ae2a332a8d",
"name": "无操作,不执行任何操作",
"type": "n8n-nodes-base.noOp",
"position": [
-640,
1180
],
"parameters": {},
"typeVersion": 1
},
{
"id": "40ceda22-5994-4b39-a5a3-1e868fb7e0f8",
"name": "编辑字段1",
"type": "n8n-nodes-base.set",
"position": [
-640,
1000
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "5ea6b5dc-eb63-4484-8156-3a0f440a1cd7",
"name": "Redis2",
"type": "n8n-nodes-base.redis",
"position": [
-500,
1000
],
"parameters": {},
"typeVersion": 1
},
{
"id": "84b5fd32-4900-45da-954e-ff3fd7b3258e",
"name": "转换为文件",
"type": "n8n-nodes-base.convertToFile",
"position": [
-1980,
1100
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "02d2498a-f3b9-4ea9-9354-ceb2ea1c0461",
"name": "编辑字段",
"type": "n8n-nodes-base.set",
"position": [
-2140,
1100
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4842e9ec-0131-4e8c-b1a4-b31f6f90e383",
"name": "转换为文件1",
"type": "n8n-nodes-base.convertToFile",
"position": [
-1960,
1260
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "fd103353-9efc-41d4-a905-6668f2c37d30",
"name": "编辑字段3",
"type": "n8n-nodes-base.set",
"position": [
-2140,
1260
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "079cc821-b92d-42f9-bddf-4fd3814b312a",
"name": "如果3",
"type": "n8n-nodes-base.if",
"position": [
-1620,
1260
],
"parameters": {},
"typeVersion": 2
},
{
"id": "2ba2d4d2-a54e-4e5a-a5a4-229f0d010a21",
"name": "Redis3",
"type": "n8n-nodes-base.redis",
"position": [
-1420,
940
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fe700785-8dc1-4c0c-9be0-f60aacce0b88",
"name": "Redis4",
"type": "n8n-nodes-base.redis",
"position": [
-1420,
1260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "afcec7fc-9fb0-4885-8ddd-be099a1e0d3a",
"name": "Redis5",
"type": "n8n-nodes-base.redis",
"position": [
-1420,
1100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0b52af22-bfbc-4962-9956-56c32137f799",
"name": "编辑字段4",
"type": "n8n-nodes-base.set",
"position": [
-2140,
940
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "920554a9-276f-4d49-821c-4bd254470fd7",
"name": "OpenAI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-1800,
1100
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "56fc468a-28d9-43bb-b107-d3ab7638f64d",
"name": "OpenAI1",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-1800,
1260
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "af5ce1cd-c852-467f-8f65-92b4c84b213d",
"name": "Supabase",
"type": "n8n-nodes-base.supabase",
"position": [
-3160,
1160
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "e10e102f-e2da-44db-9bd2-ce87059d32ca",
"name": "条件判断1",
"type": "n8n-nodes-base.if",
"position": [
-3000,
1160
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "49a449da-65d0-46ec-b57a-214b409a93dc",
"name": "生成会话ID",
"type": "n8n-nodes-base.crypto",
"position": [
-2800,
1260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7b4d2dce-9a6a-475e-9d18-d9efe06892f8",
"name": "Supabase1",
"type": "n8n-nodes-base.supabase",
"position": [
-2660,
1260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0666ab36-aae3-497e-9a74-780f575a1f14",
"name": "开关1",
"type": "n8n-nodes-base.switch",
"position": [
-2340,
1060
],
"parameters": {},
"typeVersion": 3
},
{
"id": "a89f0f87-fde8-432c-b433-662a225c0c48",
"name": "OpenAI3",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
700,
520
],
"parameters": {},
"typeVersion": 1
},
{
"id": "698e6e8b-a2c1-456f-a747-a7c7d325819b",
"name": "遍历项目3",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1120,
360
],
"parameters": {},
"typeVersion": 3
},
{
"id": "695dec23-e032-4ba1-be6c-c1c8b418a28d",
"name": "输出解析器1",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
820,
520
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e9eec569-15d3-463b-a691-f0c967ca72e7",
"name": "解析器链",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"onError": "continueRegularOutput",
"position": [
660,
360
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "1a6897a6-99bc-4d30-9c58-1ba9ef57128b",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1460,
820
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e9a1dddb-9d28-4b70-ad90-4d3843276c6c",
"name": "便签17",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1480,
800
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "dc78a24a-d225-4627-a245-20329b171ef1",
"name": "便签18",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "61f3d830-8b62-462a-9345-ab15541bdb03",
"name": "便签19",
"type": "n8n-nodes-base.stickyNote",
"position": [
500,
100
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8ed217a4-b45d-4e28-a167-78ac41e296d5",
"name": "便签20",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2380,
800
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ed44a42a-9a19-4b70-bd6b-9e85e524063f",
"name": "便签21",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2360,
820
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "803ba230-9f3a-417e-ace5-47a9944d655f",
"name": "便签22",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3220,
980
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "9dbe5c54-38de-453f-b457-e1594105a9b2",
"name": "便签23",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3200,
1000
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f4f4cf5f-bb17-4337-af5f-9c3c9cbd083f",
"name": "分支3",
"type": "n8n-nodes-base.switch",
"position": [
320,
860
],
"parameters": {},
"typeVersion": 3
},
{
"id": "0a46fefb-1f40-432c-bc22-751d650cdec8",
"name": "音频-Base64-从文件提取",
"type": "n8n-nodes-base.extractFromFile",
"position": [
940,
780
],
"parameters": {},
"typeVersion": 1
},
{
"id": "12b3ab94-9447-4e05-a3d4-c80538fdacc2",
"name": "ElevenLabs生成语音",
"type": "n8n-nodes-base.httpRequest",
"position": [
740,
780
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "93f0d08c-1d98-4a67-8ad8-b03072f71e0a",
"name": "便签24",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
660
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "98547873-9c70-4ad7-84a8-f6bb9f049fce",
"name": "便签25",
"type": "n8n-nodes-base.stickyNote",
"position": [
500,
680
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a81ac45e-23d8-4f34-a7ec-ff76f305b503",
"name": "便签26",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4400,
980
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1a72aaef-050b-43e9-a25f-e8ee76c92634",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-260,
1200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1357b777-7213-44a4-a716-38ef22d21cf9",
"name": "代码1",
"type": "n8n-nodes-base.code",
"position": [
-2540,
1100
],
"parameters": {},
"typeVersion": 2
},
{
"id": "39d3038f-7fc3-4742-8507-c7b93b9d5001",
"name": "客服",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-140,
1000
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 1.6
},
{
"id": "448ca341-389f-4b74-b5a6-84c538d96f27",
"name": "便签31",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3940,
760
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "cc8a3fc5-a5d9-4794-a9d0-90c82e74ea3c",
"name": "便签33",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2640,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8c0621ed-9e26-4150-9287-f40e27eb3877",
"name": "遍历项目",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-1880,
1720
],
"parameters": {},
"typeVersion": 3
},
{
"id": "cc6c390a-fc0b-48d5-9858-69277566ea69",
"name": "便签37",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2900,
760
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "619ea7d7-f714-437c-bce1-743626c3bf5f",
"name": "Postgres 聊天记忆",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
-100,
1200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "461ec6a3-737e-4a38-8885-c3c6c5bc3b1c",
"name": "切换块1",
"type": "n8n-nodes-base.switch",
"position": [
-3760,
1260
],
"parameters": {},
"typeVersion": 3
},
{
"id": "5f77c558-f29a-440b-9592-429aaff247db",
"name": "切换5",
"type": "n8n-nodes-base.switch",
"position": [
-4140,
1160
],
"parameters": {},
"typeVersion": 3
},
{
"id": "f5effabe-c408-4bd7-9d28-1a3084f6e6f1",
"name": "Webhook EVO",
"type": "n8n-nodes-base.webhook",
"position": [
-4920,
1200
],
"webhookId": "51a23d5e-4849-4931-84b5-52c29cca0ecf",
"parameters": {},
"typeVersion": 2
},
{
"id": "876adac0-57af-4c63-8b25-ee213591a402",
"name": "人工客服数据",
"type": "n8n-nodes-base.set",
"position": [
-4300,
1160
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "e801de2a-3fec-4bf3-aac5-9ac05ffb1a34",
"name": "停止ISIS",
"type": "n8n-nodes-base.redis",
"position": [
-3940,
1100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e5096cf0-c7c6-44e6-9ada-bdcc3069d346",
"name": "Sticky Note41",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4380,
1000
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "550635f5-65b0-43de-99e2-b00232a2aee1",
"name": "Sticky Note42",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3600,
980
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f83ec582-23dd-4db5-8154-1561324dfd9f",
"name": "Sticky Note43",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3580,
1000
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "17ecb991-ce54-411f-98ad-cc3aa5a6efb5",
"name": "验证人工客服",
"type": "n8n-nodes-base.redis",
"position": [
-3940,
1240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1bb2c6b9-0de9-4112-9758-b1a180c1e7be",
"name": "分支2",
"type": "n8n-nodes-base.switch",
"position": [
200,
1040
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "06371388-8acb-48d7-94a8-ec1f2cb37337",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
720,
1140
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "0537f9ec-4fd5-4ad0-bec4-7fff11736693",
"name": "OpenAI 聊天模型2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
960,
1300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "99e38bbf-3c91-4307-abb5-5a71837bfde7",
"name": "便签44",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
980
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "763aaa35-0e3a-4cb3-9f86-0a1516343bea",
"name": "便签45",
"type": "n8n-nodes-base.stickyNote",
"position": [
500,
1000
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "79ce94ac-f315-40d7-9286-35b1d42cdc47",
"name": "计划触发器1",
"type": "n8n-nodes-base.scheduleTrigger",
"disabled": true,
"position": [
-3740,
2160
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a7a6a361-248f-41f5-ac80-e37330789b9a",
"name": "等待1",
"type": "n8n-nodes-base.wait",
"position": [
-2880,
2140
],
"webhookId": "002b2a59-1583-4180-b391-6f3855c229c6",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "05766068-b927-4025-abde-955fb9c29f6a",
"name": "Loop Over Items1",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-3380,
2160
],
"parameters": {},
"typeVersion": 3
},
{
"id": "4a34f4ff-c450-4e37-8a14-584251e55c94",
"name": "便签46",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3780,
1980
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3f6989ca-0375-423a-a2fd-d7e68f5e8b3c",
"name": "Sticky Note47",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3760,
2000
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7a44c625-c997-4061-b620-3aeed439c4d5",
"name": "N8N Labz YT",
"type": "n8n-nodes-base.supabase",
"position": [
-2800,
1100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b978d254-9855-4a68-ae01-46d558255ba9",
"name": "Evolution API",
"type": "n8n-nodes-evolution-api.evolutionApi",
"position": [
1340,
380
],
"parameters": {},
"typeVersion": 1
},
{
"id": "83822093-c1d1-4a8a-aae8-2773cf80234c",
"name": "Evolution API1",
"type": "n8n-nodes-evolution-api.evolutionApi",
"position": [
560,
1140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "006cd5d6-f76c-469e-8b6f-c38ce42556e7",
"name": "Evolution API2",
"type": "n8n-nodes-evolution-api.evolutionApi",
"position": [
1020,
1140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ad944c53-94c4-40e9-818f-2bce39030f0c",
"name": "Evolution API3",
"type": "n8n-nodes-evolution-api.evolutionApi",
"position": [
1100,
780
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c9cdbc90-6be5-4393-a763-f9296764b740",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
-3560,
2160
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "6789b29d-b1f8-497f-9c4f-4956a8c7cfbd",
"name": "Evolution API4",
"type": "n8n-nodes-evolution-api.evolutionApi",
"position": [
-3020,
2140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d03db66a-6310-4768-ab9f-0e65e3a053b9",
"name": "合并1",
"type": "n8n-nodes-base.merge",
"position": [
1120,
-160
],
"parameters": {},
"typeVersion": 3
},
{
"id": "c0f2d1ae-850d-4988-8ce3-2534274a76d1",
"name": "如果4",
"type": "n8n-nodes-base.if",
"position": [
660,
-200
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "a624488b-e5bd-4af6-b9d2-92f3ffc53636",
"name": "便签54",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
-380
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "70d3dd57-6ef7-4d1c-ac30-332c0910abe9",
"name": "便签55",
"type": "n8n-nodes-base.stickyNote",
"position": [
500,
-360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "de6ca748-05f7-412e-b0e1-20fabf6ef686",
"name": "Evolution API5",
"type": "n8n-nodes-evolution-api.evolutionApi",
"position": [
680,
200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9acb6b7e-fb2c-4e14-ae94-dfd39572402a",
"name": "数据",
"type": "n8n-nodes-base.set",
"position": [
-3540,
1160
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ea965e3a-7c71-47f9-b09e-74f78b6dd684",
"name": "列出聊天-Supabase",
"type": "n8n-nodes-base.supabase",
"position": [
-4680,
1640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "75726ab1-f507-43d9-84d1-b1ac7c56cfc9",
"name": "列出消息-Supabase",
"type": "n8n-nodes-base.supabase",
"position": [
-4260,
1660
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "b5baf84f-26ad-4ecf-93b9-9b0b3ded1afb",
"name": "禁用消息-Supabase",
"type": "n8n-nodes-base.supabase",
"position": [
-2880,
1760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3a181a55-ac01-49d1-b64f-f8cbb62209f0",
"name": "设置配置",
"type": "n8n-nodes-base.set",
"position": [
-3160,
1460
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ffec372a-35d3-47ef-bf90-e0354ab2149a",
"name": "基础LLM链",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-3480,
1460
],
"parameters": {},
"typeVersion": 1.5
},
{
"id": "960af21f-d5c1-45c4-a2be-6bb32bb4017c",
"name": "文本分类器",
"type": "@n8n/n8n-nodes-langchain.textClassifier",
"position": [
-3800,
1660
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9330c5dd-2e7d-462a-b183-eab1f7e5c771",
"name": "聚合1",
"type": "n8n-nodes-base.aggregate",
"position": [
-4120,
1660
],
"parameters": {},
"typeVersion": 1
},
{
"id": "bd5b7566-a599-4736-8ad5-4e3034a09082",
"name": "代码4",
"type": "n8n-nodes-base.code",
"position": [
-3940,
1660
],
"parameters": {},
"typeVersion": 2
},
{
"id": "297310de-f9c5-4d28-9513-8a590ed0b2f1",
"name": "Supabase2",
"type": "n8n-nodes-base.supabase",
"position": [
-3160,
1640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8246944e-9882-48f8-914f-1c5e1d1b4279",
"name": "遍历项目2",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-4480,
1640
],
"parameters": {},
"typeVersion": 3
},
{
"id": "cf229161-4d24-4531-b703-69d8e2a33aef",
"name": "OpenAI 聊天模型4",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-3380,
1620
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2382e4ba-5c2d-4af3-8ae8-48f8cc9d3979",
"name": "等待2",
"type": "n8n-nodes-base.wait",
"position": [
-3020,
1760
],
"webhookId": "88302532-fa1b-4e15-b77a-e85dedce41a0",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "2f6f7fb7-46a4-4ec2-9d8f-b9cfdfc54e24",
"name": "便签58",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4880,
1440
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0b043a8e-80c2-450c-a707-d1c248c13bd8",
"name": "便签59",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4860,
1460
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d537e64b-4122-41c1-a168-0b649346d649",
"name": "Evolution API6",
"type": "n8n-nodes-evolution-api.evolutionApi",
"position": [
-3020,
1460
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ed606f1c-faa1-4de5-ae0c-afedd224f716",
"name": "OpenAI Chat Model3",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-3720,
1820
],
"parameters": {},
"typeVersion": 1
},
{
"id": "aab08ebe-8225-4d70-b33c-57846648fe99",
"name": "配置",
"type": "n8n-nodes-base.set",
"position": [
-340,
1000
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4c3470c4-4f5b-4898-ba98-04e2053906b2",
"name": "计算器",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
180,
1300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fe09abf1-c169-40b5-84fa-3955fe6dfc44",
"name": "删除事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
-80,
1480
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "c55dfb4d-3fd3-4506-aab6-6b3f682f08d7",
"name": "搜索事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
-320,
1480
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "f68f8df9-5b35-4be2-9b0a-5e404d4d63e9",
"name": "记录预约",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
320,
1480
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "8e12719f-0907-4f15-bee4-d93a3dd07549",
"name": "创建事件",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
-200,
1480
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "f1732634-fa1d-44dd-8a15-5fc5f8e7db23",
"name": "获取多个",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
40,
1480
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a7fb109b-a18c-47d0-8f3c-04c6787d61ff",
"name": "发送邮件",
"type": "n8n-nodes-base.gmailTool",
"position": [
160,
1480
],
"webhookId": "a0a0cc26-019f-4e8a-b137-a61c27efe89a",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "3671aebf-f990-45e5-84d4-94dca51c4ba2",
"name": "搜索信息",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"position": [
-240,
1760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "49689d18-bb53-4fd4-b206-8331297a68f3",
"name": "服务付款",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
680,
1480
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "73969413-304f-4a20-9715-600fc40f436e",
"name": "日期和时间1",
"type": "n8n-nodes-base.dateTime",
"position": [
-3360,
1160
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f29296bb-60b3-4af2-8151-cdbc493d1550",
"name": "搜索电话",
"type": "n8n-nodes-base.supabase",
"onError": "continueRegularOutput",
"position": [
520,
-200
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "0dd74ea0-b098-4149-a073-2eafa65f715e",
"name": "添加 CHAT supabase",
"type": "n8n-nodes-base.supabase",
"position": [
900,
-260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0f050ee2-fa10-4cca-935c-c0c11e15340e",
"name": "更新 CHAT Supabase",
"type": "n8n-nodes-base.supabase",
"position": [
900,
-100
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "d03e3268-7dcc-4783-85d1-e53d042c3f4f",
"name": "创建 Supabase 历史记录",
"type": "n8n-nodes-base.supabase",
"position": [
1300,
-160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "65057ee9-96d8-4c67-a192-cd1a83986b7c",
"name": "少于 240 个字符",
"type": "n8n-nodes-base.if",
"position": [
520,
280
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "9a4e9ab7-a0c4-47f9-9ec4-20aa02fbb39a",
"name": "消息分割",
"type": "n8n-nodes-base.splitOut",
"position": [
960,
360
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d2e0c280-2787-44e5-ab75-08e85030d9e3",
"name": "1 秒",
"type": "n8n-nodes-base.wait",
"position": [
1480,
380
],
"webhookId": "48d9eabe-321b-4602-a3f8-91508c54779a",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "ebae34e6-e5c6-4427-9d15-6291a96f02fc",
"name": "格式化消息为音频",
"type": "n8n-nodes-base.code",
"position": [
540,
780
],
"parameters": {},
"typeVersion": 2
},
{
"id": "3ee92bb6-c884-4e96-a391-0d4b60edfd52",
"name": "返回文件 ID",
"type": "n8n-nodes-base.code",
"position": [
-2060,
1720
],
"parameters": {},
"typeVersion": 2
},
{
"id": "8c975ae7-019c-4e5f-8f02-c8639f6fce89",
"name": "删除文档中的旧行",
"type": "n8n-nodes-base.supabase",
"position": [
-2260,
1720
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "729193ab-1ea6-4ebe-810c-58ff2c8be277",
"name": "格式化消息",
"type": "n8n-nodes-base.code",
"position": [
-3160,
2140
],
"parameters": {},
"typeVersion": 2
},
{
"id": "9348107c-b6a4-4342-b181-079e246367a7",
"name": "创建客户数据表",
"type": "n8n-nodes-base.postgres",
"position": [
-3360,
580
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "ff2f3b66-57c0-477b-869b-3b75f1e2fd34",
"name": "创建文档表",
"type": "n8n-nodes-base.postgres",
"position": [
-2840,
580
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "1b6d839a-995b-4ee5-8694-c1318df99481",
"name": "删除文档内容",
"type": "n8n-nodes-base.postgres",
"position": [
-2840,
780
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "4f7e92b2-746c-470a-9ecd-2a57cf32b73e",
"name": "Sticky Note40",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2640,
760
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6fc51ce6-ea6b-450d-98ca-316160a37ebf",
"name": "Sticky Note48",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2900,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ca0bc074-4fb7-4453-86f7-a0b64a225cfc",
"name": "便签49",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3680,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "89ce8c21-e066-47f3-9149-97a1d3a095b1",
"name": "便签50",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3160,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7d32e74f-c57c-41d5-a75e-b927ba4c92b4",
"name": "便签56",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3420,
760
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2d09ec05-aea1-4b32-b224-40fb633f3ab0",
"name": "便签57",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3420,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "00be3ba8-49b4-4411-b013-9bb05e6f6cef",
"name": "删除历史记录",
"type": "n8n-nodes-base.postgres",
"position": [
-3880,
780
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "0f39f6c5-41b2-49b0-881f-a6dc31e58879",
"name": "创建向量搜索函数",
"type": "n8n-nodes-base.postgres",
"position": [
-2580,
780
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "c585e98a-d436-49b5-95b8-a5fd45c62763",
"name": "创建向量扩展",
"type": "n8n-nodes-base.postgres",
"position": [
-2580,
580
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "9867e3bc-1e20-4fab-a869-d8aa60fc3e59",
"name": "创建聊天表",
"type": "n8n-nodes-base.postgres",
"position": [
-3100,
580
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "a951d7b3-e57a-49fb-a4b9-c56d0c385eba",
"name": "便签65",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3160,
760
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "eb6f008a-ea09-4cee-bbdb-15b97647bc22",
"name": "删除聊天内容",
"type": "n8n-nodes-base.postgres",
"position": [
-3100,
780
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "b7b80837-eea5-420a-8f5a-01ed3d6336b5",
"name": "删除客户数据内容",
"type": "n8n-nodes-base.postgres",
"position": [
-3360,
780
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "81c4e294-568d-4ce7-abff-f1c1dbde8e3b",
"name": "便签66",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3680,
760
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "908d2205-bbe1-4306-8842-87746606244e",
"name": "删除聊天消息内容",
"type": "n8n-nodes-base.postgres",
"position": [
-3620,
780
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "1967afdb-4e93-43c5-9b48-a278dc33d3ec",
"name": "创建聊天消息表",
"type": "n8n-nodes-base.postgres",
"position": [
-3620,
580
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "8b66d51d-e8ba-4c95-a6aa-a73aa7d1bd48",
"name": "便签32",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4660,
980
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "45d84042-758f-4b6d-99d7-f3eb5511ba5b",
"name": "便签67",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4640,
1000
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3609c909-ebb8-4e0a-8efe-a7fa9ad8b337",
"name": "客户注册",
"type": "n8n-nodes-base.supabaseTool",
"position": [
520,
1480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "409d3a95-eaf2-4911-b731-e553145aab96",
"name": "由 Github 模型提供支持",
"type": "n8n-nodes-base.scheduleTrigger",
"disabled": true,
"position": [
-4840,
1640
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e3d0e83a-e6c3-4fc8-a298-fbca722e5ef8",
"name": "删除数据",
"type": "n8n-nodes-base.postgres",
"position": [
-3880,
580
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "b20a5279-c0ff-44c0-a94a-07c77c847f85",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-340,
2260
],
"webhookId": "60e8e488-ba54-41c0-b083-5c405a2be4e1",
"parameters": {},
"typeVersion": 2
},
{
"id": "bf346fa3-b6ac-4a67-8f09-5d7c7c9d9969",
"name": "搜索支付 ID",
"type": "n8n-nodes-base.postgres",
"position": [
-160,
2260
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "d7e02b63-41d9-426a-b420-202da3deda02",
"name": "更新支付状态",
"type": "n8n-nodes-base.postgres",
"position": [
0,
2260
],
"parameters": {},
"typeVersion": 2.5
},
{
"id": "acc04f29-07c3-4cfd-8d77-a21d3a3ec9c8",
"name": "Supabase3",
"type": "n8n-nodes-base.supabase",
"position": [
140,
2260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1de265ee-7f36-44ff-8c30-2d80863e267a",
"name": "OpenAI聊天模型5",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
280,
2440
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "0b2ce10a-b8f4-4ba5-9f10-948040da8cca",
"name": "财务助手",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
440,
2260
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "a4000b9f-ec02-4727-8e6b-0c11d91ecdb4",
"name": "捕获信息",
"type": "n8n-nodes-base.set",
"position": [
280,
2260
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "6a0e8397-eb9c-499d-b2da-2cbf3c3ceae4",
"name": "Evolution API8",
"type": "n8n-nodes-evolution-api.evolutionApi",
"position": [
740,
2260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b1c89706-e550-4a6e-8532-b0c371f5019f",
"name": "## 试试看!",
"type": "n8n-nodes-base.stickyNote",
"position": [
-360,
2140
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "930724a5-d93f-471e-9fe9-06bab005e7e9",
"name": "发送邮件2",
"type": "n8n-nodes-base.gmailTool",
"position": [
580,
2440
],
"webhookId": "a0a0cc26-019f-4e8a-b137-a61c27efe89a",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "27e28701-beac-42a6-8e65-8789d23d1a10",
"name": "Postgres 聊天记忆1",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
440,
2440
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "7c12eeb4-43b1-4ff7-897a-b4be26ea4c67",
"name": "创建事件2",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
700,
2440
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a52896c5-95db-49d4-a1ab-0c9a92e3e4b5",
"name": "便签27",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
1620
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "c881c843-eab3-4469-be4f-5b3d4344d3b2",
"name": "便签28",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
1440
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8e925fa5-980c-4b30-8db0-183f5dfd77aa",
"name": "条件判断2",
"type": "n8n-nodes-base.if",
"position": [
-4560,
1160
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "edc70aa9-0f48-4d66-8d70-043aa05b1a53",
"name": "如果5",
"type": "n8n-nodes-base.if",
"position": [
-4740,
1200
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "2e6b7a35-9548-4861-a218-5838b3cf53f5",
"name": "便签34",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3940,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": true,
"pinData": {
"Webhook": [
{
"json": {
"body": {
"id": "evt_d26e303b238e509335ac9ba210e51b0f&8459034",
"event": "PAYMENT_RECEIVED",
"payment": {
"id": "pay_p8v4p8uw1prf284f",
"fine": {
"type": "FIXED",
"value": 0
},
"value": 50,
"object": "payment",
"status": "RECEIVED",
"custody": null,
"deleted": false,
"dueDate": "2025-02-16",
"refunds": null,
"customer": "cus_000006515817",
"discount": {
"type": "FIXED",
"value": 0,
"limitDate": null,
"dueDateLimitDays": 0
},
"interest": {
"type": "PERCENTAGE",
"value": 0
},
"netValue": 49.01,
"creditDate": "2025-02-14",
"invoiceUrl": "https://sandbox.asaas.com/i/p8v4p8uw1prf284f",
"anticipable": false,
"anticipated": false,
"bankSlipUrl": null,
"billingType": "PIX",
"dateCreated": "2025-02-14",
"description": "Banho para pet de porte pequeno",
"nossoNumero": null,
"paymentDate": "2025-02-14",
"paymentLink": null,
"pixQrCodeId": "439b4339-4aae-46f7-bfe9-5cc6ecd2eb66",
"confirmedDate": "2025-02-14",
"interestValue": null,
"invoiceNumber": "07667457",
"originalValue": null,
"postalService": false,
"pixTransaction": "72a97833-a751-4537-8589-5fe9135652c5",
"originalDueDate": "2025-02-16",
"clientPaymentDate": "2025-02-14",
"externalReference": null,
"installmentNumber": null,
"estimatedCreditDate": "2025-02-14",
"lastInvoiceViewedDate": null,
"transactionReceiptUrl": "https://sandbox.asaas.com/comprovantes/h/UEFZTUVOVF9SRUNFSVZFRDpwYXlfcDh2NHA4dXcxcHJmMjg0Zg%3D%3D",
"lastBankSlipViewedDate": null
},
"dateCreated": "2025-02-14 16:55:33"
},
"query": {},
"params": {},
"headers": {
"host": "webhook.n8nlabz.com.br",
"accept": "application/json",
"pragma": "no-cache",
"x-real-ip": "54.232.219.32",
"tracestate": "dd=s:0;p:4b4e74d052c86cd6;t.tid:67af9fb600000000",
"user-agent": "Java/1.8.0_282",
"traceparent": "00-67af9fb6000000000c7b96e934a0c5be-4b4e74d052c86cd6-00",
"content-type": "application/json",
"cache-control": "no-cache",
"content-length": "1350",
"x-datadog-tags": "_dd.p.tid=67af9fb600000000",
"accept-encoding": "gzip",
"x-forwarded-for": "54.232.219.32",
"x-forwarded-host": "webhook.n8nlabz.com.br",
"x-forwarded-port": "443",
"x-forwarded-proto": "https",
"x-datadog-trace-id": "899478478945043902",
"x-forwarded-server": "bd2920e43b8a",
"x-datadog-parent-id": "5426403039118912726",
"x-datadog-sampling-priority": "0"
},
"webhookUrl": "https://webhook.n8nlabz.com.br/webhook/pagamento_confirmado",
"executionMode": "production"
}
}
]
},
"settings": {
"executionOrder": "v1"
},
"versionId": "9ce1b10c-aec9-4864-98fb-98f9bc365432",
"connections": {
"If": {
"main": [
[
{
"node": "Edit Fields1",
"type": "main",
"index": 0
}
],
[
{
"node": "No Operation, do nothing",
"type": "main",
"index": 0
}
]
]
},
"If1": {
"main": [
[
{
"node": "N8N Labz YT",
"type": "main",
"index": 0
}
],
[
{
"node": "Gerar sessionID",
"type": "main",
"index": 0
}
]
]
},
"If2": {
"main": [
[
{
"node": "dados_para_atendimento_humano",
"type": "main",
"index": 0
}
]
]
},
"If3": {
"main": [
[
{
"node": "Redis5",
"type": "main",
"index": 0
}
],
[
{
"node": "Redis4",
"type": "main",
"index": 0
}
]
]
},
"If4": {
"main": [
[
{
"node": "Adiciona CHAT supabase",
"type": "main",
"index": 0
}
],
[
{
"node": "Atualiza CHAT Supabase",
"type": "main",
"index": 0
}
]
]
},
"If5": {
"main": [
[
{
"node": "If2",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "Redis1",
"type": "main",
"index": 0
}
]
]
},
"Code1": {
"main": [
[
{
"node": "Switch1",
"type": "main",
"index": 0
}
]
]
},
"Code4": {
"main": [
[
{
"node": "Text Classifier",
"type": "main",
"index": 0
}
]
]
},
"Redis": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Wait1": {
"main": [
[
{
"node": "Loop Over Items1",
"type": "main",
"index": 0
}
]
]
},
"Wait2": {
"main": [
[
{
"node": "DisableMessage-Supabase",
"type": "main",
"index": 0
}
]
]
},
"dados": {
"main": [
[
{
"node": "Date & Time1",
"type": "main",
"index": 0
}
]
]
},
"Config": {
"main": [
[
{
"node": "Atendente",
"type": "main",
"index": 0
}
]
]
},
"Merge1": {
"main": [
[
{
"node": "Cria Histórico Supabase",
"type": "main",
"index": 0
}
]
]
},
"OpenAI": {
"main": [
[
{
"node": "Redis3",
"type": "main",
"index": 0
}
]
]
},
"Redis1": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Redis2": {
"main": [
[
{
"node": "Config",
"type": "main",
"index": 0
}
]
]
},
"Redis3": {
"main": [
[
{
"node": "Redis",
"type": "main",
"index": 0
}
]
]
},
"Redis4": {
"main": [
[
{
"node": "Redis",
"type": "main",
"index": 0
}
]
]
},
"Redis5": {
"main": [
[
{
"node": "Redis",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "Extract PDF Text",
"type": "main",
"index": 0
}
],
[
{
"node": "Extract from Excel",
"type": "main",
"index": 0
}
],
[
{
"node": "Extract Document Text",
"type": "main",
"index": 0
}
]
]
},
"OpenAI1": {
"main": [
[
{
"node": "If3",
"type": "main",
"index": 0
}
]
]
},
"OpenAI3": {
"ai_languageModel": [
[
{
"node": "Parser Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Switch1": {
"main": [
[
{
"node": "Edit Fields4",
"type": "main",
"index": 0
}
],
[
{
"node": "Edit Fields4",
"type": "main",
"index": 0
}
],
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
],
[
{
"node": "Edit Fields3",
"type": "main",
"index": 0
}
]
]
},
"Switch2": {
"main": [
[
{
"node": "Switch3",
"type": "main",
"index": 0
}
],
[
{
"node": "Evolution API1",
"type": "main",
"index": 0
}
]
]
},
"Switch3": {
"main": [
[
{
"node": "Menos que 240 Caracteres",
"type": "main",
"index": 0
}
],
[
{
"node": "Menos que 240 Caracteres",
"type": "main",
"index": 0
}
],
[
{
"node": "Menos que 240 Caracteres",
"type": "main",
"index": 0
}
],
[
{
"node": "Formata Mensagem para Áudio",
"type": "main",
"index": 0
}
]
]
},
"Switch5": {
"main": [
[
{
"node": "PARAR ISIS",
"type": "main",
"index": 0
}
],
[
{
"node": "Verifica Atendimento Humano",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "busca payment id",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Evolution API2",
"type": "main",
"index": 0
}
]
]
},
"Supabase": {
"main": [
[
{
"node": "If1",
"type": "main",
"index": 0
}
]
]
},
"get_many": {
"ai_tool": [
[
{
"node": "Atendente",
"type": "ai_tool",
"index": 0
}
]
]
},
"1 segundo": {
"main": [
[
{
"node": "Loop Over Items3",
"type": "main",
"index": 0
}
]
]
},
"Aggregate": {
"main": [
[
{
"node": "Summarize",
"type": "main",
"index": 0
}
]
]
},
"Atendente": {
"main": [
[
{
"node": "Switch2",
"type": "main",
"index": 0
},
{
"node": "Busca Telefone",
"type": "main",
"index": 0
}
]
]
},
"SetConfig": {
"main": [
[
{
"node": "Evolution API6",
"type": "main",
"index": 0
}
]
]
},
"Summarize": {
"main": [
[
{
"node": "Insert into Supabase Vectorstore",
"type": "main",
"index": 0
}
]
]
},
"Supabase1": {
"main": [
[
{
"node": "Code1",
"type": "main",
"index": 0
}
]
]
},
"Supabase2": {
"main": [
[
{
"node": "Wait2",
"type": "main",
"index": 0
}
]
]
},
"Supabase3": {
"main": [
[
{
"node": "capta infos",
"type": "main",
"index": 0
}
]
]
},
"Aggregate1": {
"main": [
[
{
"node": "Code4",
"type": "main",
"index": 0
}
]
]
},
"Calculator": {
"ai_tool": [
[
{
"node": "Atendente",
"type": "ai_tool",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
]
]
},
"N8N Labz YT": {
"main": [
[
{
"node": "Code1",
"type": "main",
"index": 0
}
]
]
},
"Set File ID": {
"main": [
[
{
"node": "Deleta linhas antigas do documento",
"type": "main",
"index": 0
}
]
]
},
"Webhook EVO": {
"main": [
[
{
"node": "If5",
"type": "main",
"index": 0
}
]
]
},
"capta infos": {
"main": [
[
{
"node": "assistente financeiro",
"type": "main",
"index": 0
}
]
]
},
"envia_email": {
"ai_tool": [
[
{
"node": "Atendente",
"type": "ai_tool",
"index": 0
}
]
]
},
"Date & Time1": {
"main": [
[
{
"node": "Supabase",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields1": {
"main": [
[
{
"node": "Redis2",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields3": {
"main": [
[
{
"node": "Convert to File1",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields4": {
"main": [
[
{
"node": "Redis",
"type": "main",
"index": 0
}
]
]
},
"File Created": {
"main": [
[
{
"node": "Set File ID",
"type": "main",
"index": 0
}
]
]
},
"File Updated": {
"main": [
[
{
"node": "Set File ID",
"type": "main",
"index": 0
}
]
]
},
"criar_evento": {
"ai_tool": [
[
{
"node": "Atendente",
"type": "ai_tool",
"index": 0
}
]
]
},
"envia_email2": {
"ai_tool": [
[
{
"node": "assistente financeiro",
"type": "ai_tool",
"index": 0
}
]
]
},
"Download File": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Evolution API": {
"main": [
[
{
"node": "1 segundo",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets": {
"main": [
[
{
"node": "Loop Over Items1",
"type": "main",
"index": 0
}
]
]
},
"OutputParser1": {
"ai_outputParser": [
[
{
"node": "Parser Chain",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Parser Chain": {
"main": [
[
{
"node": "Split de Mensagem",
"type": "main",
"index": 0
}
]
]
},
"Switch Block1": {
"main": [
[
{
"node": "dados",
"type": "main",
"index": 0
}
]
]
},
"criar_evento2": {
"ai_tool": [
[
{
"node": "assistente financeiro",
"type": "ai_tool",
"index": 0
}
]
]
},
"Busca Telefone": {
"main": [
[
{
"node": "If4",
"type": "main",
"index": 0
}
]
]
},
"Evolution API1": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Evolution API4": {
"main": [
[
{
"node": "Wait1",
"type": "main",
"index": 0
}
]
]
},
"buscar_eventos": {
"ai_tool": [
[
{
"node": "Atendente",
"type": "ai_tool",
"index": 0
}
]
]
},
"Basic LLM Chain": {
"main": [
[
{
"node": "Supabase2",
"type": "main",
"index": 0
},
{
"node": "SetConfig",
"type": "main",
"index": 0
}
]
]
},
"Convert to File": {
"main": [
[
{
"node": "OpenAI",
"type": "main",
"index": 0
}
]
]
},
"Gerar sessionID": {
"main": [
[
{
"node": "Supabase1",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[],
[
{
"node": "Download File",
"type": "main",
"index": 0
}
]
]
},
"Text Classifier": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait2",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait2",
"type": "main",
"index": 0
}
]
]
},
"detelar_eventos": {
"ai_tool": [
[
{
"node": "Atendente",
"type": "ai_tool",
"index": 0
}
]
]
},
"Convert to File1": {
"main": [
[
{
"node": "OpenAI1",
"type": "main",
"index": 0
}
]
]
},
"Extract PDF Text": {
"main": [
[
{
"node": "Insert into Supabase Vectorstore",
"type": "main",
"index": 0
}
]
]
},
"Formata Mensagem": {
"main": [
[
{
"node": "Evolution API4",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items1": {
"main": [
[],
[
{
"node": "Formata Mensagem",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items2": {
"main": [
[],
[
{
"node": "ListMessages-Supabase",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items3": {
"main": [
[],
[
{
"node": "Evolution API",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "ListChats-Supabase",
"type": "main",
"index": 0
}
]
]
},
"busca payment id": {
"main": [
[
{
"node": "atualiza status pagamento",
"type": "main",
"index": 0
}
]
]
},
"busca_informacao": {
"ai_tool": [
[
{
"node": "Atendente",
"type": "ai_tool",
"index": 0
}
]
]
},
"cadastro_cliente": {
"ai_tool": [
[
{
"node": "Atendente",
"type": "ai_tool",
"index": 0
}
]
]
},
"Embeddings OpenAI": {
"ai_embedding": [
[
{
"node": "Supabase Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Atendente",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Schedule Trigger1": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
]
]
},
"Split de Mensagem": {
"main": [
[
{
"node": "Loop Over Items3",
"type": "main",
"index": 0
}
]
]
},
"grava_agendamento": {
"ai_tool": [
[
{
"node": "Atendente",
"type": "ai_tool",
"index": 0
}
]
]
},
"pagamento_servico": {
"ai_tool": [
[
{
"node": "Atendente",
"type": "ai_tool",
"index": 0
}
]
]
},
"Embeddings OpenAI1": {
"ai_embedding": [
[
{
"node": "Insert into Supabase Vectorstore",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Extract from Excel": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
]
]
},
"ListChats-Supabase": {
"main": [
[
{
"node": "Loop Over Items2",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "busca_informacao",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model2": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model3": {
"ai_languageModel": [
[
{
"node": "Text Classifier",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model4": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model5": {
"ai_languageModel": [
[
{
"node": "assistente financeiro",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Default Data Loader": {
"ai_document": [
[
{
"node": "Insert into Supabase Vectorstore",
"type": "ai_document",
"index": 0
}
]
]
},
"Postgres Chat Memory": {
"ai_memory": [
[
{
"node": "Atendente",
"type": "ai_memory",
"index": 0
}
]
]
},
"Extract Document Text": {
"main": [
[
{
"node": "Insert into Supabase Vectorstore",
"type": "main",
"index": 0
}
]
]
},
"ListMessages-Supabase": {
"main": [
[
{
"node": "Aggregate1",
"type": "main",
"index": 0
}
]
]
},
"Postgres Chat Memory1": {
"ai_memory": [
[
{
"node": "assistente financeiro",
"type": "ai_memory",
"index": 0
}
]
]
},
"Retorna ID do arquivo": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Supabase Vector Store": {
"ai_vectorStore": [
[
{
"node": "busca_informacao",
"type": "ai_vectorStore",
"index": 0
}
]
]
},
"assistente financeiro": {
"main": [
[
{
"node": "Evolution API8",
"type": "main",
"index": 0
}
]
]
},
"Adiciona CHAT supabase": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 0
}
]
]
},
"Atualiza CHAT Supabase": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 1
}
]
]
},
"Character Text Splitter": {
"ai_textSplitter": [
[
{
"node": "Default Data Loader",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"DisableMessage-Supabase": {
"main": [
[
{
"node": "Loop Over Items2",
"type": "main",
"index": 0
}
]
]
},
"ElevenLabsGenerateVoice": {
"main": [
[
{
"node": "Audio-Base64-Extract from File",
"type": "main",
"index": 0
}
]
]
},
"Menos que 240 Caracteres": {
"main": [
[
{
"node": "Evolution API5",
"type": "main",
"index": 0
}
],
[
{
"node": "Parser Chain",
"type": "main",
"index": 0
}
]
]
},
"atualiza status pagamento": {
"main": [
[
{
"node": "Supabase3",
"type": "main",
"index": 0
}
]
]
},
"Verifica Atendimento Humano": {
"main": [
[
{
"node": "Switch Block1",
"type": "main",
"index": 0
}
]
]
},
"Formata Mensagem para Áudio": {
"main": [
[
{
"node": "ElevenLabsGenerateVoice",
"type": "main",
"index": 0
}
]
]
},
"dados_para_atendimento_humano": {
"main": [
[
{
"node": "Switch5",
"type": "main",
"index": 0
}
]
]
},
"Audio-Base64-Extract from File": {
"main": [
[
{
"node": "Evolution API3",
"type": "main",
"index": 0
}
]
]
},
"Insert into Supabase Vectorstore": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Deleta linhas antigas do documento": {
"main": [
[
{
"node": "Retorna ID do arquivo",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个高级难度的工作流,适用于AI等场景。适合高级用户,包含 16+ 个节点的复杂工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
交付汉堡店MVP
🤖 餐厅与配送自动化的 AI 驱动 WhatsApp 助手
If
Set
Code
+37
152 节点Bruno Dias
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
Other
[模板] AI宠物店 v8
🐶 AI宠物店助手 - 集成GPT-4o、Google日历和WhatsApp/Instagram/Facebook
If
N8n
Set
+38
244 节点Amanda Benks
Sales
AI 代理餐厅 [模板]
🤖 WhatsApp、Instagram 和 Messenger 的 AI 餐厅助手
If
N8n
Set
+37
239 节点Amanda Benks
Other
AIAutomationPro终极RAG聊天机器人v1 n8n市场模板
多语言Telegram RAG聊天机器人,集成监督AI和自动化Google Drive流程
If
Set
Wait
+29
128 节点Daniel Ng
Support Chatbot
🤖 WhatsApp AI个人助手:GPT-4o、记忆和日程安排功能
AI个人助手:集成GPT-4o、RAG和语音功能,使用Supabase的WhatsApp助手
If
Set
Wait
+22
76 节点Amanda Benks
AI