How to Greet with (First Name) in outbound call by...
# support
a
Hey everyone, I am using Vapi to make outbound calls from GHL, make call from GHL webhhook with data payload.. I want to undertand what to do in Vapi assistant prompt or settings so it will take the (first name) at the start of call which value should I use?... Below is the payload ""customer": { "number": "{{contact.phone_raw}}", "name": "{{contact.first_name}} {{contact.last_name}}" }, "metadata": { "firstName": "{{contact.first_name}}", "lastName": "{{contact.last_name}}", "email": "{{contact.email}}", "phoneRaw": "{{contact.phone_raw}}", "ghlcontactId": "{{contact.id}}" } }" @Vapi @Vapi Support Bot
@User @User
d
Hey Alee! Your payload is already set up correctly. Use one of these in your First Message: For full name: Hi {{customer.name}}, ... For first name only: Hi {{metadata.firstName}}, ... Make sure First Message Mode is enabled in your assistant settings and it'll resolve at the start of every call. Docs for reference: https://docs.vapi.ai/assistants/dynamic-variables Let me know if that works!
u
Bro you have to add the variable the same way it is written in the ghl payload case sensitive i.e hello {{contact.first_name}}...