Automation library · Chat assistants

Route Telegram repair chats into Slack asset threads

Started by an incoming Telegram message, and works across Slack, Telegram and n8n data table. It hands the judgement calls to Claude. 18 steps, 5 branches: a working afternoon to understand properly.

MediumCalls a model: Claude

18 stepsMedium: a working afternoon
5Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 3Logic 5Service 9

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

  1. 1Telegram MessageTelegram triggerStarts it
  2. 2Chat ModelLm Chat AnthropicModel
  3. 3Event ParserOutput Parser StructuredModel
  4. 4Analyze MessageAgentModel
  5. 5Relevant Event?IfLogic
  6. 6Find Open CaseData TableService
  7. 7Ticket Already Open?IfLogic
  8. 8Post Update in ThreadSlackService
  9. 9Open New TicketSlackService
  10. 10Job Done?IfLogic
  11. 11Has Attachment?IfLogic
  12. 12Save TicketData TableService
  13. 13Close TicketData TableService
  14. 14Download AttachmentTelegramService
  15. 15Has Attachment? (New Ticket)IfLogic
  16. 16Upload to Ticket ThreadSlackService
  17. 17Download Attachment (New Ticket)TelegramService
  18. 18Upload to New TicketSlackService

How it's built

Starts on
An incoming Telegram message
Steps
18, with 5 branches
Size
Medium: a working afternoon
Connects to
Slack, Telegram, n8n data table
Model
Claude

Questions

What does it need to run?

An n8n account, plus your own Slack and Telegram accounts, and a key for Claude. 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 Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

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 18 steps before you point it at anything that matters.