8
n8n 中文网amn8n.com

从新的Go High Level机会发起外拨Vapi呼叫

中级

这是一个Lead Nurturing, AI Chatbot领域的自动化工作流,包含 7 个节点。主要使用 Set, Wait, Webhook, HighLevel, HttpRequest 等节点。 使用Vapi从Go High Level机会自动化外拨语音呼叫

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "io6gseeuMIg9Kg9s",
  "meta": {
    "instanceId": "9219ebc7795bea866f70aa3d977d54417fdf06c41944be95e20cfb60f992db19",
    "templateCredsSetupCompleted": true
  },
  "name": "从新的Go High Level机会发起外拨Vapi呼叫",
  "tags": [],
  "nodes": [
    {
      "id": "a3814be0-c176-4c27-8606-29abf180fb55",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        -220
      ],
      "parameters": {
        "width": 260,
        "height": 380,
        "content": "## 设置Vapi字段"
      },
      "typeVersion": 1
    },
    {
      "id": "37b335ac-18c6-482b-bdd6-98c66981c063",
      "name": "启动外拨 Vapi 呼叫",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        0
      ],
      "parameters": {
        "url": "https://api.vapi.ai/call",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n    \"assistantId\": \"{{ $json.vapiAssistantId }}\",\n    \"phoneNumberId\": \"{{ $json.vapiPhoneNumberId }}\",\n    \"customer\": {\n        \"number\": \"{{ $('Get a GHL contact').item.json.phone }}\"\n    }\n}\n",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "=Bearer {{ $json.vapiApi }}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "035c16f5-ed66-4637-bbd4-c97c367f04ab",
      "name": "设置字段",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "f38947e1-c75a-44cc-88f9-c44fc80bada8",
              "name": "vapiPhoneNumberId",
              "type": "string",
              "value": "insert-id"
            },
            {
              "id": "463ed66e-e072-48dc-a75d-a3815fd07de0",
              "name": "vapiAssistantId",
              "type": "string",
              "value": "insert-id"
            },
            {
              "id": "93f058cd-e015-4b83-a16f-efceddafb128",
              "name": "vapiApi",
              "type": "string",
              "value": "insert-api"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "c5462a8b-3227-4225-acfe-e5675a544127",
      "name": "GHL机会已创建",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -220,
        0
      ],
      "webhookId": "94788969-ef95-45c7-88ad-29b894324466",
      "parameters": {
        "path": "94788969-ef95-45c7-88ad-29b894324466",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 2
    },
    {
      "id": "dcc47fda-66b7-4ecc-bdb5-50c005cf5f66",
      "name": "获取GHL联系人",
      "type": "n8n-nodes-base.highLevel",
      "position": [
        0,
        0
      ],
      "parameters": {
        "contactId": "={{ $json.body.contactId }}",
        "operation": "get",
        "requestOptions": {}
      },
      "credentials": {
        "highLevelOAuth2Api": {
          "id": "z9uq6h2z5nCBGebZ",
          "name": "HighLevel account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "04971310-1fc8-4ba9-bbcc-b200ff36758e",
      "name": "等待5分钟",
      "type": "n8n-nodes-base.wait",
      "position": [
        220,
        0
      ],
      "webhookId": "300ec071-c5be-462f-8a72-6d970ab2b372",
      "parameters": {
        "unit": "minutes"
      },
      "typeVersion": 1.1
    },
    {
      "id": "22531ff8-5447-469f-b179-31092efdcd4d",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -620,
        -160
      ],
      "parameters": {
        "color": 4,
        "width": 320,
        "height": 520,
        "content": "## 要求"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ed556e22-2852-44f9-8826-d9554f2cb950",
  "connections": {
    "Wait 5min": {
      "main": [
        [
          {
            "node": "Set fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set fields": {
      "main": [
        [
          {
            "node": "Start outbound Vapi call",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a GHL contact": {
      "main": [
        [
          {
            "node": "Wait 5min",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GHL opportunity created": {
      "main": [
        [
          {
            "node": "Get a GHL contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 客户培育, AI 聊天机器人

需要付费吗?

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

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

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

作者
Aitor | 1Node

Aitor | 1Node

@aitoralonso

Hi, I’m Aitor. At 1Node we help businesses integrate full-scale AI solutions that save time, cut costs, and increase revenue. Guaranteed. Need help implementing AI infrastructures?

外部链接
在 n8n.io 查看

分享此工作流