Automation library · Chat assistants

Get Colombian peso to USD exchange rate with Telegram

Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to OpenAI. 29 steps, 4 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

29 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 6Logic 15Service 7

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Once a Telegram Message is receivedTelegram triggerStarts it
  3. 3CalculatorTool CalculatorModel
  4. 4ThinkTool ThinkModel
  5. 5Structured Output ParserOutput Parser StructuredModel
  6. 6Extractor AgentAgentModel
  7. 7Validate Text or AudioSwitchLogic
  8. 8Validate if Date is in the pastIfLogic
  9. 9Download AudioTelegramService
  10. 10Text onlySetLogic
  11. 11Notify past dateTelegramService
  12. 12Get TRMHttp RequestService
  13. 13Transcribe AudioOpen AiModel
  14. 14Edit FieldsSetLogic
  15. 15Check if Valor existsIfLogic
  16. 16Audio TextSetLogic
  17. 17Local Current Date and TimeCodeLogic
  18. 18Send message to userTelegramService
  19. 19Generate an array with 10 numbersCodeLogic
  20. 20Split Items for the loopSplit OutLogic
  21. 21Get the last 10 responsesSplit In BatchesLogic
  22. 22Get non-empty rowsFilterLogic
  23. 23Convert dateCodeLogic
  24. 24IfIfLogic
  25. 25Get TRM for past dateHttp RequestService
  26. 26Sort most recent dataSortLogic
  27. 27Send no dataTelegramService
  28. 28Get the last dataLimitLogic
  29. 29Send current TRMTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
29, with 4 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Telegram account, and a key for 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 OpenAI. 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.