Hello,
We have 2 n8n instaces, one for production and one for preproduction.
We would like to sync the workflows we create on one with the other.
Is that even possible?
Generally, it is a very bad idea to sync between different environments.
Technically, the n8n workflow’s code is just a JSON file, that can be stored somewhere within the version control system (like git/bitbucket/etc). So it’s possible to make changes, save the JSON into VCS, and publish changes in preproduction from the VCS (with custom scripts). The tricky part here is how to deal with credentials, as they usually are different for different environments (and they should). But for that part, there could be configured some mapping table to link the corresponsive creds from the dev env into ppr/prd