WhatsApp Cloud - Customer Service automation with Templates - How to handle WhatsApp interactive button replies in n8n without restarting the trigger flow

Hi @Mika1!
This type of problem is very common, what i recommend is that using a session approach where you log user’s information as status that is he live or firstmessage and what this approach would clarify is that for a long term scalable operation also add each user as it’s own queue of session something like this

And also something i would mention with my own experience that try to keep things either in HITL or in single thread endings, like in apps like telegram and whatsapp instead of letting user interact is nice but this openly like your current workflow is not a good practice, so instead of complete workflow required to run everytime make the conversation pattern so that the user gets what he needs in single workflow run or just use HITL nodes for interactive conversation instead of letting the workflow run with every single message for the same user. Hope this helps!

1 Like