Flow Patterns
Common flow patterns for typical email communication use cases. Each pattern includes the flow configuration JSON and template requirements.
Welcome Series
A multi-email onboarding sequence triggered when a new user signs up.
Key design decisions:
- Check after each wait step whether the user has already activated. Stop sending if they have.
- Space emails 24-72 hours apart to avoid overwhelming new users.
- Each email should have a clear CTA that drives toward the activation goal.
Cart Abandonment
Remind users about items left in their cart. Triggered when a cart is created and cancelled when a purchase is completed.
Event payload example:
Always check for the order_completed event before sending a reminder. If the user completed checkout during the wait period, skip the reminder.
Re-engagement Campaign
Win back inactive users who have not performed any action in the last 30 days.
Segment for inactive users:
The inactivity_detected event would be triggered by a Celery Beat scheduled task that scans for inactive users daily. This pattern combines scheduled detection with the flow engine for delivery.
Transactional Notification
Single-email notification for a business event (no wait steps, no conditions).
This is the simplest flow pattern. Every claim_submitted event triggers one email.
Template example (NLT):
Multi-Step Follow-Up
A follow-up flow that sends a reminder if the user has not completed a required action.
Key design decisions:
- Use
trigger_conditionsto filter only claims that require documents - Escalate urgency with each reminder
- After the final reminder, update the contact with a flag for manual follow-up by the support team
Pattern Summary
| Pattern | Trigger | Steps | Content Type |
|---|---|---|---|
| Welcome Series | signup_completed | 3 emails with waits + conditions | Transactional |
| Cart Abandonment | cart_created | 2 emails with waits + purchase check | Promotional |
| Re-engagement | inactivity_detected | 2 emails with wait + login check | Promotional |
| Transactional | Business event | 1 email, no waits | Transactional |
| Multi-Step Follow-Up | Business event | 3 emails with waits + action checks | Transactional |