8
n8n 中文网amn8n.com

WhatsApp AI帮助台 - 使用训练数据和WasenderAPI的智能支持机器人

中级

这是一个Support Chatbot, AI Chatbot领域的自动化工作流,包含 11 个节点。主要使用 Code, Webhook, HttpRequest, Agent, GoogleSheetsTool 等节点。 基于GPT-4 Mini和Google Sheets数据训练的WhatsApp支持助手

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "KDDtsVuPlz8iMlBF",
  "meta": {
    "instanceId": "281fe883012e72eba57c771d5dbf7c3138ca3fe3633c5ba2adf6169821825dd4",
    "templateCredsSetupCompleted": true
  },
  "name": "WhatsApp AI HelpDesk – Smart SupportBot Using Trained Data & WasenderAPI",
  "tags": [],
  "nodes": [
    {
      "id": "7ea9ff45-151f-4556-b5c7-5318566d3e8e",
      "name": "AI Agent -  Customer Support Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        320,
        -272
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "951ced94-f8ba-48da-8889-e3e58cffdb04",
      "name": "OpenAI Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        192,
        80
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "086291e7-e05b-4166-89b8-09df618f7577",
      "name": "Conversation Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        368,
        80
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "58e46d50-560a-406a-b079-dae6166e5ef9",
      "name": "Log Customer Issues",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        928,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "a63b68b8-bba7-4e85-8ad1-1e0ba5dd53c0",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -16,
        -176
      ],
      "webhookId": "2039cc8d-2632-4302-9677-fc16b0900002",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "203faa13-c9c4-4e09-ac4f-6353416978b6",
      "name": "代码",
      "type": "n8n-nodes-base.code",
      "position": [
        864,
        -272
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "403ce2a3-6a98-4dc0-b869-65ec420cd9e2",
      "name": "Send Message Using HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1088,
        -272
      ],
      "parameters": {},
      "executeOnce": false,
      "typeVersion": 4.2
    },
    {
      "id": "4bb74406-d11f-4eea-b1fd-cc4bd8b00d35",
      "name": "Read Company Basic Information",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        528,
        80
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "daea7d04-9186-4d26-8285-0d03385ed3f2",
      "name": "Read Product Sheet",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        688,
        80
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "81976806-2289-4562-ac2c-b18be10e20e2",
      "name": "Read Service Sheet",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        848,
        80
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "7b1a316f-3e25-4b24-81b1-64c10ce91ab6",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1392,
        -592
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ce8fd9d9-57b1-4cad-b21e-2a5690357945",
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Send Message Using HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "AI Agent -  Customer Support Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent -  Customer Support Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Read Product Sheet": {
      "ai_tool": [
        [
          {
            "node": "AI Agent -  Customer Support Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Read Service Sheet": {
      "ai_tool": [
        [
          {
            "node": "AI Agent -  Customer Support Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Conversation Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent -  Customer Support Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Log Customer Issues": {
      "ai_tool": [
        [
          {
            "node": "AI Agent -  Customer Support Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Read Company Basic Information": {
      "ai_tool": [
        [
          {
            "node": "AI Agent -  Customer Support Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send Message Using HTTP Request": {
      "main": [
        []
      ]
    },
    "AI Agent -  Customer Support Agent": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 客服机器人, AI 聊天机器人

需要付费吗?

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

工作流信息
难度等级
中级
节点数量11
分类2
节点类型8
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
SpaGreen Creative

SpaGreen Creative

@spagreen

SpaGreen Creative is a leading software company specializing in SaaS solutions, AI automation, and Laravel/Vue.js development. With 800+ eCommerce platforms and 6,000+ global clients, we deliver powerful tools for OTT, CRM, ERP, and WhatsApp marketing. We combine innovation and tech to build scalable digital products.

外部链接
在 n8n.io 查看

分享此工作流