Twilio Account Setup and AgentFlow Integration
🔹 1. Sign In and Create Account
- Go to Twilio and sign in.
- Create a new Account.
- Enter your preferred name in the Friendly Name field.
- Select Twilio and click Continue.
- On the Review screen, choose your country and click Create new account.
🔹 2. Personalization Setup
On the personalization screen, follow these steps:
- Fill in the details about your company.
- Under How do you want to build with Twilio?, select With 3rd party Integration.
- Under What do you want to build with Twilio?, select AI Agents.
- Under Which Channel are you interested in?, select WhatsApp.
🔹 3. Add Account Info to AgentFlow
On the main screen, navigate to Account Info and copy these values:
- Account SID
- Auth Token
Paste these values into AgentFlow → Twilio Settings to connect your account.
🔹 4. Messaging Sandbox Setup
- Go to Messaging → Try it out from the left sidebar.
- Open Sandbox Settings.
- In the When a message comes in field, click the eye icon in your AgentFlow channel to copy the Webhook URL.
- Paste it into the field.
- Ensure Method = POST.
- Save and test by sending a message to the provided number or scanning the QR code.
🔹 5. Adding Your Own Phone Number
-
Go to Messaging → Senders → WhatsApp Senders.
-
Click Add New Sender.
-
In the Messaging Endpoint Configuration section:
- Paste the Webhook URL for incoming messages copied from AgentFlow.
- Repeat the same for Status Callback URL.
-
Fill in your Business Profile Information and save.
-
You can now use your own WhatsApp number with Twilio!