# Telegram personal AI agent with Gemini and Airtable: n8n workflow

> Started by an incoming Telegram message, and works across Airtable and Telegram. It puts Gemini behind a retrieval step, so answers are drawn from documents...

Source: https://millionrounds.com/workflow/telegram-personal-ai-agent-with-gemini-and-airtable (Millionrounds; every figure on the page links to its filing or article)

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

# Telegram personal AI agent with Gemini and Airtable

Started by an incoming Telegram message, and works across Airtable and Telegram. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 26 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftelegram-personal-ai-agent-with-gemini-and-airtable)

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

**1** Branch: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 10 Logic 9 Service 6

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

- 1 **Telegram Trigger** Telegram trigger *Starts it*
- 2 **Calculator** Tool Calculator *Model*
- 3 **Save Memory** Airtable Tool *Service*
- 4 **Google Gemini 2.0** Lm Chat Google Gemini *Model*
- 5 **Google Gemini 2.5 Pro** Lm Chat Google Gemini *Model*
- 6 **Simple Memory** Memory Buffer Window *Model*
- 7 **Google Calendar** Mcp Client Tool *Model*
- 8 **Google Tasks** Mcp Client Tool *Model*
- 9 **Internet** Mcp Client Tool *Model*
- 10 **Discord** Mcp Client Tool *Model*
- 11 **Home Inventory** Mcp Client Tool *Model*
- 12 **Switch** Switch *Logic*
- 13 **AI Agent** Agent *Model*
- 14 **Get a file** Telegram *Service*
- 15 **Merge Input with Memories** Merge *Logic*
- 16 **Search records** Airtable *Service*
- 17 **No Operation, do nothing** No Op *Logic*
- 18 **Telegram Bot Detected** Telegram *Service*
- 19 **Send a text message** Telegram *Service*
- 20 **Transcribe audio or video** Eleven Labs *Service*
- 21 **Get Date & Time** Date Time *Logic*
- 22 **Merge Time & Date w/ Input & Memories** Merge *Logic*
- 23 **Aggregate** Aggregate *Logic*
- 24 **Code** Code *Logic*
- 25 **Split Date & Time** Code *Logic*
- 26 **24 Hour to 12 Hour** Code *Logic*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 26, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Airtable, Telegram
- **Model:** Gemini
- **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 Airtable and Telegram accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls Gemini. 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 26 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 26 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%2Ftelegram-personal-ai-agent-with-gemini-and-airtable)
- **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.

[Airtable](https://millionrounds.com/workflows?service=Airtable#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

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

- [**AI-powered credit card recommendation system with OpenAI** 26 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/ai-powered-credit-card-recommendation-system-with-openai)
- [**Create personalized news digests with OpenAI and SerpAPI** 26 steps · calls a model · Telegram, n8n data table](https://millionrounds.com/workflow/create-personalized-news-digests-with-openai-and-serpapi)
- [**Generate move-out deposit statements with Gmail** 26 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/generate-move-out-deposit-statements-with-gmail)
- [**Manage dental patients with Telegram and OpenAI** 26 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/manage-dental-patients-with-telegram-and-openai)
- [**Revive quiet client projects with OpenAI and Airtable** 26 steps · calls a model · Airtable, Discord](https://millionrounds.com/workflow/revive-quiet-client-projects-with-openai-and-airtable)
- [**Smart email manager with Gmail and OpenAI** 26 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/smart-email-manager-with-gmail-and-openai)
