Lancer des appels sortants Vapi à partir de nouvelles opportunités Go High Level

Intermédiaire

Ceci est unLead Nurturing, AI Chatbotworkflow d'automatisation du domainecontenant 7 nœuds.Utilise principalement des nœuds comme Set, Wait, Webhook, HighLevel, HttpRequest. Utiliser Vapi pour automatiser les appels vocaux sortants à partir des opportunités de Go High Level

Prérequis
  • Point de terminaison HTTP Webhook (généré automatiquement par n8n)
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "io6gseeuMIg9Kg9s",
  "meta": {
    "instanceId": "9219ebc7795bea866f70aa3d977d54417fdf06c41944be95e20cfb60f992db19",
    "templateCredsSetupCompleted": true
  },
  "name": "Start outbound Vapi calls from new Go High Level opportunities",
  "tags": [],
  "nodes": [
    {
      "id": "a3814be0-c176-4c27-8606-29abf180fb55",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        -220
      ],
      "parameters": {
        "width": 260,
        "height": 380,
        "content": "## Set Vapi fields\nYou must set the \n- phone number id which will make the call\n- assistant id which will be enabled in the call\n- your Vapi api key"
      },
      "typeVersion": 1
    },
    {
      "id": "37b335ac-18c6-482b-bdd6-98c66981c063",
      "name": "Démarrer l'appel sortant 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": "Définir les champs",
      "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": "Opportunité GHL créée",
      "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": "Obtenir un contact 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": "Attendre 5 min",
      "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": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -620,
        -160
      ],
      "parameters": {
        "color": 4,
        "width": 320,
        "height": 520,
        "content": "## Requirements \n### Go High Level\n- [Go High Level](https://www.gohighlevel.com/78476a2?fp_ref=1node) account\n- Go High Level developer private app and credentials enabled in n8n\n- Webhook URL (from n8n) added in your Go High Level private app\n\n### Vapi\n- A [Vapi](https://vapi.ai/?aff=onenode) account with credit\n- A connected phone number which will make the calls\n- An assistant created and ready to make calls\n- Vapi api key \n\n### Useful links\n- [GHL docs](https://developers.gohighlevel.com/)\n- [Vapi docs](https://docs.vapi.ai/api-reference/calls/create)\n- [n8n GHL credentials](https://docs.n8n.io/integrations/builtin/credentials/highlevel/)"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ed556e22-2852-44f9-8826-d9554f2cb950",
  "connections": {
    "04971310-1fc8-4ba9-bbcc-b200ff36758e": {
      "main": [
        [
          {
            "node": "035c16f5-ed66-4637-bbd4-c97c367f04ab",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "035c16f5-ed66-4637-bbd4-c97c367f04ab": {
      "main": [
        [
          {
            "node": "37b335ac-18c6-482b-bdd6-98c66981c063",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dcc47fda-66b7-4ecc-bdb5-50c005cf5f66": {
      "main": [
        [
          {
            "node": "04971310-1fc8-4ba9-bbcc-b200ff36758e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c5462a8b-3227-4225-acfe-e5675a544127": {
      "main": [
        [
          {
            "node": "dcc47fda-66b7-4ecc-bdb5-50c005cf5f66",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Nurturing de leads, Chatbot IA

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds7
Catégorie2
Types de nœuds6
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
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?

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34