Automation library · Customer support

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.

LargeCalls a model: DeepSeek, OpenAIRetrieval

25 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 14Logic 1Service 8

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

  1. 1CalculatorTool CalculatorModel
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3DeepSeek Chat ModelLm Chat Deep SeekModel
  4. 4Send a text message in TelegramTelegram ToolService
  5. 5similarwebHttp Request ToolService
  6. 6ahrefsHttp Request ToolService
  7. 7google-keywordsHttp Request ToolService
  8. 8SEO-toolsMcp Client ToolModel
  9. 9meteoHttp Request ToolService
  10. 10wazeHttp Request ToolService
  11. 11Telegram TriggerTelegram triggerStarts it
  12. 12OpenAI Chat Model1Lm Chat Open AiModel
  13. 13OpenAI Chat Model2Lm Chat Open AiModel
  14. 14Simple MemoryMemory Buffer WindowModel
  15. 15MCP toolsMcp Client ToolModel
  16. 16AI Reasoning ToolTool ThinkModel
  17. 17SEO Agent - Persistent Memory (Postgres)Memory Postgres ChatModel
  18. 18SEO Orchestrator AgentAgentModel
  19. 19User Request Parser (URL/Query)Information ExtractorModel
  20. 20MCP-tools triggerMcp triggerStarts it
  21. 21Text ClassifierText ClassifierModel
  22. 22General Assistant AgentAgentModel
  23. 23Send a text messageTelegramService
  24. 24scrape_urlHttp RequestService
  25. 25MergeMergeLogic

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.