AutomationMart
Home/Browse/Multi-Agent AI Clinic Management with WhatsApp, Telegram, and Google Calendar
n8n

Multi-Agent AI Clinic Management with WhatsApp, Telegram, and Google Calendar

n8nn8n31 modulesv1.0
WhatsAppOpenAITelegramGoogle CalendarGemini

Healthcare Clinic Assistant with WhatsApp and Telegram Integration Version: 1.1.0 n8n Version: 1.88.0+ License: MIT --- 📋 Description A comprehensive and modular automation workflow designed for healthcare clinics. It manages patient communication, appointment scheduling, confirmations, rescheduling, internal tasks, and media processing by integrating WhatsApp, Telegram, Google Calendar, and Google Tasks, combined with AI-powered agents for max

At a glance

Multi-Agent AI Clinic Management with WhatsApp, Telegram, and Google Calendar is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects WhatsApp, OpenAI, Telegram, Google Calendar. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
WhatsApp, OpenAI, Telegram, Google Calendar, Gemini
Modules
31
Price
Free
Version
v1.0
Multi-Agent AI Clinic Management with WhatsApp, Telegram, and Google Calendar workflow diagram

About this workflow

Healthcare Clinic Assistant with WhatsApp and Telegram Integration Version: 1.1.0 n8n Version: 1.88.0+ License: MIT --- 📋 Description A comprehensive and modular automation workflow designed for healthcare clinics. It manages patient communication, appointment scheduling, confirmations, rescheduling, internal tasks, and media processing by integrating WhatsApp, Telegram, Google Calendar, and Google Tasks, combined with AI-powered agents for maximum efficiency. This system guarantees proactive communication with patients, streamlined internal clinic management, and consistent data synchronization across platforms. --- 🌟 Key Features - 🤖 AI-Powered Specialized Agents: Distinct agents handle WhatsApp patient support, appointment confirmations, and internal rescheduling tasks. - 📱 Omnichannel Communication: Handles patient interactions via WhatsApp and staff commands via Telegram. - 📅 Google Calendar Appointment Management: Full synchronization for creating, updating, canceling, and confirming appointments. - 📋 Task Management with Google Tasks: Manages shopping lists and administrative tasks efficiently through staff Telegram requests. - 🔔 Automated Appointment Reminders: Daily-triggered system proactively sends WhatsApp confirmations to patients for next-day appointments. - 🖼️ Intelligent Media Processing: Transcribes audios, extracts text from images, and processes documents using OpenAI and OpenRouter AI models. - 🛡️ Escalation to Human Support: Automatically detects sensitive or urgent cases and escalates them to a human agent when needed. --- 🏥 Use Cases - Patient Communication: Respond to inquiries, schedule, reschedule, and confirm appointments seamlessly via WhatsApp. - Internal Clinic Operations: Allow staff to modify appointments or add shopping list reminders directly from Telegram. - Appointment Confirmation System: Automatically contacts patients one day prior to appointments for confirmation or rescheduling. - Task and Reminder Management: Keeps clinic operations organized through automatic task management with Google Tasks. --- 🛠️ Technical Implementation WhatsApp Patient Interaction Flow - Webhook Reception: Incoming WhatsApp messages captured via Evolution API webhook. - Message Classification: Intelligent routing of messages based on content type (text, image, audio, document). - Media Content Processing: - Audios: Download, convert, and transcribe via OpenAI Whisper. - Images: Analyze and extract text/descriptions with OpenAI Vision model. - Patient Request Handling: Specialized WhatsApp assistant responds appropriately using AI prompts. - Outbound Message Formatting: Ensures messages comply with WhatsApp format standards. - Message Delivery: Sends responses back via Evolution API. Telegram Staff Management Flow - Telegram Webhook Reception: Captures messages from authorized staff accounts. - Internal Assistant Processing: - Appointment Rescheduling: Identifies and updates appointments through MCP Google Calendar. - Task Creation: Adds new entries to the clinic's shopping list using Google Tasks. - Notifications and Confirmations: Sends confirmations back to staff through Telegram. Appointment Reminder System - Daily Trigger Activation: Fires every weekday at 08:00 AM. - Calendar Scraping: Lists next day's appointments from Google Calendar. - Patient Contact: Sends WhatsApp confirmation messages for each appointment. - Response Management: Redirects confirmation or rescheduling replies to appropriate agents. --- ⚙️ Setup Instructions 1. Import the Workflow n8n → Workflows → Import from File → Upload this JSON file. 2. Configure Credentials - Evolution API (WhatsApp Communication) - Telegram Bot API (Staff Communication) - Google Calendar OAuth2 (Appointment Management) - Google Tasks OAuth2 (Task Management) - OpenAI and OpenRouter APIs (AI Agents) - PostgreSQL Database (Chat Memory) 3. Set Sensitive Variables - Replace placeholder values: - {sua instância aqui} → Evolution API instance name - {númerowhatsapp} → WhatsApp numbers - {urldoservidor} → Server URLs - {a sua apikey aqui} → API keys - {seucalendario} → Google Calendar ID 4. Customize AI Prompts - Adjust system prompts to fit your clinic’s tone, service style, and patient communication guidelines. - Set clinic operating hours, escalation rules, and cancellation procedures in AI prompts. 5. Activate and Test - Simulate patient messages via WhatsApp. - Test Telegram commands from staff members. - Validate daily appointment reminders using the scheduled trigger. --- 🏷️ Tags Healthcare Clinic Management WhatsApp Integration Telegram Bot Appointment Scheduling Google Calendar Google Tasks AI Agents n8n Automation --- 📚 Technical Notes - PostgreSQL is used for persistent chat memory across sessions. - Multiple AI Models Used: - OpenAI GPT-4.1-nano - OpenAI GPT-4.1-mini - Google Gemini 2.0 and 2.5 - Full media content processing supported (audio, image, text). - Compliant escalation workflows ensure patient safety and proper handoff to human staff when necessary. - All sensitive patient data are securely stored inside calendar event descriptions for easy retrieval by agents. --- 📜 License This workflow is provided under the MIT License. Feel free to adapt and customize it for your clinic’s specific needs.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Send Telegram messages for new Ticket Tailor orders

Make will watch your Ticket Tailor orders at regular intervals and send messages to your Telegram channel.

Free

Expense logging with Telegram and Google Sheets

Weekly Summaries and Budget Alerts Who’s it for This workflow is perfect for individuals who want a simple expense tracker without needing a full app. If you already use Telegram daily, this makes it effortless to log purchases, track spending, and stay accountable to your budget. How it works / What it does Send an expense in Telegram using the format /spent 5 lunch. n8n parses the message and appends the entry to Google Sheets. Every Sunday at 11:00, the workflow sends a weekly expense summ

Free

Conduct SWOT analysis on competitors with ChatGPT and store results on a Google Slide

Add competitor websites to a Google Sheet and Make will perform competitor SWOT analysis using ChatGPT and instantly save insightful data on a Google Slide for a visual presentation. Your sheet must have the following columns: A - Company website B - Strengths C - Weaknesses D - Opportunities E - Threats Your slide template must have the following placeholders: {{company website}} {{strengths}} {{weaknesses}} {{opportunities}} {{threats}}

Free

Send new Telegram messages from new VK.com posts

This template periodically checks for new wall posts on VK.com and uses the retrieved information to send messages on Telegram. The template is scheduled to run every 15 minutes. You can change the schedule after you set up the template.

Free

Create and send personalized email messages using ChatGPT and a custom webhook

Automate personalized email campaigns by integrating ChatGPT with a custom webhook and Microsoft Email and send a response. Enhance communication with AI-driven content and instant delivery.

Free

Forward Chatwoot Messages to WhatsApp via Evolution API with Media Support

Description This workflow automates forwarding messages received in Chatwoot to WhatsApp using the Evolution API. It provides full support for different types of messages, ensuring rich and seamless communication with the end user. What Problem Does This Solve? Manually forwarding messages from Chatwoot to WhatsApp can be time-consuming and error-prone, especially when handling diverse message types like media files. This subworkflow streamlines the process, automating message delivery while mai

Free

Generate recipes from fridge photos using GPT-4 Vision & Telegram

This n8n template demonstrates a multi-modal AI recipe assistant that suggests delicious recipes based on user input, delivered via Telegram. The workflow can uniquely handle two types of input: a photo of your ingredients or a simple text list. Use cases are many: Get instant dinner ideas by taking a photo of your fridge contents, reduce food waste by finding recipes for leftover ingredients, or create a fun and interactive service for a cooking community or food delivery app! Good to kno

Free

Create a two-way WhatsApp + Telegram integration for 10k+ customer support chats

Next-Gen Customer Support: Two-Way WhatsApp + Telegram Integration for 10k+ Clients ------------------------------------------------------------------------ Who is this workflow for This workflow is designed for customer support teams, e-commerce founders, and operations managers who want to handle thousands of customer queries seamlessly. Instead of building a brand-new chat application, it leverages WhatsApp (where customers already are) and Telegram (where your support team operates) to creat

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free