Iniciar llamadas salientes de Vapi desde nuevos envíos de formularios n8n
Este es unLead Nurturing, AI Chatbotflujo de automatización del dominio deautomatización que contiene 6 nodos.Utiliza principalmente nodos como Set, Wait, FormTrigger, HttpRequest. Automatizar llamadas salientes de voz desde envíos de formularios con Vapi
- •Pueden requerirse credenciales de autenticación para la API de destino
Nodos utilizados (6)
Categoría
{
"id": "Zgf81bcaaB04rjcd",
"meta": {
"instanceId": "9219ebc7795bea866f70aa3d977d54417fdf06c41944be95e20cfb60f992db19",
"templateCredsSetupCompleted": true
},
"name": "Start an outbound Vapi phone call from a new n8n form submission",
"tags": [],
"nodes": [
{
"id": "cb6ee340-933a-4699-bc0a-be7605309df7",
"name": "Nota adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
158,
-284
],
"parameters": {
"width": 260,
"height": 524,
"content": "## Set Vapi fields\nYou must set the following fields that you can obtain inside your Vapi account \n- phone number id which will make the call\n- assistant id which will be enabled in the call\n- your Vapi api key\n\n## Set country code\n- insert the phone number country code. Include the + symbol and no spaces."
},
"typeVersion": 1
},
{
"id": "b5557910-7469-4937-9229-1d599ad5bf2d",
"name": "Iniciar llamada saliente de Vapi",
"type": "n8n-nodes-base.httpRequest",
"position": [
464,
80
],
"parameters": {
"url": "https://api.vapi.ai/call",
"method": "POST",
"options": {},
"jsonBody": "={\n \"assistantId\": \"{{ $json.vapiAssistantId }}\",\n \"phoneNumberId\": \"{{ $json.vapiPhoneNumberId }}\",\n \"customer\": {\n \"number\": \"{{ $('On form submission').item.json.Phone }}\"\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{ $json.vapiApi }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "e4039ec8-1e6e-4d59-ab3c-14727562cdae",
"name": "Establecer campos",
"type": "n8n-nodes-base.set",
"position": [
240,
80
],
"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": "fe87d956-e2f6-4fbd-ac30-e09b3c48bb15",
"name": "Nota adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-624,
-160
],
"parameters": {
"color": 4,
"width": 320,
"height": 472,
"content": "## Requirements \n### n8n form\n- A text field that takes a full international phone number including the + symbol and country code. Example for US: +11234567890.\n- Add more fields according to your use case\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- [Vapi docs](https://docs.vapi.ai/api-reference/calls/create)"
},
"typeVersion": 1
},
{
"id": "5855a19a-0c94-4ca7-ac4c-330fd7b8a194",
"name": "Al enviar el formulario",
"type": "n8n-nodes-base.formTrigger",
"position": [
-208,
80
],
"webhookId": "cf168bd9-dd77-4192-aa0e-0c5c5cb3341b",
"parameters": {
"options": {
"appendAttribution": false
},
"formTitle": "Lead form",
"formFields": {
"values": [
{
"fieldLabel": "Name",
"requiredField": true
},
{
"fieldType": "email",
"fieldLabel": "Email",
"requiredField": true
},
{
"fieldLabel": "Phone",
"placeholder": "Insert + symbol and country code without spaces",
"requiredField": true
}
]
}
},
"typeVersion": 2.2
},
{
"id": "3075f3b5-12d0-465a-b1ff-0b13d928f684",
"name": "Esperar 2 min",
"type": "n8n-nodes-base.wait",
"position": [
16,
80
],
"webhookId": "dd4440b8-37f2-4f20-84ad-46a9e107fb82",
"parameters": {
"unit": "minutes",
"amount": 2
},
"typeVersion": 1.1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "28254a07-4ced-4c28-b49f-9eec8cb01a3c",
"connections": {
"3075f3b5-12d0-465a-b1ff-0b13d928f684": {
"main": [
[
{
"node": "e4039ec8-1e6e-4d59-ab3c-14727562cdae",
"type": "main",
"index": 0
}
]
]
},
"e4039ec8-1e6e-4d59-ab3c-14727562cdae": {
"main": [
[
{
"node": "b5557910-7469-4937-9229-1d599ad5bf2d",
"type": "main",
"index": 0
}
]
]
},
"5855a19a-0c94-4ca7-ac4c-330fd7b8a194": {
"main": [
[
{
"node": "3075f3b5-12d0-465a-b1ff-0b13d928f684",
"type": "main",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - Nutrición de leads, Chatbot de IA
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Aitor | 1Node
@aitoralonsoHi, I’m Aitor. At 1Node, we help businesses save up to 5 figures annually by deploying private AI infrastructure instead of relying on expensive Cloud Enterprise solutions. As n8n enthusiasts, we love exploring its possibilities and sharing free basic workflows.
Compartir este flujo de trabajo