I’m new to n8n and have a really basic question about development best practice. How exactly do I “deploy” workflow changes to live/production?
Am I correct that saved changes are immediately “live” for an active workflow? I was kind of expecting an explicit “deploy to live” action somewhere that would push changes after they’ve been thoroughly tested, but maybe I need to adjust my mental model. I searched the docs and forum, so I think I’m missing something really fundamental.
Thanks for the quick reply, @bartv, but my question remains. For those not on the Enterprise plan, what’s the recommended way to deploy changes without taking a workflow offline?
If I have a critical workflow, how do I update it and thoroughly test it before making it live? The only thing that comes to mind is to duplicate it, make and test the changes, and then activate the duplicate before deactivating the original. Is that the best way?
sfx is correct; you can duplicate a workflow from the menu on the top-right of your screen. Alternatively, I suppose you could create a workflow that uses that uses the n8n node to fetch a workflow and create a duplicate, and after testing, overwrite the ‘live’ version with the tested one (that would in fact be a cool thing to try!)
Ok, thanks for the replies! So basically, what I said…
EDIT
Just a quick edit to note that I was thinking along those lines as well. I’d use my local machine for development and testing, though, and then overwrite the live workflow via the API.