Sync between 2 n8n instances

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?

Thanks

  • n8n version: 1.26.0
  • Database (default: SQLite): postgresql
  • Running n8n via (Docker, npm, n8n cloud, desktop app): kubernetes self host
  • Operating system: linux

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hello @Omri_Sh

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

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.