ChatGPTCreativeWritingAI score · PendingAI-assisted edit · no obvious prompt-injection riskn8n.io

n8n Chatbot Appointment Scheduler with Google Calendar for Dental Assistant

Chat trigger → AI Agent collects patient info → checks Google Calendar availability → books appointment and logs to Google Sheets

Some experienceStepsWorkflowPrompt
Who
Clinic assistants or n8n users who need to automate patient appointment booking and record-keeping
You get
Patients chat with an AI that checks available slots, confirms, books the appointment, and archives details to Google Sheets
You need
n8n · google-calendar · google-sheets

Constraints

Import the template into n8n, configure OpenAI API key and Google OAuth credentials, select the target Calendar and Sheets, fill in the AI Agent systemMessage, then test the chat flow. Requires an n8n instance and three credential types: openAiApi, googleCalendarOAuth2Api, googleSheetsOAuth2Api.

What they did

Template author nocodeinnovate designed an n8n workflow template for dental assistants and others who need automated appointment scheduling. The workflow receives patient messages via Chat Trigger, drives conversation through an AI Agent using an OpenAI Chat Model (gpt-4o-mini), maintains session context with Window Buffer Memory, and invokes two Google Calendar tool nodes (Check Availability, Creat event) and one Google Sheets tool node (Add data) to check availability, book appointments, and log records.

How it went

The author reports that the template can automatically collect patient name, phone, and desired time, check calendar availability, confirm, book the slot, and write to a spreadsheet (author_report). The template shows 26288 views on n8n.io.

Worth knowing

1. Tool node names contain typos: "Cheek Avilability" (Check Availability) and "Creat event" (Create event); the AI Agent's systemMessage must reference these exact strings for tool calls to work. 2. workflow.json contains example values for Calendar and Sheets ([email protected], a specific spreadsheet ID) that must be replaced with your own resources. 3. Google Sheets column names are in French (Nom complet, Date / heure, Numéro de telephone); if switching to a sheet with different headers, update the schema accordingly. 4. The template does not include full multi-turn fault tolerance or conflict locking; test thoroughly under concurrent use. 5. This site has not tested the template; reproduction=not_tested.

n8n workflow template

Structure checked · Not run-tested

Use “Import from File” in n8n, or copy the JSON and paste it into the editor. Connect your own accounts, then try test data. The template is inactive by default.

Setup and test checklist

Credentials to connect

  • OpenAI Chat Model node: connect OpenAI API credentials.
  • Check Availability node: connect Google Calendar OAuth2 credentials.
  • Creat event node: connect Google Calendar OAuth2 credentials.
  • Add data node: connect Google Sheets OAuth2 credentials.

Configuration to replace

  • Source template is n8n public workflow #3131 (~12 nodes). Keep inactive after import; verify triggers, expressions and external API endpoints.
  • Sticky-note guidance is informational; replace placeholders with your own accounts, sheet schemas or channel IDs.

Test input and expected output

  • Manually run the main path once in a test workspace and confirm credentialed nodes authenticate without errors.
  • Drive one synthetic/redacted sample through and check output fields and downstream writes before enabling in production.

Template changes

  • Author credential bindings, webhookId and execution data are removed; the workflow is inactive. Nodes, connections and original prompts are preserved. Not run-tested in n8n.
  • No business-logic edits; verify keys, quotas and privacy compliance before use.

Template retrieved: 2026-10-24

Steps

  1. Configure credentials and connect tools

    Open the template in n8n and complete the connections per the sticky notes: 1. Chat Model node: add your OpenAI API Key (credential type openAiApi). 2. Memory node: confirm Session ID is bound to ={{ $('When chat message received').item.json.sessionId }}. 3. Google Calendar nodes (Check Availability + Creat event): connect googleCalendarOAuth2Api and select your calendar (replace default example values like [email protected]). 4. Google Sheets node (Add data): connect googleSheetsOAuth2Api and select the target spreadsheet and sheet (replace the default document ID). Source Steps 1 (credentials) and 2 (choose tools) are merged here.

  2. Configure the AI Agent systemMessage

    Open the AI Agent node and paste the following into Options → System Message. This prompt defines the assistant role, office hours, booking process, tool usage, and communication style. Note: tool name spellings (e.g., "Cheek Avilability", "Creat event") are preserved as in the source and must match the actual node names.

    Execution prompt · Source text。AI Agent node → Options → System Message field

    =🎯 Role of the Assistant
    You are a virtual assistant specializing in appointment management for Dr. Hakim. Your goal is to schedule consultations accurately, ensuring real availability while providing a smooth experience for patients.
    
    🕒 Office Hours
    Monday - Friday: 9:00 AM - 8:00 PM
    Saturday: 9:00 AM - 1:00 PM
    Sunday: ❌ Closed
    Consultation Duration: 1 hour
    Break Between Patients: 15 minutes
    
    📅 Booking Process
    
    1️⃣ Request Patient Information (Mandatory):
    Full Name
    Phone Number
    Desired Date and Time
    2️⃣ Availability Check:
    If the requested time is outside office hours → offer only available slots.
    If the requested time is available, ask for confirmation and book it.
    If the requested time is unavailable, apologize and suggest the actual available slots on the requested day (between 9:00 AM and 8:00 PM, respecting breaks).
    
    ##Example:
    If a patient requests an appointment at 10:00 AM, check Google Calendar to confirm availability between 9:00 AM and 8:00 PM, considering the consultation duration (1 hour) and the 15-minute breaks.
    
    🚨 Do not confirm the appointment immediately—you must receive the patient's confirmation first.
    
    3️⃣ Confirmation & Updates:
    Confirm availability with the patient before finalizing.
    Update Google Calendar & Google Sheets after every booking.
    Google Calendar Event Title: "Patient Name - Phone Number".
    For modifications or cancellations, free the slot and update the schedule.
    
    ##Tools:
    Use "Cheek Avilability" to check available slots.
    Use "Creat event" to book the appointment.
    Use "Add Data" to record patient information.
    
    💬 Communication
    ✅ Respond clearly, professionally, and in a friendly manner.
    ✅ Always confirm the final date and time with the patient.
    ✅ Ensure Google Calendar and Google Sheets are updated after every booking.
    
    📅 Today's date: {{ $now }}.
  3. Test the conversation flow

    Save the workflow, then click "Test Workflow" or activate it. In the Chat Trigger test chat, simulate a patient request (e.g., "I'd like to book tomorrow at 10 AM"). Verify that the AI: 1. Asks for name and phone number; 2. Checks Google Calendar availability; 3. Creates a calendar event after confirmation; 4. Appends patient info to Google Sheets.

Prompt you can copy

Setup guidance · Editorial suggestion。Give to setup assistant: confirm inputs and permissions before proceeding with template import and configuration

This block is the prompt. Ads are never placed here.

You are setting up the n8n template #3131 for a dental appointment chatbot. Please confirm before proceeding:
1. Do you have an n8n instance (Cloud or self-hosted)?
2. Do you have an OpenAI API Key ready?
3. Do you have a Google account authorized for Calendar and Sheets?
4. Have you created the target calendar and spreadsheet?
Once confirmed, I will guide you through importing the template, replacing example values, configuring credentials, and testing.

Setup starter: confirm environment, credentials, and target resources before operating; avoid copying example values directly to production.

Source

Chatbot appointment scheduler with Google Calendar for dental assistant · nocodeinnovate · n8n.io · 2025-03-11

Comments & feedback

Tried this method? Share results, problems or improvements. Comments appear after moderation. Please avoid sensitive information.

Loading…

    Related