Phone appointment booking — the assistant runs the schedule itself

A patient calls and by voice books, reschedules or cancels a visit — the scenario checks free slots in the database and runs the schedule for the receptionist.

  • Takes calls without a receptionist
  • Booking, rescheduling, canceling by voice
  • Checks the doctor's free time
  • Answers about slots and insurance
WebhookSupabase

How it works

Automating Webhook and Supabase takes no code: a ready-made scenario does the routine for you.

  1. Starts when: Webhook
  2. Check: Switch
  3. If yes: Find Patient (Booking)
  4. Check: Check Time Availability
  5. If yes: Get Existing Appointments
  6. Check: Time Slot Already Taken?
  7. If yes: Notify Appointment Conflict
  8. If no: Verify Patient Phone Number
  9. Then: Create Appointment Record
  10. Starts when: Notify Appointment Time
  11. If no: Create Appointment
  12. If no: Find Patient (Reschedule)
  13. Then: Fetch Patient's Current Appointment
  14. Then: Check Doctor Availability for New Slot
  15. Check: Is Reschedule Possible?
  16. If yes: Notify: Time Slot Taken
  17. If no: Update Appointment to New Slot
  18. Starts when: Confirm Rescheduled Appointment
  19. If no: Find Patient (Cancel)
  20. Then: Delete Appointment Record
  21. Starts when: Notify Cancelation Success
  22. If no: Find Patient (List Appointments)
  23. Check: Check Insurance Status
  24. If yes: Notify Insurance Accepted
  25. If no: Notify Insurance Rejected
  26. If no: Find Insurance Record
  27. Then: Fetch Patient Appointments
  28. Then: Aggregate Patient Appointments
  29. Then: Summarize Appointment Data
  30. Starts when: Send Summarized Appointment List
  31. If no: Generate Availability With AI
  32. Starts when: Send Availability Response
  33. If no: Fetch All Doctors
  34. Then: Aggregate Doctors Data
  35. Then: Summarize Doctors Data
  36. Starts when: Send Doctors List
  37. Then: LLM Engine
  38. Then: Fetch Doctor’s Appointments

You can launch this Webhook + Supabase integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.