Multi-Agent AI Clinic Management with WhatsApp, Telegram, and Google Calendar
    100%
    Automation
    0(0 reviews)
    2229 downloads

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

    NM

    Curated by n8n Markets team

    Last updated: March 8, 2026

    # 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ΓΊmero_whatsapp}` β†’ WhatsApp numbers - `{url_do_servidor}` β†’ Server URLs - `{a sua apikey aqui}` β†’ API keys - `{seu_calendario}` β†’ 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

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 30-60 min

    Included in Builder Pro β€” $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Mar 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    β€”

    0 reviews

    5β˜…
    0
    4β˜…
    0
    3β˜…
    0
    2β˜…
    0
    1β˜…
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought