I just started using n8n and have been enjoying the tool
I created a flow that sends push notifications to users that met specific conditions, but I’d like to be able to control the destination of those pushes, ie: send to a test group or the production database.
The way I solved this was by setting a variable at the beginning of the flow and using it to branch into production or “test mode” (or debug as I called here).
I’m wondering if there is a better way to achieve this behavior.
For example, I searched for workflow variables that could indicate it was started manually, that would be an indicator that I’m testing.
Thanks for any idea / suggestions.