Action Variables allow dynamic data to be fetched and injected into prompts during a call. This is done by enriching the call context before it reaches the agent, using an external API.

Create an API-based action that fetches variables needed in your prompt.
run_action_before_call_startto true<external_id> in the request body.Example: If your prompt uses a variable name, your API should return:
Note: No changes are needed for the prompts—they will work with the current variables. The only important point is to ensure that the same variable names used in the prompts are also used when returning values from the API.
Once the action is created: