A two-bot system: an intake bot that collects patient information before the appointment, and a follow-up bot that handles post-visit care and review requests.
Triggered when a new appointment is booked. Collects intake information before the visit so clinical staff have everything ready.
| Question | Format | Stored Field |
|---|---|---|
| Main reason for visit today? | Free text | chief_complaint |
| Any current medications? | Free text or "No medications" button | medications |
| Any allergies we should know about? | Free text or "No allergies" button | allergies |
| How are you paying today? | Buttons: Insurance / Self-pay / Other | payment_method |
| Is your address still [address on file]? | Buttons: Yes / No — update | address_confirmed |
| Timing | Message | Action Required |
|---|---|---|
| 48h before | Intake questions sent (see above) | Patient completes intake |
| 24h before | "Your appointment is tomorrow at [time]. Is there anything you need to bring?" | Confirmation reply |
| 2h before | Address, parking info, what to expect | No reply needed |
| 15 min before (optional) | "We're ready for you — see you soon!" | No reply needed |
Triggered 2 hours after appointment end time. Checks in on the patient and captures feedback.
Intake Workflow
Calendar webhook (appointment created)
→ Extract: patient phone, name, appointment datetime, type
→ Wait: 48h before appointment
→ Send WhatsApp intake sequence
→ Collect responses (webhook listener per session)
→ POST structured data to EHR API
→ Log to patient record in CRM
Follow-Up Workflow
Calendar webhook (appointment completed / end time passed)
→ Wait: 2 hours
→ Send check-in message
→ Branch: positive / negative / no response
→ [Positive] Send satisfaction score → review request
→ [Negative] Alert staff + empathy message
→ Log outcome in patient CRM record