akshat_9728
11/15/2025, 2:20 PMAI Evy
11/15/2025, 2:20 PMAI Evy
11/15/2025, 2:20 PMretell_llm_dynamic_variables field. All values must be strings. [(1) ]()
Here's how to implement it:
javascript
const registerCallResponse = await retell.call.createPhoneCall({
from_number: '+14157774444', // replace with the number you purchased
to_number: '+12137774445', // replace with the number you want to call
// Optional: per-call agent selection and overrides
override_agent_id: 'agent_abc123',
override_agent_version: 0, // or omit to use latest
agent_override: {
agent: {
voice_speed: 1.1,
enable_backchannel: true,
},
// retell_llm or conversation_flow overrides are also supported
},
retell_llm_dynamic_variables: { // dynamic variables (optional, string values only)
name: 'John Doe',
blood_group: 'B+'
},
custom_sip_headers: { // replace with custom sip headers you want to send (optional)
X-Custom-Header: 'Custom Value'
}
}) ;
These dynamic variables can then be used in your agent's prompts, begin messages, tool configurations, and other areas using the {{variable_name}} syntax. [(2) ]()AI Evy
11/15/2025, 2:20 PMAI Evy
11/15/2025, 2:20 PM