Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Calendar & Scheduling

Calendar & Scheduling

Handle voice receptionist bookings with Vapi, Google Calendar and Sheets

When an API call/webhook arrives, it manages calendar events using SMTP Email, Google Calendar, Google Sheets.

What it does

## Answer calls, book appointments and take messages with a Vapi voice agent and Google Calendar ### How it works This workflow is the complete backend for a Vapi voice receptionist at any appointment-based business. One webhook receives every Vapi tool call, a parser normalises the payload, and a switch routes by tool name. checkAvailability fetches the coming week's events from Google Calendar and computes real open slots in code — business hours, working days, slot length, minimum notice and a one-slot-per-day spread are all configurable — then hands the agent numbered options with exact ISO ids to book against. bookAppointment creates the calendar event, logs it to a call-log sheet and emails the owner. takeMessage captures a callback request from callers who don't want to book, logs it and emails the owner. Status updates and end-of-call reports are acknowledged harmlessly. Every tool returns a spoken-ready result to Vapi. ### Setup steps - In your Vapi assistant, add three server tools pointing at this workflow's production webhook URL: checkAvailability (no arguments), bookAppointment (arguments: customerName, phoneNumber, service, startTime — the ISO id from the offered slots), and takeMessage (arguments: callerName, phoneNumber, message). - Connect a Google Calendar credential on both calendar nodes; the primary calendar is used by default. - Edit the CONFIGURE block in *Compute Open Slots*: timezone, opening hours, working days, slot length, notice period. - Connect an SMTP credential on both email nodes and set the From and To addresses. - Create a Google Sheet with headers Timestamp, Type, Caller Name, Phone, Details, When and select it in both Sheets nodes. - Activate the workflow and test by calling your Vapi number. ### Customization Adjust the slot rules, appointment length, email wording and log columns to fit the business — the same three-tool pattern suits salons, clinics, trades, tutors and any business that books time.

The steps

  1. Receive Tool Call from Vapi
  2. Parse Vapi Tool Call
  3. Fetch Events from Google Calendar
  4. Compute Open Slots
  5. Create Event in Google Calendar
  6. Email Booking Alert to Owner
  7. Format Booking Response
  8. Respond to Vapi
  9. Route by Tool Name
  10. Log Booking to Google Sheets
  11. Log Message to Google Sheets
  12. Email Message to Owner
  13. Format Message Response
  14. Format Ignored Event Response

Similar automations