AI secretary for scheduling with WhatsApp and Telegram
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Calendar AI Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Community nodes
These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
n8n-nodes-evolution-api(SEND MESSAGE WHATSAPP)
Nodes used (17)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Redis
n8n-nodes-base.redis - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Calendar Tool
n8n-nodes-base.googleCalendarTool - Switch
n8n-nodes-base.switch - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Evolution Api
n8n-nodes-evolution-api.evolutionApi - Telegram Trigger
n8n-nodes-base.telegramTrigger - Telegram
n8n-nodes-base.telegram - Date & Time
n8n-nodes-base.dateTime - Wait
n8n-nodes-base.wait - Split Out
n8n-nodes-base.splitOut - Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if
What it does
🏥 AI secretary for scheduling with WhatsApp and Telegram > ⚠️ Community Disclaimer > This workflow is community-maintained and self-hosted. > It is not officially affiliated with or supported by n8n GmbH, OpenAI, or Google. > Users are responsible for their own configuration, security, and data compliance (e.g., HIPAA, LGPD, GDPR). > Always secure API keys and ensure compliance with your local privacy regulations. --- 🧠 Description This template deploys an AI-powered virtual medical secretary that automates appointment scheduling, rescheduling, and cancellations for clinics and healthcare professionals. It seamlessly integrates OpenAI for natural language understanding, Google Calendar for real-time booking, and Evolution API (WhatsApp) or Telegram for patient communication. Patients can chat naturally via WhatsApp or Telegram, receiving empathetic, professional, and human-like responses — while your calendar stays automatically synchronized in real time. !image.png(fileId:2906) --- 💡 What Problem Does This Solve? Managing appointments manually is time-consuming and error-prone, often requiring staff to handle repetitive tasks like checking availability, confirming times, or rescheduling. Traditional systems lack conversational capabilities, forcing patients to call or text staff directly. This template solves that by creating a conversational AI assistant that interacts with patients through familiar messaging channels, reducing administrative workload and ensuring accurate real-time scheduling through Google Calendar. --- ⚙️ Key Features - 📅 Google Calendar Integration — Real-time synchronization of consultations and exams - 🤖 AI Assistant Powered by OpenAI — Understands patient intent and replies naturally - 💬 Multi-Channel Support — Works with WhatsApp (via Evolution API) and Telegram - 🔄 Automated Workflow — Handles booking, rescheduling, and cancellations - 🏥 Healthcare-Focused Design — Tailored for clinics, doctors, and medical secretaries - ✅ Customizable Responses — Modify prompts, message flows, and confirmation texts - ⏰ Reminders & Follow-ups — Reduce no-shows with automated notifications --- 🧩 Setup Instructions (Step-by-Step) 1. Obtain Required Credentials: - OpenAI API Key - Google Calendar API Credentials (OAuth or Service Account) - Evolution API Token (for WhatsApp) - Telegram Bot Token (if using Telegram) 2. Configure n8n Environment: - Add your credentials under Settings → Credentials. - Ensure your n8n instance has internet access to the APIs. 3. Configure Node “Variables Config” & Update Nodes: - Set nmClinic → Name of the clinic - Set nmAgent → Name of the AI agent - Set dsAddressClinic → Address of the clinic - Set nmHealthPlan → Name of the health insurance provider - Set nmEvolutionInstance → Name of your Evolution API instance - Set nmCityClinic → City where the clinic is located !image.png(fileId:2905) 4. Customize the Conversation Flow: - Edit OpenAI prompt nodes to match your clinic’s tone of voice. - Update Google Calendar event templates with your preferred titles and descriptions. 5. Deploy and Test: - Test both WhatsApp and Telegram channels. - Verify that appointments appear correctly in Google Calendar. - Review conversation logs to fine-tune the responses. --- 🚀 Suggested Use Cases Ideal for: - Clinics and medical offices wanting 24/7 automated appointment management - Healthcare professionals reducing manual scheduling and follow-ups - Multi-channel (WhatsApp + Telegram) patient interaction - Reducing no-shows with reminders and confirmations - Clinics seeking to modernize patient communication and optimize staff time This assistant ensures every patient request is handled naturally — while Google Calendar remains the single source of truth for scheduling.