Artificial Intelligence · 1 min read
How to Set Up API Call Actions in Conversation AI
The API Call action lets a Conversation AI agent get information from another system during a chat. For example, a customer gives an order number and asks for a delivery update. The agent calls your order system and replies with the status.
Set it up
- Go to AI Agents > Conversation AI and open the agent.
- Open Bot Goals and add the API Call action.
- Describe when to use it, such as "When the contact asks about an order status."
- Enter the HTTPS endpoint and method.
- Add headers, such as an authorization key.
- Set the parameters the agent should collect from the contact, such as the order number.
- Describe how to use the response.
- Save and test.
Tips
- Use HTTPS endpoints only.
- Only return the data the agent needs.
- Test with real values to check the response is read correctly.