|
| 1 | +--- |
| 2 | +tags: Communication |
| 3 | +description: Connect your apps to Twilio to send SMS, WhatsApp messages, and voice calls programmatically. |
| 4 | +--- |
| 5 | +# Twilio Integration |
| 6 | + |
| 7 | +The **Twilio Integration** allows your app to use [Twilio](https://www.twilio.com/) to send and receive SMS, WhatsApp messages, and voice calls. Once connected, your app can trigger messages or calls directly from workflows, user actions, or automated events. |
| 8 | + |
| 9 | +## What You Can Do |
| 10 | + |
| 11 | +With Twilio, your app can: |
| 12 | +- **Send SMS** messages to users or customers globally. |
| 13 | +- **Send and receive WhatsApp messages**. |
| 14 | +- **Make and manage voice calls** programmatically. |
| 15 | +- Automate **notifications**, **alerts**, and **transactional messages**. |
| 16 | +- Integrate messaging into AI workflows for dynamic, real-time communication. |
| 17 | + |
| 18 | +## Step 1: Obtain Twilio Credentials |
| 19 | + |
| 20 | +1. Go to your [Twilio Console](https://www.twilio.com/console). |
| 21 | +2. Copy your **Account SID** and **Auth Token** from the dashboard. |
| 22 | + |
| 23 | + * **Example Account SID:** `ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx` |
| 24 | + * **Example Auth Token:** `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx` |
| 25 | + |
| 26 | +## Step 2: Configure the Integration in Your App |
| 27 | + |
| 28 | +1. Go to **Integrations → Add Twilio** in your app settings. |
| 29 | +2. Paste your **Account SID** and **Auth Token** in the input fields. |
| 30 | +3. Click **Connect** to validate and save your integration. |
| 31 | + |
| 32 | +Once connected, your app can send messages or make calls through Twilio directly in workflows and components. |
| 33 | + |
| 34 | +## Step 3: Notes |
| 35 | + |
| 36 | +* **Keep your credentials secure:** Never expose your Auth Token in client-side code. |
| 37 | +* **Use environment-specific credentials:** Separate dev, staging, and production credentials. |
| 38 | +* **Phone number setup:** Ensure you’ve configured a valid Twilio number for sending messages or calls. |
| 39 | +* **Regulatory compliance:** Review Twilio’s messaging and voice compliance requirements for your region. |
0 commit comments