Yes, I've successfully managed to trigger an outbound call from GHL via Vapi.
Step 1, Add a Tag when a new lead comes in, that triggers an outbound call)
step 2, Add a workflow with teh trigger of the tag added
Step 3, create a custom Webhook, that sends a call request to vvapi endpoint:
https://api.vapi.ai/call
Step 4: Add the JSON Payload the webhook. Assuming this is an outbound call, and you need to add the callee's name, phone numner, email etc.) see sample json payload.
sample payload:
{
"assistantId": “xxxx-xxxx_xxxx”,
"phoneNumberId": “xxxx-xxxx-xxxx”,
"assistantOverrides": {
"variableValues": {
"name": "{{contact.first_name}}",
"contactId": "{{contact.id}}",
"email": "{{contact.email}}"
}
},
"customer": {
"number": "{{contact.phone_raw}}",
"name": "{{contact.name}}"
}
}