❓ Telegram Bot: Is it possible to create a smart “Back” button?

Hi everyone! 👋

I’m working on a Telegram bot and wanted to ask — is there a way to create a smart “Back” button?

Here’s the situation (example in the photo):
I have several branched blocks that all lead to one common block. In that common block, I added a Back button. What I want is: when the user taps Back, they return to the exact branch they came from — not a fixed block — all using a single Back button.

Has anyone done something like this? Any ideas on how to set it up? 😊

Best reply by Viktoria Otroshenko

Hey, Mark, 😀

If I understood you correctly, you can try assigning tags to chatbot subscribers inside each branch. When the user clicks Back, use a filter based on that tag to route them to the correct branch. Each user gets their own tag tied to the path they followed, so even if many users move through different branches simultaneously, everyone will return to their own branch without conflicts.

Let me know if this helps!

View original
1
4 replies