Video summary
Cómo Conectar tu Teléfono TWILIO a tu Agente IA en VAPI (para CUALQUIER PAÍS)
Main summary
Key takeaways
Technological goal
Connect an AI agent built in Vapi (referred to as “BAPI” in subtitles) to a Twilio phone number so the agent can:
- Receive calls (inbound)
- Make calls (outbound)
Key requirement: the AI agent must be associated with a phone number that supports voice.
Prerequisites / prior setup (Vapi side)
- The AI agent must already be created on the Vapi platform.
- The referenced video points to earlier tutorials covering:
- Creating the AI agent
- Configuring it
- Setting up tools
- A step-by-step guide
Twilio phone acquisition (country-dependent process)
If you are not in Spain
- In the Twilio (iLO) app, go to Phone Numbers
- Choose Manage → Buy a Number
- Select the country
- Under Capacity, select Voice
- Ensure voice calling is enabled
- SMS/MMS-only numbers won’t work
- Search and purchase an eligible phone number
If you are in Spain (stricter regulation)
Twilio may not allow straightforward anonymous number buying due to Spanish rules. Extra steps include:
- Go to Phone Numbers → Regulatory Compliance
- Create a Regulatory Bundle
- Select Spain
- Choose Type of Phone Number: Local
- Choose Individual or Business
- Provide required identity/tax information
- Submit and wait for approval
- Create and validate an Address
- Create New Address
- Enter real company/individual address data
- If validation fails, retry as the creator notes you may need formatting changes (e.g., commas)
- Use approval codes from:
- the Regulatory Bundle
- the Address
- Apply for an exclusive number
- Select Spain, Local phone type, and Voice
- Provide required account/tax fields
- Monthly cost is shown; delivery is mentioned as ~1–3 days
Importing the Twilio number into Vapi
In Vapi:
- Go to Phone Numbers → Create → Import data from Twilio
You’ll need the credentials/data mentioned:
- Account SID / “Account Seat” (from Twilio)
- Auth token / “Ad Out Token”
- Phone Label
After import, the phone becomes available for calls in/out via Vapi.
Inbound calls (simpler part)
After importing the Twilio number into Vapi:
- In Inbound Settings, assign/select the assistant (the created AI agent)
Demo result: the assistant answers using the imported phone line and speaks through the agent.
Outbound calls + automation (more complex part)
The video uses make.com to automate outbound calling (triggered by new leads).
Workflow described
- Trigger: a new lead appears in a data source
- Example: Google Sheets
- In practice: could be a CRM (e.g., GoHighLevel)
- In the sheet/CRM, store variables such as:
- Name (e.g., “Victor”)
- Phone number
- Use Tools / variables to map spreadsheet fields into the AI call payload
- Format the phone number:
- Add +country code (example: +34)
- Store the Vapi API key and retrieve IDs:
- Assistant ID
- Phone ID
- (Both are referenced from Vapi settings pages)
- Create an HTTP request (POST) in make.com:
- URL: Vapi “Call phone” function
- Body type: as required (subtitles indicate “rw”)
- Content type: JSON
- Send JSON including:
- selected assistant
- variables (e.g., First Name, current day, customer fields, etc.)
- Test automation:
- Run the trigger to place a real call
- The demo shows the assistant greeting and asking about a mattress purchase and store availability (including business hours), confirming personalization and successful integration
Key speakers/sources
- Main speaker: the video creator (unnamed), who runs the demo with an assistant named “Sandra”
- Tools/sources mentioned: Vapi, Twilio, make.com, Google Sheets, CRM (e.g., GoHighLevel)