# Telegram request router with DeepSeek and OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/telegram-request-router-with-deepseek-and-openai (Millionrounds; every figure on the page links to its filing or article)

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

# Telegram request router with DeepSeek and OpenAI

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

Large Calls a model: DeepSeek, OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftelegram-request-router-with-deepseek-and-openai)

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

**0** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 14 Logic 1 Service 8

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

- 1 **Calculator** Tool Calculator *Model*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **DeepSeek Chat Model** Lm Chat Deep Seek *Model*
- 4 **Send a text message in Telegram** Telegram Tool *Service*
- 5 **similarweb** Http Request Tool *Service*
- 6 **ahrefs** Http Request Tool *Service*
- 7 **google-keywords** Http Request Tool *Service*
- 8 **SEO-tools** Mcp Client Tool *Model*
- 9 **meteo** Http Request Tool *Service*
- 10 **waze** Http Request Tool *Service*
- 11 **Telegram Trigger** Telegram trigger *Starts it*
- 12 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 13 **OpenAI Chat Model2** Lm Chat Open Ai *Model*
- 14 **Simple Memory** Memory Buffer Window *Model*
- 15 **MCP tools** Mcp Client Tool *Model*
- 16 **AI Reasoning Tool** Tool Think *Model*
- 17 **SEO Agent - Persistent Memory (Postgres)** Memory Postgres Chat *Model*
- 18 **SEO Orchestrator Agent** Agent *Model*
- 19 **User Request Parser (URL/Query)** Information Extractor *Model*
- 20 **MCP-tools trigger** Mcp trigger *Starts it*
- 21 **Text Classifier** Text Classifier *Model*
- 22 **General Assistant Agent** Agent *Model*
- 23 **Send a text message** Telegram *Service*
- 24 **scrape_url** Http Request *Service*
- 25 **Merge** Merge *Logic*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 25
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Telegram
- **Model:** DeepSeek, 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 Telegram account, and a key for DeepSeek and OpenAI. 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 DeepSeek and 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 25 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 25 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-request-router-with-deepseek-and-openai)
- **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.

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

## Workflows like it

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

- [**Answer Telegram data questions with DeepSeek and Open-Meteo** 25 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/answer-telegram-data-questions-with-deepseek-and-open-meteo)
- [**Answer HR and IT policy questions on Telegram with OpenAI** 21 steps · calls a model · Telegram](https://millionrounds.com/workflow/answer-hr-and-it-policy-questions-on-telegram-with-openai)
- [**Automate multi-channel customer support with Gmail** 21 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-multi-channel-customer-support-with-gmail)
- [**Build a Telegram AI assistant with MemMachine and OpenAI** 21 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/build-a-telegram-ai-assistant-with-memmachine-and-openai)
- [**HR & IT helpdesk chatbot with OpenAI and Telegram** 21 steps · calls a model · Telegram](https://millionrounds.com/workflow/hr-and-it-helpdesk-chatbot-with-openai-and-telegram)
- [**Run a customer support RAG chatbot with OpenAI** 21 steps · calls a model · Google Drive, Telegram](https://millionrounds.com/workflow/run-a-customer-support-rag-chatbot-with-openai)
