Templates / Build an AI powered phone agent 📞🤖 with Retell, Google Calendar and RAG

Build an AI powered phone agent 📞🤖 with Retell, Google Calendar and RAG

Needs changes

by Davide Boizza ✓ · 31,454 views · created 2025-04-15 · Support Chatbot, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 29 nodes and runs manually, when you click “Execute workflow” (plus 3 other triggers). Along the way it connects OpenAI Chat Model, Qdrant Vector Store, Embeddings OpenAI and Vector Store Question Answer and 3 more. It also calls qdranturl over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 3 other triggers).

  1. Create collection (HTTP Request): calls qdranturl (POST)
  2. Refresh collection (HTTP Request): calls an HTTP API (POST)
  3. Concert start date (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  4. Filter: keeps only the items that match a condition
  5. Retrive Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (RAG)
  6. Get folder (Google Drive): work with file folder
  7. Google Calendar: uses Google Calendar
  8. Set call fields (Edit Fields (Set)): sets 9 fields: Transcript, Duration (sec), From…
  9. Respond to Webhook: sends the response back to the webhook caller
  10. Download Files (Google Drive): download

…plus 3 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelQdrant Vector StoreEmbeddings OpenAIVector Store Question AnswerTelegramGoogle CalendarGoogle Drive

HTTP calls to: qdranturl

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Retrive Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Retrive Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (18)

From the author

This Workflow simulates an AI-powered phone agent with RetellAI with two main functions: 1. 📅 Appointment Booking – It can schedule appointments directly into Google Calendar. 2. 🧠 RAG-based Information Retrieval – It provides answers using a…

Excerpt from Davide Boizza's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.