Retell AI Phone Agent RAG

    by Arok Dev

    1

    Deploy a production n8n backend for Retell AI agents with RAG-based FAQs, Google Calendar booking, and Telegram summaries.

    $99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Retell AI Phone Agent RAG

    Example session with this skill installed

    I need to set up a phone agent for a dental clinic in New York. They use Google Calendar, open at 8 AM, and need 60-minute slots. Can you prep the n8n workflow?

    • Read your context and instructions
    • Compiled the retell ai phone

    I have prepared the deployment plan and the command to generate the customized n8n workflow for the dental clinic. This configuration ensures the agent respects the 8 AM opening time and uses the correct Eastern Time offset.

    Deployment Configuration

    ParameterValue
    Client NameDental Clinic (NY)
    TimezoneAmerica/New_York
    Business Hours08:00 - 18:00
    Slot Duration60 minutes
    Vector DBQdrant (Collection: business_knowledge)
    NotificationTelegram (Active)

    Automation Scaffolding

    Run this command to generate the customized JSON file for import into n8n:

    python scripts/customize_workflow.py assets/workflow.json /mnt/user-data/outputs/dental-ny-phone-agent.json \
      --name "Dental Clinic Phone Agent" \
      --qdrant-url https://qdrant.example.com:6333 --collection business_knowledge \
      --calendar-id bookings@dentalclinic.com --telegram-chat-id 987654321 \
      --tz America/New_York --open-hour 8 --close-hour 18 --slot-minutes 60 \
      --functions-path dental-ny-functions --events-path dental-ny-events
    

    Next steps

    1. Import the generated dental-ny-phone-agent.json into n8n and connect the 5 required credentials.
    2. Update the Retell agent prompt with the definitions provided in references/retell-agent.md.
    3. Use scripts/load_knowledge.py to upload the clinic's price list and FAQ into Qdrant.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Building a reliable AI voice receptionist requires more than just a prompt. Without a structured backend, voice agents fail at real-time data retrieval and calendar synchronization. This skill deploys a production-ready n8n automation that serves as the logic layer for Retell AI phone agents. It bridges the gap between voice conversations and your business data, ensuring callers get accurate answers and confirmed bookings.

    What it does

    • Knowledge retrieval: Connects Retell to a Qdrant vector database to answer FAQs, pricing, and service questions using RAG.
    • Calendar management: Checks Google Calendar for real-time availability and books appointments directly during the call.
    • Call summarization: Processes transcripts post-call using GPT-4o-mini to extract the caller's reason and outcome.
    • Instant notifications: Delivers concise call summaries (under 120 words) to the business owner via Telegram.
    • Workflow customization: Modifies business hours, timezones, and slot lengths via a dedicated Python CLI.

    How it works

    1. Configure parameters: Define business hours, timezones, and API credentials for Qdrant, Google, and Telegram.
    2. Deploy backend: Run the customization script to inject client-specific settings into the n8n JSON workflow template.
    3. Connect Retell: Map Retell custom functions (search_knowledge, check_availability, book_appointment) to the n8n production webhooks.
    4. Load data: Use the knowledge base loader to populate Qdrant with business-specific documentation and policies.

    Frameworks & tools

    This skill utilizes n8n for orchestration, Retell AI for voice processing, Qdrant for vector storage, OpenAI (text-embedding-3-small and GPT-4o-mini), Google Calendar API, and Telegram Bot API.

    Why this beats prompting it yourself

    Writing a prompt telling an agent to "be a receptionist" results in hallucinations about availability and fake bookings. This skill provides the actual API routing and data normalization logic required to make those bookings real. It handles the complex timezone math and search-result joining that raw LLMs struggle with in high-latency voice environments.

    Use cases

    • Automate 24/7 appointment scheduling for medical clinics or law firms.
    • Provide instant pricing and service area quotes for home service businesses.
    • Screen incoming leads and notify owners via Telegram for high-priority follow-ups.
    • Handle high call volumes during peak hours without hiring additional staff.

    Known limitations

    The system does not include native double-booking protection or automated confirmation SMS for callers. Webhooks lack built-in authentication, and there is no native support for rescheduling or canceling appointments through the agent.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Accounts
    OpenAIQdrant

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files
    Environment Variables

    Allowed Hosts

    xyz.cloud.qdrant.io
    api.openai.com
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    This skill provides a production-ready n8n backend that equips Retell AI agents with real-time RAG (Retrieval-Augmented Generation) for answering FAQs and direct Google Calendar integration for booking appointments without hallucinations.

    The package includes the n8n JSON workflow templates, a Python-based CLI for easy configuration, a knowledge base loader for Qdrant, and comprehensive setup documentation.

    While designed specifically for Retell AI's custom function architecture, the n8n logic can be adapted for other voice platforms that support REST API webhooks for tool calling.

    You will need active accounts for Retell AI, n8n (self-hosted or cloud), Qdrant (for vector storage), OpenAI (for embeddings and summaries), and a Google Cloud project for Calendar API access.

    Yes, the included Python CLI allows you to define custom business hours, timezones, and appointment durations, which are then automatically injected into the n8n workflow.

    The current version does not include native double-booking protection or automated SMS confirmations, so it is best suited for businesses where a human reviews the digital calendar regularly.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.