Why should developers use Dreamlit for notifications?
Dreamlit replaces the notification plumbing you’d otherwise build in your app. There’s no SDK to learn, no API calls to add, and no events to emit. Your app writes to the database as usual, and Dreamlit reacts to those changes to send notifications.- No SDK: nothing to import, pin, or upgrade
- No API calls: no Twilio, SendGrid, Mailgun, or Resend wiring in your backend
- No event emission: your app doesn’t need to “know” that notifications exist
- No infrastructure to maintain: queues, retries, scheduling, rate limiting, and analytics are handled end-to-end
Why does coupling notifications with app code cause problems?
Adding notifications directly to your backend looks simple at first. At scale, it becomes a source of latency, bugs, and on-call pages. Here’s how the traditional approach stacks up against Dreamlit.
The longer your product runs, the more these tradeoffs compound. A cron job with one API call today becomes a three-week cleanup next quarter.
How does Dreamlit save engineering time?
Dreamlit gives you end-to-end notification infrastructure in minutes instead of days. For most teams, that’s weeks of engineering time recaptured every year.Generate workflows from plain English
Connect your coding agent through MCP, then ask it to build the workflow in plain English. Dreamlit drafts the trigger logic, timing, and templates. Review the preview, test the workflow, and explicitly approve publishing. You can also author in Dreamlit’s chat and visual editor.
Hand off lifecycle emails to your product team
Once the plumbing is in place, your PMs and marketers can own lifecycle emails without pulling you into every change. Engineering unblocks product without becoming a permanent support queue.
Inherit production-grade infrastructure
Every published workflow runs on a durable, distributed backbone:
- Retries with exponential backoff for transient failures
- Managed scheduling so you never write another cron job
- Rate limiting to protect your database and downstream services
- Fan-out parallelization for high-volume triggers
- Engagement tracking (opens, clicks, deliverability) logged automatically, with
- Multi-channel delivery across email and Slack
How do you handle database schema changes safely?
Dreamlit workflows reference table and column names, so renames or removals can break a published workflow. You have two strategies, both documented in the architecture guide.- Unpublish, change, republish: the fastest path if brief workflow downtime is acceptable. Unpublish the affected workflow, apply the migration, adjust the workflow steps to reference the new schema, then publish again.
- Expand, migrate, contract: a zero-downtime pattern borrowed from backward-compatible database changes. Add the new columns, dual-write from your app, backfill historical rows, cut Dreamlit over to the new references, then remove the old columns.
Explore further
Workflow basics
Learn how workflows are built.
How it works
Learn about the architecture.
Quick start
Create your first workflow.
Security
Security is our top priority.
References
- Workflow architecture overview
- Making schema changes safely
- Expand, migrate, and contract pattern (PlanetScale)
Last validated: 2026-04-20