How do I get my AI agent to end a call, book an appointment or use another tool?
By default an agent can only talk. You turn on the tools it may use and then tell it when to use them.
- Open the agent and go to Tools and integrations.
- Turn on the tool you want, for example End conversation to hang up, or the built-in bookable service with the calendar to book on, then click Save.
- In the agent's instructions, type @ to tag the tool and say when to use it. For example: anytime someone wants to book, book it using @ the booking service. Or: if someone is trying to sell you something or seems to be a telemarketer, hang up using @ End conversation.
The same approach works for asking and saving information, and for cancelling and rescheduling appointments, as long as you tell the agent what to do.
If the agent hangs up too early, check your instructions. Make sure the Hang up call step or End conversation tool is on, and state exactly under what conditions the agent should end the call.