Skip to main content

Odoo integration · Marketing and messaging

Integrate Twilio with Odoo

FlexigoTech has no published connector for Twilio today. Odoo Community already sends SMS through Twilio with sms_twilio (17 to 20): it posts each message to Twilio's Messages.json and gets the delivery status back on /sms_twilio/status. In its code there is no route for incoming messages and nothing for WhatsApp, so replies and WhatsApp through Twilio are the custom part.

  • API: Twilio REST API (Messaging, WhatsApp)
  • Authentication: API keys, which can be limited to users or applications and revoked, are Twilio's preferred method
  • Odoo: 17, 18, 19 and 20, on Odoo.sh or your own server
  • FlexigoTech connector: not published; we build it to order

A custom module needs Odoo.sh or a self-hosted Odoo: standard Odoo Online does not accept custom code.

What the Twilio API exposes

In Twilio's Messaging API, a Message resource is any inbound or outbound message: SMS, MMS, WhatsApp or RCS, with its direction, status, number of segments and price. Incoming messages and status changes reach the application as webhooks.

www.twilio.com/docs/messaging/api/message-resource

Authentication, events and limits, from the Twilio documentation

  • Authentication: API keys, which can be limited to users or applications and revoked, are Twilio's preferred methodAPI keys are the preferred way to authenticate with Twilio's REST APIs. (source)
  • Signed webhooks: the X-Twilio-Signature header, HMAC-SHA1 with the account's auth token by defaultTwilio signs webhook requests so your app can confirm they came from Twilio. (source)
  • Sending queue: messages wait in a queue for up to 10 hours by default, and the sending rate depends on the messages per second of each senderTwilio queues your messages for 10 hours (36000 seconds) by default (source)
  • WhatsApp: messages the business starts must use pre-registered templates; free text only as a reply to the customerWhatsApp requires that business-initiated notifications sent by your application be templated and pre-registered, with the exception of messages sent as a reply to a user-initiated message. (source)

Object by object: where each Twilio record would land in Odoo

Twilio resourceOdoo modelDirectionWhat the integration would do
Messagesms.smsOdoo → TwilioAlready covered by sms_twilio: each Odoo SMS sent through Twilio, with its delivery status coming back.
Messagemail.message
res.partner
Twilio → OdooInbound messages (direction inbound) matched to the contact by phone number and logged on their record, so a customer's reply does not stay in the Twilio console.
WhatsAppmail.message
sale.order
both waysOrder confirmations and delivery notices sent by WhatsApp with approved templates, and the customer's answers back on the order.

Models checked in the Odoo 17 to 20 source code on 24-11-2026.

Does Odoo already ship something for Twilio?

Yes: Odoo ships “Twilio SMS” (sms_twilio, Community, in Odoo 17, 18, 19 and 20). Check what it covers before ordering anything custom.

How we would build it

First we look, free of charge, at what has to move between Twilio and your Odoo. Then you get the scope in writing and a fixed price before any code is written; we do not bill by the hour. The module is Python on the Odoo ORM, with tests, and we test it on a real Odoo.sh before delivery.

Custom development

Shall we connect Twilio to your Odoo?

Request a free scope analysis