Call → Outbound Call
AI-generatedSummary
Make an outbound phone call using the TrilletAI service to a specified phone number through a designated call agent.
Inputs
- To (Phone Number) (required) — The phone number to call, in international format (e.g., +1234567890).
- Call Agent ID (required) — The identifier of the call agent to place the call.
- Callback URL — Optional URL to receive call status callbacks.
- Dynamic Variables — Optional key-value pairs to provide dynamic variables for the call session.
- Metadata — Optional JSON object to attach additional metadata to the call.
Output shape
a list of JSON objects, each containing call initiation result fields: status (string), call_id (string), and message (string).
Returns one item per input processed. The 'status' defaults to 'success' if not specified by the API. Metadata is optional and will be omitted if invalid or empty. Dynamic variables are only included if at least one valid name-value pair is provided.
Examples
Example 1: Make an outbound call to +1234567890 using call agent 'agent123' with optional callback URL and dynamic variables.
Set 'To (Phone Number)' to '+1234567890', 'Call Agent ID' to 'agent123', optionally provide 'Callback URL', fill 'Dynamic Variables' with key-value pairs as needed, and optionally set 'Metadata' as a JSON object.