A bot that waits for the whole thought and answers to the point

People write in several messages — the scenario collects them into one, waits for a pause and gives a single coherent reply.

  • Merges several messages into one thought
  • Waits until the person is done
  • Answers the point, not the fragments
  • The dialogue stops breaking on the first word
SupabasePostgres Chat Memory

How it works

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

  1. Starts when: Receive Message
  2. Then: Add to Queued Messages
  3. Then: Wait 10 Seconds
  4. Then: Get Queued Messages
  5. Then: Sort by Message ID
  6. Check: Check Most Recent Message
  7. If yes: Delete Queued Messages
  8. Then: Aggregate
  9. Then: AI Agent
  10. Then: Reply
  11. Then: OpenAI Chat Model
  12. Then: Postgres Chat Memory

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