Ecosystem & CLI
SMS and WhatsApp in production
Production checklist for Sent.dm offline notify, opt-in, rate limits, and template compliance.
FluxyChat pairs in-app realtime chat with Sent.dm for offline SMS/WhatsApp. See the full fan-out cookbook for architecture; this page is the production checklist.
Prerequisites
- Sent.dm account with approved SMS and/or WhatsApp sender profile
- Template registered in Sent.dm (default name:
chat_notify) - Worker env vars configured (see Offline notify cookbook)
Production checklist
- User opt-in — store phone on member preferences via
PATCH /rooms/{roomId}/members/me/preferences; never SMS without consent. - Rate limits — set
OFFLINE_SMS_PER_USER_PER_HOUR(default 6) andOFFLINE_SMS_IDLE_MINUTES(default 5). - Webhook verification — verify
X-Fluxy-Signatureonmessage.createdif using a custom consumer instead of built-in Worker automation. - Template params — keep templates short; include deep link back to your app room.
- Media — disable
OFFLINE_SMS_MEDIA_ENABLEDif carriers reject attachment URLs in your region. - Monitoring — use dashboard Activities and Sent.dm delivery logs; alert on spike in failed deliveries.
Built-in Worker path
When OFFLINE_SMS_ENABLED=true and Sent.dm keys are set, the Worker sends SMS for mentions/DMs when the recipient has not read the room within the idle window.
Custom webhook path
For multi-channel logic (email + SMS + push), consume message.created webhooks and call Sent.dm from your backend. See the cookbook sequence diagram.