The workflow during the call generally consists of:
- Live call trigger - Defines when and how the agent can use the action.
- Intermediate actions - Uses connectors to perform actions.
- Respond to the agent - Returns a result to the agent.
Configuring the Live Call Trigger
The live call trigger is the component that exposes functionality to your conversational agent during the call.1
Define the Action
Start by setting up the basic information of the action:
- Action Name: A unique identifier that the agent will use to invoke this action (e.g.,
get_customer_info). - Action Description: A clear explanation of the action’s purpose (e.g.
Retrieves customer information based on a given identifier).
2
Configure Dynamic Properties
Dynamic properties define the parameters that the agent must provide to execute the action:
- Click on Add Item for each required parameter.
- For each property, specify:
- Property Name (e.g.
customer_id). - Description (e.g.
The unique identifier of the customer to look up). - Type (String, Boolean, Integer, etc.).
- Required (indicate whether the parameter is mandatory).
3
Prepare Sample Data
Sample data allows you to test the functionality of your action:
- Load a sample data set and copy it into the “Sample data” field.
- Modify the sample data by adding the action parameters.
- Click on Retest.
The action description should clearly explain when and why the agent should use this action. A precise description helps the agent determine the right moment to utilize this feature.
Configuring the Response
In the Respond to the agent step interface, you can define the response structure in JSON format using the data selector to access variables from previous steps.To return a result that the agent can use during the call, make sure that the last step in the flow is a
Respond to the agent.