Ausgehender Vapi-Anruf durch neue n8n-Formulareinreichungen ausgelöst
Dies ist ein Lead Nurturing, AI Chatbot-Bereich Automatisierungsworkflow mit 6 Nodes. Hauptsächlich werden Set, Wait, FormTrigger, HttpRequest und andere Nodes verwendet. Automatisierung ausgehender Anrufe aus Formulareinreichungen mit Vapi
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Verwendete Nodes (6)
Kategorie
{
"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": "Notiz",
"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": "Ausgehenden Vapi-Anruf starten",
"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": "Felder setzen",
"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": "Notiz1",
"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": "Bei Formularübermittlung",
"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": "2 Min. warten",
"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
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Lead-Pflege, KI-Chatbot
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
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.
Diesen Workflow teilen