Skip to main content

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:

  1. A Twilio account - Sign up at twilio.com
  2. Account SID - Found in your Twilio Console dashboard
  3. Auth Token - Found in your Twilio Console dashboard
  4. Twilio Phone Number - A phone number purchased from Twilio for sending SMS/calls
  5. Verify Service SID (optional) - Required only for verification code features

Getting Started

  1. Use the Connect node to establish a connection with your Twilio credentials
  2. Choose the appropriate node for your use case:

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:

  1. Connection-based - Use the Connect node to create a connection ID, then pass it to other nodes
  2. Direct credentials - Provide Account SID and Auth Token directly in each node (optional)