Hi everyone, I'm using a Vapi Hosted Number and t...
# german-speaking
m
Hi everyone, I'm using a Vapi Hosted Number and trying to personalize the very first greeting of an inbound call using CRM data. My goal is: 1. Incoming call arrives. 2. Vapi sends the caller's phone number to my n8n workflow. 3. n8n checks my CRM and finds the contact. 4. n8n returns the contact's first name. 5. The assistant starts with something like: "Hi John, thank you for calling MD Smart Services. How can I help you today?" Currently, my Server URL is being triggered successfully, but the first event I receive is
assistant.started
. I've tested returning:
Copy code
json
{
  "assistantOverrides": {
    "variableValues": {
      "customer_name": "John"
    }
  }
}
However,
{{customer_name}}
is not available in the first message, while built-in variables such as
{{customer.number}}
work correctly. Is there a supported way to perform a CRM lookup and inject dynamic variables before the assistant's first message is generated for inbound calls on a Vapi Hosted Number? Any guidance would be greatly appreciated. Thanks!