All projects · AI Agents & RAG
Voice Booking — RESCHEDULE (Vapi + Google Calendar)
An n8n webhook backend for a Vapi voice agent that reschedules an appointment mid-call.
An n8n webhook backend for a Vapi voice agent that reschedules an appointment mid-call. It finds the caller's next upcoming event by email and updates its start/end to the new requested time.
- Find-then-update pattern: getAll by email (next upcoming) then Google Calendar update sets new start and end = newDateTime + 30 min
- Parses both old and new datetimes from the tool call and cross-references the 'Parse Tool Call' node inside the update expression
- Composes a single-line spoken confirmation, with a distinct not-found fallback sentence
- onError: continueRegularOutput on lookup and update nodes for resilient voice UX
Built with: n8n, Vapi (voice AI tool-calling webhook), Google Calendar OAuth2 (getAll + update), n8n Code node (JavaScript), Respond to Webhook