Automation library · Alerts and monitoring

Assistant for Telegram chat with OpenAI and Airtable

Started by an incoming Telegram message, and works across Airtable and Telegram. 29 steps, 3 branches, 5 loops or waits: large, and worth reading before you trust it with anything live.

Large

29 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
5Loops or waits
2Services it connects to

The flow

Starts it 1Logic 13Service 15

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2ConfigurationSetLogic
  3. 3TelegramTelegramService
  4. 4Check Thread ExistsAirtableService
  5. 5Thread ExistsIfLogic
  6. 6OpenAi Create ThreadHttp RequestService
  7. 7OpenAi add messageHttp RequestService
  8. 8Save Thread to DatabaseAirtableService
  9. 9Run The ThreadHttp RequestService
  10. 10Run the ThreadHttp RequestService
  11. 11Get RunHttp RequestService
  12. 12Completed, Action or InprogressSwitchLogic
  13. 13Get Last MessageHttp RequestService
  14. 14Select FunctionSwitchLogic
  15. 15Wait1WaitLogic
  16. 16WaitWaitLogic
  17. 17ResponseSetLogic
  18. 18HTTP RequestHttp RequestService
  19. 19HTTP Request1Http RequestService
  20. 20Execute WorkflowExecute WorkflowLogic
  21. 21Telegram1TelegramService
  22. 22Code1CodeLogic
  23. 23CodeCodeLogic
  24. 24Submit Data Function 3Http RequestService
  25. 25Submit DataHttp RequestService
  26. 26Submit Data1Http RequestService
  27. 27Wait4WaitLogic
  28. 28Wait2WaitLogic
  29. 29Wait3WaitLogic

How it's built

Starts on
An incoming Telegram message
Steps
29, with 3 branches, 5 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Airtable, Telegram
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Airtable and Telegram accounts. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

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.