- Retrieve the customer history before the conversation starts
- Personalize the welcome message based on the data you find
- Adapt the agent configuration to the caller’s profile
How it works
Every pre-call workflow follows the same sequence:- A call comes in and Volubile starts the workflow with information about the call.
- Your workflow runs its steps, for example a lookup in your CRM.
- The last step, Respond to the agent, returns the data the agent will use.
- The call starts with that context and configuration.
- Pre-call trigger: starts the workflow and lets you define the test data.
- Respond to the agent: structures the information available to the agent during the call. It must be the last step of the flow.
Timeout
If the workflow doesn’t return a response within 15 seconds, it stops and:- if a failover action is configured on the agent, the failover action runs;
- if no failover action is configured, the call proceeds normally, without the context or configuration the workflow would have returned.
Configure the pre-call trigger
The pre-call trigger is the starting point of the workflow. Use it to test and validate the data your agent will receive.1
Generate sample data
In the trigger configuration, find the Generate sample data section and click Load sample data.
2
Edit the test data
Copy the data into the Test input data field and change the values to match the case you want to test.
3
Test the trigger
Click Test to validate the configuration.
Trigger data
The trigger provides information about the incoming call. Every following step can use it.Sample trigger data
Use data from previous steps
Each step can use the output of the steps that come before it. To insert a value:- Click in any input field. The data selector opens.
- Expand the items to check what they contain, then click a value to insert it at the cursor position. You can mix fixed text and dynamic values in the same field.
Data path syntax
step_name['output'] part right, right-click the step on the canvas and select Copy reference.
Configure Respond to the agent
Respond to the agent is the final step. It defines what the agent receives for this call.To return context or configuration for the call, the last step of the flow must be Respond to the agent.
- Context only
- Context and configuration
- Failover
To provide information to the agent without changing its configuration, return your data directly:
Context only
Complete example: greet a known customer
This workflow looks up the caller in a CRM and greets them by name.1
Pre-call trigger
The trigger provides the caller’s phone number in the
from field.2
Look up the contact
Add a step for your CRM and search for a contact using the value of
from. Test the step to see the fields the CRM returns.3
Respond to the agent
Build the response from the CRM fields. If the lookup finds no contact, return a generic welcome message.
Respond to the agent
Test and debug
Test the whole workflow before enabling it on a live agent.- Use the Test button on each step to check its result and confirm that the data you need is available.
- Check that the final JSON is valid and that the keys match one of the three structures above.
- After real calls, open the workflow run history to review each run. Each step shows whether it succeeded or failed, with its input and output, so you can see where the data stopped.
Common issues
The agent doesn't use my data
The agent doesn't use my data
Check that the last step is Respond to the agent. If you use
agentConfiguration, check that the context is inside the context key: anything outside context and agentConfiguration is ignored.The test fails with a JSON error
The test fails with a JSON error
The test data or the response contains invalid JSON. Look for a missing comma, an unclosed quote, or a dynamic value inserted without quotes in a text field.
A value is empty in the response
A value is empty in the response
The step that produces this value was not tested, or the lookup returned no result. Test the step, check its output, and handle the no-result case in your response.
The call starts without context or fails over
The call starts without context or fails over
The workflow most likely exceeded the 15-second limit without returning a response. If a failover action is configured on the agent, it runs. Otherwise, the call proceeds normally without the pre-call data. Open the run history to find the slow step, and reduce or speed up the calls to external systems.
Next steps
Set up pre-call actions
Attach the workflow to your agent.
Dynamic configuration
See every parameter you can change per call.