Quick overview
This workflow receives appointment requests from a voice agent via webhook and uses OpenAI plus Google Sheets to book, reschedule, or cancel dental aAn AI dental receptionist that uses ElevenLabs, OpenAI, and Google Sheets to handle patient conversations and manage dental appointments automatically.ppointments, optionally sending confirmation emails through Gmail.
How it works
- Receives a POST webhook request (for example from an ElevenLabs voice agent) containing an
intent and patient details.
- Routes the request based on the
intent value to booking, rescheduling, or cancellation handling.
- For booking requests, an OpenAI agent checks existing appointments in Google Sheets, appends or updates the appointment row, and sends a confirmation email via Gmail.
- For rescheduling requests, an OpenAI agent looks up existing appointments in Google Sheets and appends or updates the matching appointment with the new date and time.
- For cancellation requests, an OpenAI agent searches Google Sheets for the matching appointment and deletes the relevant row(s).
- Returns the workflow result back in the webhook response for the calling voice agent to relay to the patient.
Setup
- Configure the Webhook URL in your calling system (for example, set it as the endpoint in your ElevenLabs agent) and ensure it sends the expected JSON fields such as
intent, full_name, and phone_number.
- Add an OpenAI credential and select the models you want to use for the booking, rescheduling, and cancellation agents.
- Add a Google Sheets credential and update the spreadsheet ID/sheet tab to point to your appointments sheet with columns like Full Name, Phone Number, Email, Preferred Date, Preferred Time, and Reason.
- Add a Gmail credential and set the email inputs used by the workflow (recipient, subject, and message) for booking confirmations.
- Review matching logic (for example, matching appointments by “Full Name”) and adjust it to a unique identifier if your sheet can contain duplicate names.
Requirements
- ElevenLabs account
- OpenAI API access
- Google Sheets account
- n8n instance
Customization
- Customize the AI receptionist instructions.
- Change the Google Sheets appointment structure.
- Add additional appointment actions or clinic-specific information.
Additional info
This workflow is designed as a starting point for a dental clinic voice receptionist and can be extended with additional tools, notifications, and patient-management systems.