Twilio Trigger

Start the workflow on an incoming message or a status update from Twilio.

v1.0.2Source

Install

Send and read SMS, MMS, and WhatsApp messages, make and read phone calls, and look up phone numbers with Twilio, and start a workflow on an incoming message or a status update. Use it for alerts, verification, and customer messages.

Twilio@zerodot/twilioInstall
  1. Open System, then Nodes.
  2. Find Twilio and click Install.
  3. Use the new nodes at once. You do not restart.

How it works

Twilio Trigger (trigger.twilio) is a trigger node in the Twilio package (@zerodot/twilio): Start the workflow on an incoming message or a status update from Twilio.

Starts a run on a request from Twilio:

  • Incoming Message: someone sent an SMS, an MMS, or a WhatsApp message to your number
  • Message Status: a message that you sent changed status, such as delivered or failed
  • Call Status: a call that you made changed status, such as completed

You can accept events only for some numbers. Set the webhook address of the trigger in the Twilio Console: as A message comes in of a phone number (or of a Messaging Service), or as the Status Callback URL of a message or a call. Each request must have a valid X-Twilio-Signature. The signature uses the full address, so use the address exactly as zerodot shows it.

The trigger does not answer with TwiML, so it cannot control an incoming call. Use it for messages and for status updates.

Twilio sends events only to the address in the console, so test listening is not available. Publish the workflow to get events.

Logins it can use

Twilio account (twilio.account): accountSid (starts with AC) and authToken, both from the Twilio Console dashboard. authToken is secret, and the trigger uses it to check the signature. The Test button reads the account.

Guides and related hubs