8
n8n 中文网amn8n.com

潜在客户意图分类与自动任务创建器

高级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 32 个节点。主要使用 Set, Switch, ClickUp, HttpRequest, GoogleSheets 等节点。 使用 Azure GPT-4 从 Google Sheets 到 ClickUp 自动进行潜在客户意图分类

前置要求
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "bCUSkhPOSflMbsvy",
  "meta": {
    "instanceId": "8443f10082278c46aa5cf3acf8ff0f70061a2c58bce76efac814b16290845177",
    "templateCredsSetupCompleted": true
  },
  "name": "潜在客户意图分类与自动任务创建器",
  "tags": [],
  "nodes": [
    {
      "id": "459aaea7-b063-49e9-8bef-76164a11b06c",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4640,
        -432
      ],
      "parameters": {
        "color": 6,
        "width": 427,
        "height": 657,
        "content": "## 🎯 潜在客户意图分类与自动任务创建器"
      },
      "typeVersion": 1
    },
    {
      "id": "39cde52f-1097-462a-a05c-487e57df7b27",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4080,
        -400
      ],
      "parameters": {
        "color": 4,
        "width": 310,
        "height": 318,
        "content": "## ⏰ 触发器配置"
      },
      "typeVersion": 1
    },
    {
      "id": "470ecd82-8ba2-4fe5-8fe9-c25d0ec007e0",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3712,
        144
      ],
      "parameters": {
        "color": 4,
        "width": 310,
        "height": 440,
        "content": "## 📊 Google Sheets 设置"
      },
      "typeVersion": 1
    },
    {
      "id": "77c2e418-bd99-4ed3-8353-5a440bfb3dc9",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3440,
        -448
      ],
      "parameters": {
        "color": 4,
        "width": 310,
        "height": 354,
        "content": "## 🔄 数据准备"
      },
      "typeVersion": 1
    },
    {
      "id": "bb68a441-5b2b-462b-ac01-64c6a932e707",
      "name": "便签说明4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3088,
        -528
      ],
      "parameters": {
        "color": 4,
        "width": 340,
        "height": 428,
        "content": "## 🤖 AI 意图分类"
      },
      "typeVersion": 1
    },
    {
      "id": "88239fc8-39a3-4b36-ad88-cbc588d67aa1",
      "name": "便签说明5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2736,
        112
      ],
      "parameters": {
        "color": 4,
        "width": 300,
        "height": 292,
        "content": "## 📤 提取 AI 结果"
      },
      "typeVersion": 1
    },
    {
      "id": "00e4648c-833f-49cb-a722-7d1e56f5f980",
      "name": "便签 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2592,
        -384
      ],
      "parameters": {
        "color": 4,
        "width": 310,
        "height": 280,
        "content": "## 🔀 基于意图的路由器"
      },
      "typeVersion": 1
    },
    {
      "id": "0279d00f-62f5-41a1-b0b9-78043b10e3bb",
      "name": "便签 7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2208,
        -560
      ],
      "parameters": {
        "color": 4,
        "width": 260,
        "height": 240,
        "content": "## 🎯 演示请求处理程序"
      },
      "typeVersion": 1
    },
    {
      "id": "f04f84aa-4d57-4540-8f0e-ed64644c70ba",
      "name": "## 为什么选择 4o 模型?👆",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2112,
        -304
      ],
      "parameters": {
        "color": 4,
        "width": 260,
        "height": 240,
        "content": "## 💰 定价处理程序"
      },
      "typeVersion": 1
    },
    {
      "id": "c7b9a0b8-4865-40f3-93d6-f7b18999462c",
      "name": "便签 9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2272,
        48
      ],
      "parameters": {
        "color": 4,
        "width": 260,
        "height": 240,
        "content": "## ⚠️ 异议处理程序"
      },
      "typeVersion": 1
    },
    {
      "id": "d90a37e7-b9aa-4edf-a500-fb82a353a919",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2336,
        400
      ],
      "parameters": {
        "color": 4,
        "width": 260,
        "height": 288,
        "content": "## 📋 默认处理程序"
      },
      "typeVersion": 1
    },
    {
      "id": "2ef06501-173b-44d3-a44a-40d5a8790861",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1968,
        112
      ],
      "parameters": {
        "color": 4,
        "width": 340,
        "height": 380,
        "content": "## ✅ ClickUp 任务创建"
      },
      "typeVersion": 1
    },
    {
      "id": "bcbc559b-a719-4c36-a66d-9cc497405f17",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1808,
        -464
      ],
      "parameters": {
        "color": 4,
        "width": 300,
        "height": 280,
        "content": "## 🔁 批处理循环"
      },
      "typeVersion": 1
    },
    {
      "id": "16fe369c-b9db-4e47-ba6b-ad448b563afc",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1472,
        -560
      ],
      "parameters": {
        "color": 4,
        "width": 300,
        "height": 372,
        "content": "## 📝 向任务添加清单"
      },
      "typeVersion": 1
    },
    {
      "id": "4ba5d303-ef8c-4ed0-839f-122f41113e68",
      "name": "便签 14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1136,
        -592
      ],
      "parameters": {
        "color": 4,
        "width": 300,
        "height": 448,
        "content": "## ✔️ 添加清单项"
      },
      "typeVersion": 1
    },
    {
      "id": "1e68f4bc-f4bd-4af2-b7ed-7fd9dfb2235a",
      "name": "定时触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -3856,
        -48
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 15
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "1f085d74-3a29-471b-b2ae-ef8cbd64f36b",
      "name": "Google Sheets - 读取新回复",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -3616,
        -48
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "GHL-Replies",
          "cachedResultUrl": "",
          "cachedResultName": "GHL-Replies"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "YOUR_GOOGLE_SHEET_ID_HERE",
          "cachedResultUrl": "",
          "cachedResultName": "Lead Replies Sheet"
        }
      },
      "typeVersion": 4.5,
      "continueOnFail": true
    },
    {
      "id": "5245b1fa-602f-4828-8183-408174a479f4",
      "name": "准备分类数据",
      "type": "n8n-nodes-base.set",
      "position": [
        -3328,
        -48
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "a1b2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
              "name": "leadId",
              "type": "string",
              "value": "={{ $json.id || $('Google Sheets - Read New Replies').item.json.leadId }}"
            },
            {
              "id": "b2c3d4e5-f6a7-8b9c-0d1e-2f3a4b5c6d7e",
              "name": "leadName",
              "type": "string",
              "value": "={{ $json.name || $('Google Sheets - Read New Replies').item.json.name }}"
            },
            {
              "id": "c3d4e5f6-a7b8-9c0d-1e2f-3a4b5c6d7e8f",
              "name": "replyMessage",
              "type": "string",
              "value": "={{ $json.lastMessage || $('Google Sheets - Read New Replies').item.json.reply }}"
            },
            {
              "id": "d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f9a",
              "name": "email",
              "type": "string",
              "value": "={{ $json.email || $('Google Sheets - Read New Replies').item.json.email }}"
            },
            {
              "id": "2c3f0d08-1375-4823-a2cc-6d7045170505",
              "name": "company",
              "type": "string",
              "value": "={{ $json.company }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "4fcec8d6-582c-4577-aff9-43f8f907388c",
      "name": "提取意图结果",
      "type": "n8n-nodes-base.set",
      "position": [
        -2640,
        -48
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "e5f6a7b8-c9d0-1e2f-3a4b-5c6d7e8f9a0b",
              "name": "intent",
              "type": "string",
              "value": "={{ $json.output.intent }}"
            },
            {
              "id": "f6a7b8c9-d0e1-2f3a-4b5c-6d7e8f9a0b1c",
              "name": "originalData",
              "type": "object",
              "value": "={{ $('Prepare Data for Classification').item.json }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "5ec53360-525a-4b8f-be3e-2467a96e1594",
      "name": "Switch - 意图路由器",
      "type": "n8n-nodes-base.switch",
      "position": [
        -2416,
        -80
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "00b518ca-667a-4d4f-b59e-1f38ddaccc84",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.intent }}",
                    "rightValue": "DEMO_REQUEST"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "c185e340-f6b3-43b5-8ebf-eca309911091",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.intent }}",
                    "rightValue": "PRICING_INQUIRY"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "1e763f7a-02cb-468b-9520-6f38f074b1e0",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.intent }}",
                    "rightValue": "OBJECTION"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "561cd828-dfb5-4413-b27c-b345eabbd4ad",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.intent }}",
                    "rightValue": "NOT_INTERESTED"
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "266880e3-7214-437d-ab0c-336e5206bed1",
      "name": "映射演示后续步骤",
      "type": "n8n-nodes-base.set",
      "position": [
        -2192,
        -336
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f9a",
              "name": "nextStep",
              "type": "string",
              "value": "Schedule Demo"
            },
            {
              "id": "e5f6a7b8-c9d0-1e2f-3a4b-5c6d7e8f9a0b",
              "name": "pipelineStage",
              "type": "string",
              "value": "Demo Scheduled"
            },
            {
              "id": "f6a7b8c9-d0e1-2f3a-4b5c-6d7e8f9a0b1c",
              "name": "dueDate",
              "type": "string",
              "value": "={{ $now.plus(2, 'days').toFormat('yyyy-MM-dd') }}"
            },
            {
              "id": "a7b8c9d0-e1f2-3a4b-5c6d-7e8f9a0b1c2d",
              "name": "taskDescription",
              "type": "string",
              "value": "=Contact {{ $json.originalData.leadName }} to schedule product demo"
            },
            {
              "id": "e9e63b9d-cc67-44b2-b869-6337b47873f7",
              "name": "leadName",
              "type": "string",
              "value": "={{ $json.originalData.leadName }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "dd03ffb4-e238-4394-8f4a-86260d804e52",
      "name": "映射定价后续步骤",
      "type": "n8n-nodes-base.set",
      "position": [
        -2192,
        -144
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "b8c9d0e1-f2a3-4b5c-6d7e-8f9a0b1c2d3e",
              "name": "nextStep",
              "type": "string",
              "value": "Send Pricing Information"
            },
            {
              "id": "c9d0e1f2-a3b4-5c6d-7e8f-9a0b1c2d3e4f",
              "name": "pipelineStage",
              "type": "string",
              "value": "Pricing Sent"
            },
            {
              "id": "d0e1f2a3-b4c5-6d7e-8f9a-0b1c2d3e4f5a",
              "name": "dueDate",
              "type": "string",
              "value": "={{ $now.plus(1, 'days').toFormat('yyyy-MM-dd') }}"
            },
            {
              "id": "e1f2a3b4-c5d6-7e8f-9a0b-1c2d3e4f5a6b",
              "name": "taskDescription",
              "type": "string",
              "value": "=Send pricing details to {{ $json.originalData.leadName }}"
            },
            {
              "id": "61a9bbdc-ac95-47e1-8c31-1321b00e236b",
              "name": "leadName",
              "type": "string",
              "value": "={{ $json.originalData.leadName }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "5446284f-417e-4c2e-81aa-b86493655b5f",
      "name": "映射异议后续步骤",
      "type": "n8n-nodes-base.set",
      "position": [
        -2192,
        64
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "f2a3b4c5-d6e7-8f9a-0b1c-2d3e4f5a6b7c",
              "name": "nextStep",
              "type": "string",
              "value": "Address Objections"
            },
            {
              "id": "a3b4c5d6-e7f8-9a0b-1c2d-3e4f5a6b7c8d",
              "name": "pipelineStage",
              "type": "string",
              "value": "Objection Handling"
            },
            {
              "id": "b4c5d6e7-f8a9-0b1c-2d3e-4f5a6b7c8d9e",
              "name": "dueDate",
              "type": "string",
              "value": "={{ $now.plus(1, 'days').toFormat('yyyy-MM-dd') }}"
            },
            {
              "id": "c5d6e7f8-a9b0-1c2d-3e4f-5a6b7c8d9e0f",
              "name": "taskDescription",
              "type": "string",
              "value": "=Follow up with {{ $json.originalData.leadName }} to handle objections"
            },
            {
              "id": "cf8edd3b-9e69-47fc-8c2b-9e854054dbaa",
              "name": "leadName",
              "type": "string",
              "value": "={{ $json.originalData.leadName }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "3f6ba43a-5440-4055-b6a2-66f3342b7e7a",
      "name": "映射默认后续步骤",
      "type": "n8n-nodes-base.set",
      "position": [
        -2192,
        256
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "d6e7f8a9-b0c1-2d3e-4f5a-6b7c8d9e0f1a",
              "name": "nextStep",
              "type": "string",
              "value": "General Follow-up"
            },
            {
              "id": "e7f8a9b0-c1d2-3e4f-5a6b-7c8d9e0f1a2b",
              "name": "pipelineStage",
              "type": "string",
              "value": "Follow-up Required"
            },
            {
              "id": "f8a9b0c1-d2e3-4f5a-6b7c-8d9e0f1a2b3c",
              "name": "dueDate",
              "type": "string",
              "value": "={{ $now.plus(3, 'days').toFormat('yyyy-MM-dd') }}"
            },
            {
              "id": "a9b0c1d2-e3f4-5a6b-7c8d-9e0f1a2b3c4d",
              "name": "taskDescription",
              "type": "string",
              "value": "=General follow-up with {{ $json.originalData.leadName }}"
            },
            {
              "id": "5f4c3b36-8730-4380-9915-de238751ff1e",
              "name": "leadName",
              "type": "string",
              "value": "={{ $json.originalData.leadName }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "7c2cafdf-9ef3-4d39-a4e4-2a2848adc37b",
      "name": "ClickUp - 创建任务",
      "type": "n8n-nodes-base.clickUp",
      "position": [
        -1952,
        -48
      ],
      "parameters": {
        "list": "YOUR_CLICKUP_LIST_ID",
        "name": "={{ $json.nextStep }} - {{ $json.leadName }}",
        "team": "YOUR_CLICKUP_TEAM_ID",
        "space": "YOUR_CLICKUP_SPACE_ID",
        "folder": "YOUR_CLICKUP_FOLDER_ID",
        "additionalFields": {
          "dueDate": "={{ $json.dueDate }}",
          "priority": 3
        }
      },
      "typeVersion": 1,
      "continueOnFail": true
    },
    {
      "id": "9006aebc-c98b-4d0d-9193-ecf66ab7000a",
      "name": "ClickUp - 添加清单子任务",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1456,
        -128
      ],
      "parameters": {
        "url": "=https://api.clickup.com/api/v2/task/{{$json.id}}/checklist",
        "method": "POST",
        "options": {},
        "jsonBody": "={ \"name\": \"{{ $json.name }}\" }",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "clickUpApi"
      },
      "typeVersion": 4.2,
      "continueOnFail": true
    },
    {
      "id": "0a709cfa-deba-4bb9-8fae-37f43af79d3b",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -2848,
        192
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"leadId\": \"\",\n  \"leadName\": \"\",\n  \"email\": \"\",\n  \"intent\": \"\",\n  \"nextStep\": \"\",\n  \"pipelineStage\": \"\",\n  \"dueDateDaysFromNow\": 0,\n  \"taskDescription\": \"\",\n  \"reasoning\": \"\"\n}\n"
      },
      "typeVersion": 1.3
    },
    {
      "id": "d64810b1-1be6-4111-a4c5-9505b5c94d76",
      "name": "Azure OpenAI聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        -3104,
        192
      ],
      "parameters": {
        "model": "gpt-4o",
        "options": {}
      },
      "credentials": {
        "azureOpenAiApi": {
          "id": "C3WzT18XqF8OdVM6",
          "name": "Azure Open AI account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "278f0d3e-5c75-4cef-a627-329e312f4148",
      "name": "简单记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -2976,
        192
      ],
      "parameters": {
        "sessionKey": "\"lead_intent_classifier\"",
        "sessionIdType": "customKey",
        "contextWindowLength": 7
      },
      "typeVersion": 1.3
    },
    {
      "id": "f3a3fa62-6f83-42b2-a5bf-2a7e5f24dfd6",
      "name": "HTTP 请求 - 添加清单项",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1184,
        -128
      ],
      "parameters": {
        "url": "=https://api.clickup.com/api/v2/checklist/{{ $json.checklist.id }}/checklist_item",
        "method": "POST",
        "options": {},
        "jsonBody": "{ \"name\": \"Follow-up\" }",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "clickUpApi"
      },
      "typeVersion": 4.2
    },
    {
      "id": "0dcda4be-7ec8-4c20-afbf-e459c5cdd1d9",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1744,
        -144
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "ec1ba010-3793-4f81-b7bb-c61cb99fc524",
      "name": "AI 意图分类",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -3056,
        -48
      ],
      "parameters": {
        "text": "=Analyze this lead information and classify their intent:\n\n**Lead Details:**\n- Lead ID: {{ $json.leadId }}\n- Name: {{ $json.leadName }}\n- Email: {{ $json.email }}\n- Company: {{ $json.company }}\n\n**Customer Reply:**\n\"{{ $json.replyMessage }}\"\n\nPlease classify this reply and provide the structured output with intent, next step, pipeline stage, due date, and task description.",
        "options": {
          "systemMessage": "=You are an expert sales intent classifier. Your job is to analyze customer replies and determine their intent with high accuracy.\n\n**Your Task:**\n1. Analyze the customer's reply message\n2. Classify it into ONE of these intent categories:\n   - DEMO_REQUEST: Customer wants to see a demo, product walkthrough, or live presentation\n   - PRICING_INQUIRY: Customer is asking about pricing, costs, payment plans, discounts, or budget\n   - OBJECTION: Customer has concerns, objections, security questions, or needs clarification\n   - POSITIVE_INTEREST: General positive response, shows interest but no specific ask\n   - NOT_INTERESTED: Customer declines, not interested, or already has a solution\n\n3. Based on the intent, determine the appropriate next step:\n   - DEMO_REQUEST → \"Schedule Demo\"\n   - PRICING_INQUIRY → \"Send Pricing Information\"\n   - OBJECTION → \"Address Objections\"\n   - POSITIVE_INTEREST → \"General Follow-up\"\n   - NOT_INTERESTED → \"Mark as Closed\"\n\n4. Map to the correct pipeline stage:\n   - DEMO_REQUEST → \"Demo Scheduled\"\n   - PRICING_INQUIRY → \"Pricing Sent\"\n   - OBJECTION → \"Objection Handling\"\n   - POSITIVE_INTEREST → \"Follow-up Required\"\n   - NOT_INTERESTED → \"Closed - Not Interested\"\n\n5. Set due date (days from today):\n   - DEMO_REQUEST → 2 days\n   - PRICING_INQUIRY → 1 day\n   - OBJECTION → 1 day\n   - POSITIVE_INTEREST → 3 days\n   - NOT_INTERESTED → No due date\n\n**Important Rules:**\n- Be decisive - choose the MOST relevant intent\n- If multiple intents are present, prioritize in this order: DEMO_REQUEST > PRICING_INQUIRY > OBJECTION > POSITIVE_INTEREST > NOT_INTERESTED\n- Look for keywords: \"demo\", \"show me\", \"walkthrough\" = DEMO_REQUEST; \"price\", \"cost\", \"how much\" = PRICING_INQUIRY; \"concern\", \"worry\", \"but\", \"however\" = OBJECTION\n- Always provide a clear, actionable next step\n\nImportant: Output ONLY valid JSON matching the schema. \nDo NOT include ```json fences, markdown, or extra text. \nDo NOT wrap inside an \"output\" field. Just return the object directly.\n"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2.1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "925788be-3638-41d0-9563-aacec858fa96",
  "connections": {
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Intent Classification",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "ClickUp - Add Checklist Subtasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Google Sheets - Read New Replies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map Demo Next Steps": {
      "main": [
        [
          {
            "node": "ClickUp - Create Task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ClickUp - Create Task": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Intent Result": {
      "main": [
        [
          {
            "node": "Switch - Intent Router",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map Default Next Steps": {
      "main": [
        [
          {
            "node": "ClickUp - Create Task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map Pricing Next Steps": {
      "main": [
        [
          {
            "node": "ClickUp - Create Task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch - Intent Router": {
      "main": [
        [
          {
            "node": "Map Demo Next Steps",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Map Pricing Next Steps",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Map Objection Next Steps",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Map Default Next Steps",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Intent Classification",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "AI Intent Classification": {
      "main": [
        [
          {
            "node": "Extract Intent Result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map Objection Next Steps": {
      "main": [
        [
          {
            "node": "ClickUp - Create Task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Intent Classification",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Data for Classification": {
      "main": [
        [
          {
            "node": "AI Intent Classification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ClickUp - Add Checklist Subtasks": {
      "main": [
        [
          {
            "node": "HTTP Request - Add Checklist Item",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets - Read New Replies": {
      "main": [
        [
          {
            "node": "Prepare Data for Classification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request - Add Checklist Item": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 内容创作, 多模态 AI

需要付费吗?

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

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

适合高级用户,包含 16+ 个节点的复杂工作流

作者
Rahul Joshi

Rahul Joshi

@rahul08

Rahul Joshi is a seasoned technology leader specializing in the n8n automation tool and AI-driven workflow automation. With deep expertise in building open-source workflow automation and self-hosted automation platforms, he helps organizations eliminate manual processes through intelligent n8n ai agent automation solutions.

外部链接
在 n8n.io 查看

分享此工作流