Campaigns
Build a patient segment → preview recipients → queue a campaign run
← Dashboard
Preview
Queue Campaign
Segment Builder
Choose filters and click Preview
Campaign Type
SMS (Twilio)
Email (EmailJS)
Sending should be done server-side later. This page queues a campaign + recipient list.
Quick Segments
All New
Contacted (follow-up)
Scheduled
Active
Discharged
Requested appt / never booked
Filters
Status
Any status
New
Contacted
Scheduled
Active
Discharged
Insurance contains
Provider contains
Created date range
Uses meta.createdAt. Leave blank for any date.
Last contacted older than (days)
Uses meta.lastContactedAt (optional field).
Has phone (SMS)
Has email (Email)
Requested appointment (requestedAppointment == true)
Booked appointment (bookedAppointment == true)
NOT booked (bookedAppointment != true)
Exclude Discharged
Message
Campaign Name
Subject (Email only)
Message
Later we’ll connect this to Twilio / EmailJS templates. For now, it queues the campaign draft.
Reset
Preview
Queue Campaign
Preview
—
Matched
—
Sendable
—
Excluded
—
Query Summary
{}
Recipients (first 200)
No recipients match these filters.
Queue Output
{}