Handing the conversation from bot to human — when the client asks

The assistant answers clients in Telegram and keeps the conversation in dataTable. The moment a client asks for a human, the scenario confirms it with them, emails the operator at smscRu, and tells the client whether they're coming.

  • The bot notices by itself that a human is needed
  • The operator is summoned by email and confirms the handover
  • The client always gets an answer — even if the operator can't come
  • The conversation history is kept in dataTable
Telegram

How it works

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

  1. Starts when: Telegram Trigger
  2. Check: Topic Message
  3. If yes: Exit
  4. If yes: Close Topic
  5. Then: Update Closed Topic
  6. If no: Forward Message
  7. If no: Text Message
  8. If yes: Configuration
  9. Then: Get Temporary Message
  10. Check: Message Router
  11. If yes: Forward Message To Group
  12. If no: AI Agent
  13. Check: Human Requested
  14. If yes: Confirm Operator
  15. Check: User Approved
  16. If yes: Alert Operator
  17. Check: Operator Confirmed
  18. If yes: Operator Attendance
  19. Then: Create Topic
  20. Then: Update Temporary Message
  21. If no: Operator Declined Attendance
  22. If no: Last Message Exists
  23. Check: Row is Empty
  24. If yes: Create Temporary Message
  25. If no: Update Last Message
  26. Then: OpenRouter Chat Model
  27. Then: Simple Memory
  28. Then: Reply To User
  29. Then: Azure OpenAI Chat Model
  30. Then: Personal
  31. Then: Chat Admins
  32. Starts when: Personal Trigger

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