Get Started
Screenshot of n8n workflow
PRO TEMPLATE
Automate WhatsApp Appointment Confirmations
26
Views
1
Downloads
38
Nodes
Download Template
Pro required
Preview Template
Utility Rating
8 / 10
Business Function
Operations
Automation Orchestrator
n8n
Integrations
Telegram
PostgreSQL
OpenRouter
OpenAI
Google Tasks
Google Calendar
Gmail
Evolution API
Trigger Type
On app event
Schedule
Webhook
Approx setup time ≈ 95 min
Need help setting up this template?
Ask in our Futurise Pro community
About
Community
Courses
Events
Members
Templates

How to Automate WhatsApp Appointment Confirmations?

Leon Petrou
PRO TEMPLATE
Automate WhatsApp Appointment Confirmations
26
Views
1
Downloads
38
Nodes
Download Template
Pro required
Preview Template
Utility Rating
8 / 10
Business Function
Operations
Automation Orchestrator
n8n
Integrations
Telegram
PostgreSQL
OpenRouter
OpenAI
Google Tasks
Google Calendar
Gmail
Evolution API
Trigger Type
On app event
Schedule
Webhook
Approximate setup time ≈ 95 minutes
Need help setting up this template?
Ask in our Futurise Pro community

Description

Keep your clinic on schedule with a smart system that confirms tomorrow’s appointments and handles patient messages in one place. It suits clinics that use WhatsApp for patient communication and Google Calendar for scheduling. Your team can also manage rescheduling and reminders from Telegram without jumping between apps.

Every weekday at 08:00, the scheduler collects next day events from Google Calendar, reads the phone number from the event description, formats a confirmation message for WhatsApp, and sends it through the Evolution API. Incoming WhatsApp messages land in a webhook and are sorted by type. Text goes to the assistant, audio is downloaded, converted, and transcribed by OpenAI, and images are read with a vision model. Postgres memory keeps context. Urgent or sensitive topics can be escalated to a human. A Telegram assistant lets staff reschedule via the calendar and add items to Google Tasks.

Set clear event descriptions with patient phone numbers, confirm your time zone, and register the webhook with your WhatsApp provider. Expect fewer no shows, faster replies, and less manual work. It fits clinics, dental offices, spas, and similar services that rely on booked visits and messaging.

Copy link

Tools Required

Telegram
Sign up
Free: $0, Telegram Bot API usage is free for developers
PostgreSQL
Sign up
Free: $0 (open-source PostgreSQL License; self-hosted)
OpenRouter
Sign up
Free models: $0 via API, 20 requests/min; 50/day or 1000/day with ≥10 credits
OpenAI
Sign up
Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens
n8n
Sign up
$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.
Google Tasks
Sign up
Free: $0 (personal Google Account; no paid Workspace subscription required). Courtesy limit 50,000 requests/day
Google Calendar
Sign up
Free: $0; all Google Calendar API usage is at no additional cost; quota limits apply (no charges for overages).
Gmail
Sign up
No cost: Personal Gmail (Gmail API has no usage-based pricing; quotas apply)
Evolution API
Sign up
Free tier: $0 (self-hosted)

What this workflow does?

  • Daily scheduler runs at 08:00 Monday to Friday to start confirmations.
  • Google Calendar tool lists next day events and reads phone numbers from event descriptions.
  • AI formats messages for WhatsApp syntax and sends through the Evolution API.
  • Webhook receives WhatsApp messages and routes text, audio, image or document with a switch.
  • Audio messages are downloaded, converted to a file, and transcribed by OpenAI Whisper.
  • Images are processed by a vision model to extract text and describe content for replies.
  • Telegram assistant supports staff with rescheduling and creates reminders in Google Tasks.
  • Postgres chat memory keeps context, and a human handoff tool handles urgent cases.

What are the benefits?

  • Reduce manual confirmation work from 2 hours to 10 minutes each morning
  • Automate up to 90% of next day confirmations with consistent messaging
  • Handle 5 times more patient messages without adding staff
  • Connect calendar, WhatsApp, Telegram, email and tasks in one flow
  • Cut copy and paste errors by 90% by pulling data from calendar events
  • Lower no shows by sending clear reminders the day before

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Telegram, Google Calendar, Google Tasks, Gmail, OpenAI, OpenRouter, Evolution API and PostgreSQL. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create a Telegram Bot credential. Get a bot token from BotFather, paste it into the Telegram credential, then open the Telegram Trigger node and select this credential. Send a test message to your bot to verify events are received.
  4. Open the Evolution API and Evolution API2 nodes. Create a new credential for your WhatsApp gateway and enter the base URL and token. Copy the URL from the Webhook1 node and register it in your Evolution API incoming webhook settings to receive messages.
  5. Create a Google OAuth2 credential in n8n. Grant Calendar and Tasks scopes. Assign this credential to the MCP Google Calendar, MCP CALENDAR, MCP Google Calendar2, and Google Tasks nodes.
  6. Create an OpenAI API Key and add an OpenAI credential in n8n. Attach it to the OpenAI Chat Model, OpenAI1, and OpenAI nodes. Adjust model names if your account uses different models.
  7. Add an OpenRouter credential with your OpenRouter API Key, then select it in the OpenRouter Chat Model nodes if you plan to use them.
  8. Set up a PostgreSQL credential with host, port, database, user, password and SSL if required. Attach it to the Postgres Chat Memory nodes. Allow n8n Cloud IPs in your database firewall.
  9. Edit the Assistente Clínica system message and add your clinic contact details. Confirm the CallToHuman tool is connected for urgent cases.
  10. Open the Gatilho diário node and confirm the cron expression 0 8 * * 1-5. Check the n8n instance time zone so the job runs at your local 08:00.
  11. Standardize Google Calendar event descriptions to include the patient phone number. Create a test event for tomorrow with a valid number.
  12. Send test WhatsApp messages to the webhook: a text, an image, and a voice note. Verify the Switch routes each type, check transcription and OCR results, and confirm replies are formatted for WhatsApp.
  13. Run a full test: enable the workflow, wait for the daily trigger or run it manually, and confirm that WhatsApp confirmations are sent and that rescheduling via Telegram updates the calendar. Check Google Tasks for new reminders.
  14. Troubleshoot common issues: keep audio under 25 MB, ensure clear images, verify webhook reachability, recheck credentials on each node, and confirm the phone number exists in the event description.

Need help or want to customize this?

Similar Templates

n8n
Operations
Automate WhatsApp Booking Management
Handle secure booking requests coming from chat. The flow receives encrypted form data, reads the current screen, and returns the right options in real time. It fits teams that schedule visits, classes, or service slots over WhatsApp. An incoming webhook collects a POST with three encrypted parts. The next step converts base64 strings into binary and uses a private key to unlock the data, which is a safe mix of RSA and AES. A parser cleans the payload and finds the screen value. A switch sends the data to the right branch, such as grouping appointment times or reading seat choices. One branch groups times by date and builds a clear list. Another branch extracts seats from the payload. The reply is then encrypted again and sent back through the webhook with a 200 code. Set the webhook URL in your WhatsApp Business Platform app and paste your private key in the decryption node. Map field names to match your flow and adjust the switch rules for your screens. Expect faster replies, fewer errors, and clear choices for users. Good fits include clinics, salons, service teams, and training centers that take bookings inside chat.
15 views
view
See More Templates

These templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution.Where an original author was identified, attribution has been provided. Some templates did not include author information. If you know who created this template, please let us know so we can add the appropriate credit and reference link. If you are the author and would like this template removed from the library, email us at info@futurise.com and we will remove it promptly.