Personalize conversational AI phone calls with Twilio
Key Takeaways
The video demonstrates how to personalize conversational AI phone calls using Twilio and ElevenLabs Conversational AI by setting up a web hook to return dynamic variables such as customer name and account status, and injecting a prompt and first message to the customer.
Full Transcript
we just launched a new feature to allow you to personalize your conversational AI agents to whoever is calling them now the way this works is via setting up a web hook that returns some Dynamic variables like the customer's name their account status um as well as a prompt that you can inject and the first message to the customer as they call so for example you know if I'm calling I want the conversational AI agent to say hi Thor um how are you thanks for calling you know how are things so now to recap first of all how can we connect our you know conversational AI agent to phone calling so the way we can do that is via twilio and so if we have a twilio account we can import an existing twio phone number into our conversational AI agent so when we go over to our conversational AI agent dashboard you can see there is uh a setting for phone numbers and so here I put in my twilio phone number already so this is the phone number that folks can call my conversational AI agent on and you can see here you can specify the inbound calls um to Handle by you know which agent so anyone who calls this phone number should go to this twillo test agent so let's have a quick look at my agent configuration here so it's configured in English um you can see there is some default first message um that just says hi I'm Thor um and it's using actually my voice clone so you know if you're lonely you can just call uh and you can talk to my voice clone clone if you want um but let's have a look at you know what this looks like if we call this agent hi I'm Thor a developer experience engineer at 11lbs what do you want to learn about hey Thor what is my name I do not have access to that information is there anything I can help you with uh Regarding 11 Labs so yeah you can see that you know that is the experience want to improve so we want to inject that personalization data into the agent so you know depending on who is calling so the way we can do that is by just setting up um a little web hook so for example if we're using um JavaScript we can use fastify to just set up a web hook Handler and I just have a route here so um twilio basically when the call is being initiated ated and you can you can see that here so while the call is being initi initiated in the background the conversational AI agent so 11 laps is making um the post request to your uh API endpoint to your web hook uh to get the information and then you know once the the call is being picked up all the information is read readily available so you can see here you know um you will get uh the here the caller ID from the request body so that's being injected and you can then you know look up in your database or your integration you know your stripe account what have you the information about the customer and then you can inject that into um the conversational AI agent you can see here now that I'm overwriting this uh to hi John how can I help you today uh and you know I mean this prompt is not very helpful but you know they can ask about like their bank account balance okay so now the way we set this up is we need to configure our web hook details so in our um settings here we can add a web hook for the conversation initiation client data web hook uh and we can also add some secrets you know if we need them in our web hook um so here I'm using enro to expose my um local URL to so you can see my server is up and running um to my agent so here and then my route I called it get personal so we can just say Get hyen Personal uh so we can add some headers you know if we want to verify kind of a secret um you know ideally once you move to production uh you want to do that um but for now we're just going to add this Po in here uh and then the next step we need to do is we need to um yeah so we can specify our headers uh we need to enable the fetching of the conversation conversation initiation data um so you will have one web hook for all your agents so when you go to your agent um you know the webook will have the agent ID inside so if you have various different Agents set up um you can have hand that there and so then here in the security you can say Okay enable fetching of the conversation data you need to save that here uh and then you can say Okay first message and uh system prompt what do you want to allow to overwrite um and so you can see we're passing in here the prompt and the first message and so now when we are initiating our call again [Music] hi John how can I help you today hey oh how do you know my first name I have access to some basic information to personalize our interactions is there anything I can help you with today John yeah what is my my bank account balance do you know yes John your bank account balance is $100 is there anything else I can help you with regarding your account yeah so this is so fun talking to myself cool so now you can see that as the call was being initiated from twilio um the weapo call was being made in the background we got the the body here the caller ID the agent um the number that was called as well as the uh calls ID so and then based on the caller ID we can you know fetch the information and return it back so there you go this is how you can make personalization happen with your conversational AI agents over the phone uh let me know what else you want to learn and I will see you next time
Original Description
Inbound conversational AI phone calls can now easily be personalized using @twilio and ElevenLabs Conversational AI.
Try ElevenLabs: https://elevenlabs.io?utm_source=youtube&utm_medium=organic&utm_campaign=not_set&utm_content=personalize_conversational_ai_phone_calls_with_twilio
Provide dynamic variables based on the inbound caller id, and override the prompt, language, first message to fully customize your voice AI agents.
- Read the docs: https://elevenlabs.io/docs/conversational-ai/customization/personalization/twilio-personalization
## Chapters
0:00 Introduction: Enhancing Conversational AI with Personalization
0:08 Overview of Twilio Personalization Documentation
0:11 Understanding Webhooks and Dynamic Variables
0:39 Connecting Conversational AI to Phone Communication
0:47 Integrating Twilio for Conversational AI Connections
0:59 Configuring AI Agents within the Platform
1:04 Managing Phone Numbers in the Conversational AI Dashboard
1:30 Detailed Examination of Agent Configuration Settings
1:57 Demonstration of AI Agent Call Functionality
2:30 Implementing AI Agent Personalization Data
2:39 Webhook Configuration: A Step-by-Step Guide
3:01 Enabling Twilio Connection for Data Retrieval
3:14 Identifying the API Endpoint for Webhook Integration
4:03 Detailed Configuration of Webhook Parameters
4:10 Integrating the Webhook into Conversation Initialization
5:01 Adding a Webhook for Conversation Initialization
5:06 Activating Data Fetching for Conversation Initiation
6:03 Conducting a Test Call with the Enhanced AI Agent
7:02 Conclusion: Elevating Customer Communication through AI
Try ElevenLabs: https://elevenlabs.io?utm_source=youtube&utm_medium=organic&utm_campaign=not_set&utm_content=personalize_conversational_ai_phone_calls_with_twilio
ElevenLabs Conversational AI provides automatic speech recognition, integrates with OpenAI GPT-4o, Google Gemini 2.0 Flash, and ultra-low latency, high quality text to speech.
Discover the latest feature to enhance your Conv
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from ElevenLabs · ElevenLabs · 40 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
▶
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
AI Multilingual TTS Demo | ElevenLabs
ElevenLabs
Professional Voice Cloning Demo | ElevenLabs
ElevenLabs
Introducing: Projects
ElevenLabs
ElevenLabs Dubbing Studio
ElevenLabs
ElevenLabs Speech to Speech
ElevenLabs
Sound Effects are Coming Soon to ElevenLabs
ElevenLabs
It Started to Sing
ElevenLabs
It Started to Sing (Jazz)
ElevenLabs
Broke my Heart
ElevenLabs
My Love
ElevenLabs
ElevenLabs Dubbing API
ElevenLabs
ElevenLabs Audio Native
ElevenLabs
Increasing reader engagement with Audio Native [June 2024 Webinar]
ElevenLabs
ElevenLabs Text to Sound Effects API Demo
ElevenLabs
ElevenLabs Voiceover Studio
ElevenLabs
ElevenLabs Speech to Speech Tutorial
ElevenLabs
ElevenLabs Voice Isolator API Demo
ElevenLabs
ElevenLabs Turbo v2.5
ElevenLabs
ElevenLabs Reader App - Android
ElevenLabs
ElevenLabs Impact Program
ElevenLabs
We’ve reduced our pricing.
ElevenLabs
Sound Effects Explore
ElevenLabs
Behind the Voice - Michael Marshall
ElevenLabs
X to Voice
ElevenLabs
Huberman Labs now Dubbing with ElevenLabs
ElevenLabs
GenFM, Now Playing on ElevenReader: Smart Podcasts Produced by Generative AI
ElevenLabs
Introducing ElevenLabs Conversational Agents
ElevenLabs
Meet Flash
ElevenLabs
Transforming media production with AI sound effects & dubbing
ElevenLabs
ElevenLabs Conversational AI Webinar
ElevenLabs
ElevenLabs - Text to Speech, Dubbing, Sound Effects and more
ElevenLabs
Talk to Santa
ElevenLabs
Year in Review with special guest TIME's CTO Burhan Hamid
ElevenLabs
Conversational AI Voice Agents that can issue refunds
ElevenLabs
Prenez une longueur d'avance avec ElevenLabs
ElevenLabs
Studio is now available to everyone, with new features (walkthrough)
ElevenLabs
Build Conversational AI agents with Gemini 2.0 Flash
ElevenLabs
Meet Alexis & El – Support Agents Handling 4,000 Calls a Day
ElevenLabs
Transform your Speech with ElevenLabs Voice Changer
ElevenLabs
Personalize conversational AI phone calls with Twilio
ElevenLabs
Spotify is now accepting Audiobooks Narrated by ElevenLabs
ElevenLabs
Build Outbound AI Sales Agents
ElevenLabs
Meet Scribe
ElevenLabs
Build a multilingual speech transcription bot with the ElevenLabs transcriber API
ElevenLabs
Streaming and Caching Speech with Supabase
ElevenLabs
Meet GibberLink, Conversational AI's secret language
ElevenLabs
Building a Personal AI Receptionist
ElevenLabs
Cross-platform AI Voice Agents with Expo React Native
ElevenLabs
Automatic Language Detection for Conversational AI
ElevenLabs
Native Retrieval-Augmented Generation (RAG) in Conversational AI
ElevenLabs
Text to Bark from ElevenLabs
ElevenLabs
Meet KUBI the Conversational Robot Barista
ElevenLabs
Introducing the ElevenLabs MCP server
ElevenLabs
Collect and analyze data with Conversational AI
ElevenLabs
Agent Transfer - Conversational AI
ElevenLabs
Sound Effects are now available in Studio
ElevenLabs
How to Make your Professional Voice Clone.
ElevenLabs
Get unique AI Voiceovers in CapCut
ElevenLabs
Transfer to human - Conversational AI
ElevenLabs
Use HeyGen Avatar IV to Make AI Movie Characters
ElevenLabs
More on: LLM Foundations
View skill →Related Reads
📰
📰
📰
📰
What Actually Happens When You Fine-Tune a Language Model, Explained Simply
Medium · AI
What Actually Happens When You Fine-Tune a Language Model, Explained Simply
Medium · Machine Learning
What Actually Happens When You Fine-Tune a Language Model, Explained Simply
Medium · Programming
How to Build a Scalable LLM-Powered README Generator
Medium · AI
Chapters (19)
Introduction: Enhancing Conversational AI with Personalization
0:08
Overview of Twilio Personalization Documentation
0:11
Understanding Webhooks and Dynamic Variables
0:39
Connecting Conversational AI to Phone Communication
0:47
Integrating Twilio for Conversational AI Connections
0:59
Configuring AI Agents within the Platform
1:04
Managing Phone Numbers in the Conversational AI Dashboard
1:30
Detailed Examination of Agent Configuration Settings
1:57
Demonstration of AI Agent Call Functionality
2:30
Implementing AI Agent Personalization Data
2:39
Webhook Configuration: A Step-by-Step Guide
3:01
Enabling Twilio Connection for Data Retrieval
3:14
Identifying the API Endpoint for Webhook Integration
4:03
Detailed Configuration of Webhook Parameters
4:10
Integrating the Webhook into Conversation Initialization
5:01
Adding a Webhook for Conversation Initialization
5:06
Activating Data Fetching for Conversation Initiation
6:03
Conducting a Test Call with the Enhanced AI Agent
7:02
Conclusion: Elevating Customer Communication through AI
🎓
Tutor Explanation
DeepCamp AI