A Telegram bot that hears you out

The scenario teaches a Telegram bot to wait until the person is done, gather their messages together and reply once — it keeps the conversation state in redis.

  • Doesn't cut you off mid-thought
  • Gathers a burst of messages into one
  • Answers once and to the point
  • The dialogue feels natural
Redis Chat MemoryRedis

How it works

To connect Telegram and Redis Chat Memory, you don't need a developer: a ready-made scenario links them in minutes.

  1. Starts when: Telegram Trigger
  2. Check: Is Bot command?
  3. If no: Get Values
  4. Then: Call Prediction Subworkflow
  5. Then: AI Agent
  6. Then: Update Session2
  7. Then: Respond to User
  8. Then: Google Gemini Chat Model
  9. Then: Redis Chat Memory
  10. Then: Update Session
  11. Then: Get Updated Session Values
  12. Check: is New Session?
  13. If yes: Update Session1
  14. Then: Predict End of Utterance
  15. Then: Wait For Webhook
  16. Then: Get Session2
  17. Check: Session Ended?
  18. If no: Is Waiting?
  19. If yes: Resume Wait Node
  20. Then: Get Session
  21. Then: Google Gemini Chat Model1
  22. Starts when: Prediction Subworkflow

You can launch this Telegram + Redis Chat Memory integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.