Outbound Call
Automate outbound calls with AI Agents
This example shows how to make outbound calls from an AI Agent.
Most of the nodes in this example are the same as the ones in the Inbound Call example. Refer to that example for more information on how to use them.
Webhook
In this example we’ll be listening to a webhook. You can create a webhook by going to Webhooks > Incoming hook.
To define the output schema for this node, make a request (POST or GET) to the webhook URL displayed in the node’s Test tab. Then, fetch the records and you should see the output schema.
Typically you’ll do a POST request and pass information via the body. It’s up to you to define the schema of the body. In this example, we’ll be passing the phone_number we need to call and the name of the person we need to call.
Outbound Voice Agent
Similar to the Inbound Call example, we’ll add an AI Agent > Outbound Voice Agent node.
Main difference here is that you need to provide a phone number to call, via the To number field. You’ll most of the time use a variable here, like the phone_number we passed in the webhook.
You also need to provide a phone number to use for making the call, via the From number field. You’ll find your numbers in the Organization settings > Numbers section. Refer to the Inbound Call example for more information on how to configure the agent and it’s modules (prompt, tools, etc).
AI Classification, Extraction and POST
This is the same as the Inbound Call example. After the call, you can add an AI > Classify node to classify the call. You can also add an AI > Extract node to extract information from the call. Finally, you can add a Webhook > POST node to send the extracted information to your system.
Was this page helpful?