Template Rendering
You can reference template variables which is passed asinitial_context either using the API Trigger or when uploading a Sheet for a campaign. You can also use any extracted variable as gathered_context
The template rendering can take nested values.
Example: If the initial context is
You are Alice, who is talking to {{initial_context.user.name}}.
Using Template Variables for Testing
Template variables defined in your workflow Settings > Context Variables are included in test calls (both web and phone) made from the workflow editor. This is useful for simulating data that would normally come from telephony or an API trigger. For example, you can setcaller_number and called_number as context variables to test Pre-Call Data Fetch without needing a real inbound call.
These context variables are only used during test calls from the workflow editor. On production inbound calls and campaign outbound calls, the actual telephony data is used and these values are ignored.