Hi everyone,
I am preparing an n8n workflow for deployment to a company production server.
The workflow is currently developed in my personal n8n instance/project and has a workflow ID, project ID, creator ID, and sharing/ownership metadata in the exported JSON.
I want to store the workflow JSON in Git and then import it into a separate production n8n instance used by the company.
My questions are:
-
Which fields from the exported workflow JSON should be removed before committing it to Git so that personal/development ownership information is not carried over?
-
Should the
sharedsection, including the personalprojectIdandcreatorId, be removed? -
Should the original workflow
idalso be removed so that the production n8n instance creates a new workflow ID? -
After importing the workflow into production, what is the correct way to assign/move the workflow to the company’s n8n project so that the company/project becomes the owner instead of my personal development project?
-
Is there an official recommended procedure for handling workflow ownership when promoting workflows from development to production?
-
Are there any other n8n-specific metadata fields that should not be committed to Git because they are instance-specific?
I am not trying to transfer my personal n8n account to another user. I only want to deploy the workflow definition to a separate company n8n instance while ensuring that the production instance/project owns and manages the workflow correctly.
Thanks in advance for any guidance.