Skip to main content

Automated outbound calls: connect Ultravox AI agents to phone calls with Twilio

Workflow preview

Workflow preview
100%
Automated outbound calls: connect Ultravox AI agents to phone calls with Twilio preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow transforms n8n into a call automation system , where AI agents can talk directly with people over the phone using Twilio . This workflow integrates Ultravox AI voice agents with Twili...

Best for

  • AI Chatbot automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.manualtrigger, n8n-nodes-base.twilio, n8n-nodes-base.set, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.

Original n8n.io source

1.1 Workflow description

Title
Automated outbound calls: connect Ultravox AI agents to phone calls with Twilio
Workflow name
Automated outbound calls: connect Ultravox AI agents to phone calls with Twilio

This workflow transforms n8n into a call automation system, where AI agents can talk directly with people over the phone using Twilio.

This workflow integrates Ultravox AI voice agents with Twilio’s telephony service to fully automate outbound phone calls.

Ultravox generates the AI conversation and audio, while Twilio handles the PSTN connection to the actual phone network, with the two services connected in real-time via a media stream.


Key Advantages

  • AI-Powered Conversations – Leverage Ultravox agents to handle natural, real-time dialogues with customers.

  • Seamless Telephony Integration – Twilio ensures reliable phone call delivery worldwide.

  • Flexible Setup – You can easily change the target phone number, agent, or Twilio line directly in the workflow.

  • Scalable Outreach – Automates outbound calls for customer support, sales, or appointment reminders.

  • Step-by-Step Guidance – The workflow includes clear instructions for:

    • Buying and configuring a Twilio number
    • Creating an Ultravox agent
    • Executing the final call

How it Works

  1. Manual Trigger: The workflow is started manually by a user within n8n.
  2. Set Parameters: The "Set Params" node defines the crucial variables for the call: the Ultravox agent_id, the Twilio phone number to call from (twilio_number), and the destination phone_number to call.
  3. Initiate Ultravox Session: The "Create Ultravox Call" node sends an HTTP POST request to the Ultravox API. It specifies the agent to use and, crucially, informs Ultravox that the call will be handled by Twilio (medium: { twilio: {} }). Ultravox responds with a unique joinUrl (a WebSocket stream URL).
  4. Place the Twilio Call: The "Twilio Call" node uses the details from the previous steps. It instructs Twilio to make a call from the specified twilio_number to the target phone_number. The key instruction (twiml) tells Twilio to connect the call to the joinUrl provided by Ultravox, effectively streaming the audio between the participant and the AI agent.

Set Up Steps

  1. Twilio Configuration:

    • Log into your Twilio Console.
    • Buy a phone number under the "Phone Numbers" section.
    • Obtain your "Account SID" and "Auth Token" from the dashboard.
    • In the "Twilio Call" node credentials, add your Twilio Account SID and Auth Token.
    • In the "Set Params" node, set the twilio_number value to your newly purchased Twilio number (e.g., +1xxxxxxx).
  2. Ultravox Configuration:

    • Log into your Ultravox App.
    • Create a new AI Agent by configuring its voice, tools, and system prompt.
    • Copy the ID of your newly created agent.
    • In the "Set Params" node, set the agent_id value to your Ultravox agent's ID.
  3. Execute the Call:

    • In the "Set Params" node, set the phone_number value to the destination number you wish to call (e.g., +1xxxxxxxx).
    • Execute the workflow manually from the n8n editor. The AI agent will call the specified number through Twilio.

Need help customizing?

Contact me for consulting and support or add me on Linkedin.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Create Ultravox Call

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - Start Manually

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 3 - Twilio Call

Type / Role
n8n-nodes-base.twilio - twilio
Config choices
Version 1

Block 4 - Set Params

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automated outbound calls: connect Ultravox AI agents to phone calls with Twilio
Complexity intermediate
Nodes 8
Categories AI Chatbot, Multimodal AI
Author Davide
Published 27 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7958/7958.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated outbound calls: connect Ultravox AI agents to phone calls with Twilio do?

This workflow transforms n8n into a call automation system , where AI agents can talk directly with people over the phone using Twilio . This workflow integrates Ultravox AI voice agents with Twili...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your AI Chatbot, Multimodal AI use case.