Automation library · Data collection

Telegram crypto assistant - trade, send & track wallets

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

LargeCalls a model: OpenAIRetrieval

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

The flow

Starts it 1Model 4Logic 15Service 12

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4Simple MemoryMemory Buffer WindowModel
  5. 5Crypto AssistantAgentModel
  6. 6Needs ClarificationSwitchLogic
  7. 7ProceedSwitchLogic
  8. 8Display Clarification MessageTelegramService
  9. 9/POSTSwitchLogic
  10. 10/GETSwitchLogic
  11. 11Display VerificationTelegramService
  12. 12AFK GETHttp RequestService
  13. 13ApprovedSwitchLogic
  14. 14DeclinedSwitchLogic
  15. 15/v1/wallets/balancesSwitchLogic
  16. 16/v1/walletsSwitchLogic
  17. 17/v1/txSwitchLogic
  18. 18Get ErrorTelegramService
  19. 19AFK POSTHttp RequestService
  20. 20Display RejectTelegramService
  21. 21Calculate Readable AmountCodeLogic
  22. 22Display WalletsTelegramService
  23. 23Display TransactionTelegramService
  24. 24/v1/sendSwitchLogic
  25. 25/v1/trade/quoteSwitchLogic
  26. 26/v1/trade/swapSwitchLogic
  27. 27/v1/token/approveSwitchLogic
  28. 28/v1/contracts/sendSwitchLogic
  29. 29Post ErrorTelegramService
  30. 30Display BalancesTelegramService
  31. 31Display Transaction SubmissionTelegramService
  32. 32Display QuoteTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
32, with 14 branches
Size
Large: read it before trusting it with anything live
Connects to
Telegram
Model
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 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. 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 32 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 32 steps before you point it at anything that matters.