absent-sapphire•4mo ago
Pass variables to workflow on start
how can i pass dynamic variables to workflow while starting a call as , i pass in assistant overrides custam variables how can i pass in workflow call
2 Replies
To clarify: Are you looking to pass dynamic variables directly to a workflow (not an assistant) at call start via the API, and if so, have you already tried including a
variableValues
field inside the workflow
object in your call creation payload? If yes, could you share what result you observed?
Sources:
- Vapi: Using dynamic variables in a phone call
- Vapi: Create Call API Reference⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Hi Yuvanshu, you need to pass the assistant overrides with variable values. These overrides will be replaced with dynamic variables during the call.