Automation library · Scheduling

Manage dental patient chat, bookings, and reminders

Started by an incoming Telegram message, and works across Google Sheets, Slack and Telegram. It hands the judgement calls to OpenAI. 26 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

26 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 3Model 2Logic 6Service 15

The steps in the order they run, from what starts it.

  1. 1Patient Message ReceivedTelegram triggerStarts it
  2. 2Daily Reminder CheckSchedule triggerStarts it
  3. 3On Workflow ErrorError triggerStarts it
  4. 4Extract Message DataSetLogic
  5. 5Get All AppointmentsGoogle SheetsService
  6. 6Slack – Post Workflow Error AlertSlackService
  7. 7Detect IntentSwitchLogic
  8. 8Filter Tomorrow's ProceduresFilterLogic
  9. 9Filter Yesterday's ProceduresFilterLogic
  10. 10Filter 6-Month RecallFilterLogic
  11. 11Save New BookingGoogle SheetsService
  12. 12Generate Treatment Plan ExplanationOpen AiModel
  13. 13Calculate InstallmentsCodeLogic
  14. 14General Dental Assistant ReplyOpen AiModel
  15. 15Send Pre-Procedure InstructionsTelegramService
  16. 16Send Post-Procedure CareTelegramService
  17. 17Send 6-Month RecallTelegramService
  18. 18Send Booking ConfirmationTelegramService
  19. 19Update Treatment PlanGoogle SheetsService
  20. 20Slack – Post Treatment Plan AI ErrorSlackService
  21. 21Update Payment PlanGoogle SheetsService
  22. 22Send General ReplyTelegramService
  23. 23Slack – Post General AI ErrorSlackService
  24. 24Send Review RequestTelegramService
  25. 25Send Treatment PlanTelegramService
  26. 26Send Payment ScheduleTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
26, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, Slack, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Sheets, Slack and Telegram accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 26 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 26 steps before you point it at anything that matters.