n8n + Gemini + Supabase RAG Agent (Demo Build)

Tina: AI Receptionist Agent

Multi-turn AI receptionist for an auto repair shop that answers from the shop's knowledge base, books real calendar appointments, and hands off to a human on Slack.

Designed, built, and documented by Mark Geoffrey A. Batocabe, GoHighLevel (GHL) Automation Specialist.

19 / 19 Pass
Test Scenarios
0
Double Bookings
5
Agent Failures Fixed

The Challenge

Small repair shops can't staff the phone and chat all day. Unanswered customers go elsewhere, and manual booking leads to double bookings and wrong times.

The Solution & Engineering

Built a conversational agent that answers only from the shop's own knowledge base using RAG, checks real availability in Google Calendar, books after the customer confirms, and routes cancellations, complaints, and emergencies to a person on Slack.

Key Architecture & Automation Deliverables

  • Built a RAG knowledge base: the shop's Google Doc is chunked, embedded with Gemini, and stored in Supabase pgvector, with conversation memory kept in Postgres.
  • Gave the agent 4 tools as n8n sub-workflows: knowledge-base search, availability check, booking, and human handoff to Slack (high priority for emergencies).
  • Calculated availability in code, not by the AI: a JavaScript slot engine enforces hours, lunch breaks, Sundays and holidays, same-day notice, and overlaps in the shop's timezone.
  • Added three safety layers before any booking: explicit customer confirmation, a re-check of the slot, and validation that writes to Calendar, Sheets, and Gmail only for a real open slot.
  • Passed 19 / 19 tests and fixed 5 real agent failures, including a 10-call tool loop and the AI silently "correcting" a customer's email address.

Technologies & Tools Applied

n8nGemini APISupabase (pgvector)RAGGoogle CalendarSlackJavaScript

Need a system like this for your business?

Full documentation, screenshots, and the video walkthrough are in the detailed case study.

More Case Studies