Twilio
The Twilio package enables you to integrate SMS messaging, WhatsApp messaging, voice calls, and verification services into your automation workflows. This package provides a comprehensive set of tools for communication automation using the Twilio API.
Features
- SMS Messaging - Send SMS messages to any phone number
- WhatsApp Messaging - Send and receive WhatsApp messages through Twilio
- Voice Calls - Make automated voice calls with custom messages or TwiML scripts
- Verification Services - Send and verify verification codes for two-factor authentication
Prerequisites
Before using the Twilio package, you need:
- A Twilio account - Sign up at twilio.com
- Account SID - Found in your Twilio Console dashboard
- Auth Token - Found in your Twilio Console dashboard
- Twilio Phone Number - A phone number purchased from Twilio for sending SMS/calls
- Verify Service SID (optional) - Required only for verification code features
Getting Started
- Use the Connect node to establish a connection with your Twilio credentials
- Choose the appropriate node for your use case:
- Send SMS - Send text messages
- Send WhatsApp Message - Send WhatsApp messages
- Receive Message - Receive incoming WhatsApp messages via webhook
- Voice Call - Make automated phone calls
- Send Verification Code - Send OTP codes
- Check Verification Code - Verify OTP codes
Phone Number Format
All phone numbers must be in E.164 format:
- Format:
+[country code][phone number] - Example:
+14155552671(US number) - Example:
+447911123456(UK number)
Authentication Methods
The Twilio package supports two authentication methods:
- Connection-based - Use the Connect node to create a connection ID, then pass it to other nodes
- Direct credentials - Provide Account SID and Auth Token directly in each node (optional)
Check Verification Code
Robomotion.Twilio.Verify.CheckVerify
Connect
Robomotion.Twilio.Connect
Receive Message
Robomotion.Twilio.WhatsApp.ReceiveMessage
Send SMS
Robomotion.Twilio.SMS.Send
Send Verification Code
Robomotion.Twilio.Verify.SendVerify
Send WhatsApp Message
Robomotion.Twilio.WhatsApp.SendMessage
Voice Call
Robomotion.Twilio.Voice.Call