Automation library · Alerts and monitoring

AI chatbot call center: demo call back with Postgres and Redis

Started by someone opening a chat with it, and works across Postgres, Redis and Telegram. 29 steps, 8 branches: large, and worth reading before you trust it with anything live.

Large

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

The flow

Starts it 2Logic 17Service 10

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

  1. 1Flow TriggerExecute Workflow triggerStarts it
  2. 2Test TriggerChat triggerStarts it
  3. 3InputSetLogic
  4. 4Test FieldsSetLogic
  5. 5If Provider NoIfLogic
  6. 6Provider CacheRedisService
  7. 7Media Switch1SwitchLogic
  8. 8If Provider CacheIfLogic
  9. 9If ReplyIfLogic
  10. 10OutputSetLogic
  11. 11Parse CacheCodeLogic
  12. 12Load Provider DataPostgresService
  13. 13Telegram Reply OutputTelegramService
  14. 14Telegram OutputTelegramService
  15. 15ProviderSetLogic
  16. 16Save Provider CacheRedisService
  17. 17Media SwitchSwitchLogic
  18. 18If InputIfLogic
  19. 19If Provider VoiceIfLogic
  20. 20Create Chat Log InputPostgresService
  21. 21Create Chat Log OutputPostgresService
  22. 22SwitchSwitchLogic
  23. 23Chinese,YueSetLogic
  24. 24ChineseSetLogic
  25. 25JapaneseSetLogic
  26. 26EnglishSetLogic
  27. 27Minimax TTSHttp RequestService
  28. 28Download Minimax AudioHttp RequestService
  29. 29Telegram Voice OutputTelegramService

How it's built

Starts on
Someone opening a chat with it
Steps
29, with 8 branches
Size
Large: read it before trusting it with anything live
Connects to
Postgres, Redis, Telegram
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Postgres, Redis and Telegram accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

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.