Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Your first promotion

Bring your work from a source instance, such as development, to a target instance, such as production, for the first time.

If your instances use Environments (Classic), start with Migrate from Environments (Classic).

Preview status

Environments are in Preview and may change in future releases. Try them on test instances before you set them up for your production instances.

Promote and apply

  1. On the source instance, add the environment you promote to. See Plan your environments.

  2. On the target instance, add the environment you apply from, using the same repository and branch as the source's environment.

  3. Bring your work over, all at once or project by project:

    If the environment pushes feature branches or opens promotion reviews, merge the feature branch or approve and merge the review before you apply. When n8n asks, create the credentials and variables that don't exist on the target yet. If the target already has content, read Apply to an instance that already has content first.

  4. Publish the workflows you want to run. Workflows that Apply creates arrive unpublished.

Keep the source and target instances on the same n8n version.

Personal projects aren't promoted. Before you start, move the workflows and credentials that team projects use out of personal projects and into team projects.

Apply to an instance that already has content

Apply matches projects, workflows, credentials, and data tables by ID. Content you created by hand on the target has different IDs from the source, even when the names match, so Apply creates the source's content next to it.

The apply level decides what happens to content that isn't on the branch:

  • Project apply: changes only the workflows you select in one project and their dependencies, and never deletes projects. Use it to keep the content on the target. If a project isn't on the target yet, an instance owner or admin adds it from the environment first, next to the instance Apply in Settings > Environments, so it keeps the source's ID. A project you create by hand gets a different ID, and Apply doesn't match it. Start with the projects that others depend on, such as a project with shared sub-workflows or credentials. See Cross-project dependencies.

  • Instance apply: makes every team project match the branch. After you confirm, it deletes projects that aren't on the branch, such as projects created by hand.

Last updated

Was this helpful?