An autonomous, conversational AI agent built in n8n that acts as an assistant for a beauty clinic in Cairo, Egypt. The agent, named "Layla", interacts with customers in a friendly, Egyptian call-center tone, seamlessly adapting to Arabic, English, and Franco text.
# 🌟 Beauty Clinic AI Assistant (Layla)
An autonomous, conversational AI agent built in n8n that acts as an assistant for a beauty clinic in Cairo, Egypt. The agent, named "Layla", interacts with customers in a friendly, Egyptian call-center tone, seamlessly adapting to Arabic, English, and Franco text.
Powered by Google Gemini and LangChain, this agent orchestrates real-time data across Google Workspace (Sheets and Docs) to define clinic services, recommend products, and book appointments with specific doctors based on live availability.
## 🚀 Business Value & Motivation
Front-desk administration at busy clinics can result in long wait times for customer responses. This agent provides a 24/7, culturally localized concierge experience. By linking directly to the clinic's operational databases, it eliminates double-booking, answers complex questions about treatments and doctor credentials, and logs all interactions for quality assurance—drastically reducing administrative overhead.
## 🏗️ Capabilities & Tool Orchestration
The agent evaluates user intent and dynamically triggers specific Google Workspace tools to execute tasks:
* **📅 Availability Checking (`check_appoinments`):** A Google Sheets GET tool that retrieves all appointment slots, capturing the ID, Date, Time (24h format), Status, Doctor, and Customer details.
* **✅ Appointment Booking (`book_appoinment`):** A Google Sheets EDIT tool that matches a specific slot ID, updates its status to "Booked", and injects the customer's name and phone number into the database.
* **💆♀️ Service Catalog (`get_service`):** Retrieves the clinic's service offerings, descriptions, pricing, treatment duration, and assigned doctors.
* **🧴 Product Recommendations (`get_products`):** Fetches product types, brands, country of origin, and prices, allowing the agent to recommend products directly related to the user's chosen clinical services.
* **🩺 Doctor Profiles (`get_doctors`):** A Google Docs GET tool that reads de …