Bubble.io Messaging Integrations: WhatsApp, SMS and Chat in Your App
Add WhatsApp, SMS and live chat to a Bubble.io app: providers, opt-in and templates, two-way messaging with webhooks, in-app chat and cost control.
On this page
Customers increasingly expect to be reached where they already are: by text message, on WhatsApp or in a chat window inside your app. For bookings, deliveries, support and sales, these channels often get faster responses than email. This guide shows how to add SMS, WhatsApp and in-app chat to a Bubble.io app, including two-way conversations, consent and cost control.
In this guide- Choosing a channel
- SMS with a provider
- WhatsApp Business messaging
- Two-way conversations
- In-app chat
- Consent, preferences and cost
- FAQ
Choosing a channel
| Channel | Best for | Watch out for |
|---|---|---|
| SMS | Reminders, codes, urgent alerts | Per-message cost; opt-in rules |
| Conversations in markets where WhatsApp dominates | Approved templates for business-initiated messages | |
| In-app chat | Support and user-to-user conversations | Users must be in the app to see messages |
| Records, receipts, longer content | Slower responses; see transactional email |
SMS with a provider
- Create an account with an SMS provider such as Twilio and get a sending number
- In the API Connector, add the provider’s API with credentials marked private
- Create a send-message call with the recipient and message body as parameters
- Call it from backend workflows, for example a reminder 24 hours before a booking
- Store each sent message, its status and its cost for reporting
WhatsApp Business messaging
WhatsApp is used through the WhatsApp Business Platform, directly or via a provider. Key rules to plan for:
- Opt-in: customers must agree to receive WhatsApp messages from you
- Templates: messages you initiate generally use pre-approved templates, such as an appointment reminder
- Conversation window: after a customer messages you, you can reply freely for a limited period
- Business verification: your business profile and number need to be set up and verified
Two-way conversations
To receive replies, expose a backend workflow as an API endpoint and register it as your provider’s incoming-message webhook. Each reply creates a Message record matched to the customer by phone number, and staff can respond from an inbox page in your app. Validate incoming requests before acting on them; see backend workflows.
In-app chat
- Data structure: a Conversation (participants, last message, unread counts) and Messages (conversation, sender, text, attachments, read)
- Privacy: privacy rules so only participants can read a conversation; see privacy rules
- Real time: Bubble.io refreshes searches automatically, so new messages appear instantly
- Notifications: alert recipients in-app and by email or push when they are away; see notifications
Building a community with direct messages? See community apps on Bubble.io.
Consent, preferences and cost
- Record when and how each customer opted in, and honour opt-outs immediately
- Let users choose channels in their notification preferences
- Send only messages that are genuinely useful; frequency is the biggest driver of opt-outs and cost
- Track messages sent and their cost per account, and set limits by plan if needed
Frequently asked questions
How do I send SMS from a Bubble.io app?
Connect an SMS provider such as Twilio through the API Connector, keep your credentials private, and call the send-message endpoint from a backend workflow with the recipient's number and message.
Can Bubble.io send WhatsApp messages?
Yes, through the WhatsApp Business Platform, either directly or via a provider such as Twilio. Business-initiated messages generally require pre-approved templates and the recipient's opt-in, while replies within an active conversation can be free-form.
How do I receive replies to SMS or WhatsApp messages?
Expose a backend workflow as an API endpoint and set it as the provider's incoming message webhook. Each reply then creates a message record in your app, matched to the right customer by phone number.
Can I build live chat inside a Bubble.io app?
Yes. Conversation and Message data types, protected by privacy rules, support in-app chat between users or with support staff. Bubble.io updates searches in real time, so new messages appear without refreshing. Third-party chat widgets are another option.
How much do SMS and WhatsApp messages cost?
Providers charge per message, with prices that vary by country and message type. Check your provider's current rates, and control costs by sending only useful messages and respecting user preferences.
Want WhatsApp, SMS or chat in your app?
Book a free Idea Audit. We will design the right messaging channels and build them reliably into your product.
Other posts
Ready to build your product?
Book a free 30-minute call, or hire a certified Bubble.io developer.
Book a free callHire a Bubble developer