# Build an AI powered phone agent with Retell: n8n workflow

> Started by another system calling it, and works across Google Calendar, Google Drive, Qdrant and Telegram.

Source: https://millionrounds.com/workflow/build-an-ai-powered-phone-agent-with-retell (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Build an AI powered phone agent with Retell

Started by another system calling it, and works across Google Calendar, Google Drive, Qdrant and Telegram. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 29 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fbuild-an-ai-powered-phone-agent-with-retell)

**29 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 5 Model 16 Logic 2 Service 6

The steps in the order they run, from what starts it.

- 1 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 2 **Structured Output Parser** Output Parser Structured *Model*
- 3 **n8n_rag_function** Webhook *Starts it*
- 4 **Embeddings OpenAI2** Embeddings Open Ai *Model*
- 5 **OpenAI Chat Model2** Lm Chat Open Ai *Model*
- 6 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 7 **OpenAI Chat Model3** Lm Chat Open Ai *Model*
- 8 **Structured Output Parser1** Output Parser Structured *Model*
- 9 **n8n_call** Webhook *Starts it*
- 10 **n8n_check_available** Webhook *Starts it*
- 11 **When clicking ‘Test workflow’** Manual trigger *Starts it*
- 12 **Embeddings OpenAI** Embeddings Open Ai *Model*
- 13 **Token Splitter** Text Splitter Token Splitter *Model*
- 14 **Extract key points** Chain Llm *Model*
- 15 **Retrive Agent** Agent *Model*
- 16 **Retrive Qdrant Vector Store** Vector Store Qdrant *Model*
- 17 **RAG** Tool Vector Store *Model*
- 18 **Concert start date** Chain Llm *Model*
- 19 **Filter** Filter *Logic*
- 20 **Create collection** Http Request *Service*
- 21 **Refresh collection** Http Request *Service*
- 22 **Qdrant Vector Store** Vector Store Qdrant *Model*
- 23 **Default Data Loader** Document Default Data Loader *Model*
- 24 **Telegram** Telegram *Service*
- 25 **Respond to Webhook** Respond To Webhook *Starts it*
- 26 **Google Calendar** Google Calendar *Service*
- 27 **Set call fields** Set *Logic*
- 28 **Get folder** Google Drive *Service*
- 29 **Download Files** Google Drive *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 29
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Calendar, Google Drive, Qdrant, Telegram
- **Model:** OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own Google Calendar, Google Drive, Qdrant and Telegram accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 29 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 29 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fbuild-an-ai-powered-phone-agent-with-retell)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Calendar](https://millionrounds.com/workflows?service=Google+Calendar#library)[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Qdrant](https://millionrounds.com/workflows?service=Qdrant#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**AI-powered bug reporting & tracking** 29 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/ai-powered-bug-reporting-and-tracking)
- [**Manage legal client intake and consultations with Telegram** 29 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/manage-legal-client-intake-and-consultations-with-telegram)
- [**Optimize daily schedules with Groq and Google Sheets** 29 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/optimize-daily-schedules-with-groq-and-google-sheets)
- [**Personal AI assistant with OpenRouter and Gmail** 29 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/personal-ai-assistant-with-openrouter-and-gmail)
- [**Run a personal executive assistant with Gmail and Slack** 29 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/run-a-personal-executive-assistant-with-gmail-and-slack)
- [**Stacey – your Telegram AI assistant with Gemini and Google** 29 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/stacey-your-telegram-ai-assistant-with-gemini-and-google)
