Twilio Module
Connect workflows to phones: SMS, MMS, WhatsApp, Voice (TwiML), and Verify OTP — all from BPMN.
Workflow Engine V 2.0.0Description
What this does
Wraps every Twilio API a typical workflow needs — SMS, MMS, WhatsApp, Voice/TwiML, Verify (OTP), and Lookup — and registers the matching Twilio webhooks for you on every deploy. The same BPMN runs over three channels (TwilioSms, TwilioWhatsApp, TwilioVoice) so a StartTask -> OutputTask -> InputTask -> EndTask flow works as an SMS bot, a WhatsApp bot, or a voice IVR depending on how the call came in.
Inbound SMS and WhatsApp land on a single unified Conversations webhook and are serialized per conversation through Service Bus sessions; voice calls stay on the request/response TwiML path so replies come back in the same HTTP round-trip.
What you can build
- Two-way SMS support bot over the
TwilioSmschannel — drop in anOutputTask/InputTaskpair. - WhatsApp customer-support bot over the
TwilioWhatsAppchannel — same BPMN, different transport. - 2FA / OTP flows with
TwilioSendOtpTaskandTwilioVerifyOtpTask(sms, call, email, or whatsapp). - Phone-number validation gates with
TwilioLookupNumberTaskto reject landlines or detect SIM swap. - Voice IVR menus on the
TwilioVoicechannel usingTwilioVoicePlayTask,TwilioVoiceRecordTask, andTwilioVoiceDialTask. - Outbound notification fan-out with
TwilioSendSmsTask,TwilioSendMmsTask, andTwilioSendWhatsAppTask.
See the setup guide for configuration and full task reference.