Migrate the workflow definitions, but do not treat the export as a complete instance transfer: rebuild credentials and environment settings, verify webhook addresses and external dependencies, and test the target before production cutover. This approach fits n8n Cloud users who need more control over their runtime or data boundary and can take responsibility for operating the new instance.
This guide is for n8n Cloud users checking which workflow elements will move with an export.
It also helps developers plan credential reconstruction, dependency checks, and cutover tests.
Technical leads can use it to assess whether a dedicated server and its ongoing maintenance fit their team.
The decision: import workflows into a test instance first; switch production triggers only after each dependency passes validation.
Last updated October 19, 2026. Migration details were checked against the n8n workflow import and export guide, the deployment environment variable reference, and the Webhook node documentation. Check the current documentation again before a real migration because n8n may change supported options or interface labels.
Cloud export versus a complete instance transfer
A workflow export is useful, but it is not a portable copy of the entire Cloud account. The workflow definition can be exported and imported. Credential secrets are not included, and other instance-level settings and runtime dependencies need separate attention.
| Migration item | What to expect | Target-side action | Readiness |
|---|---|---|---|
| Workflow definition | Can be exported and imported | Import, inspect nodes, and confirm workflow references | Strong, after review |
| Credential secrets | Not included in the exported workflow | Recreate or reauthorize credentials and test connections | Manual work required |
| Environment variables | Do not assume they are carried over as workflow data | Compare required variables with the target configuration | Manual work required |
| Webhook addresses | May differ when the target instance has a different public URL or configuration | Check target URLs and update external callers if needed | Verify per integration |
| Execution history and instance state | Do not assume a workflow export restores them | Decide what operational records must be retained and plan separately | Not an export-and-import transfer |
The distinction matters most when a workflow appears intact but cannot run. A node can retain its configuration and still fail because its credential is missing, an environment variable is unset, or an external service is still calling the Cloud URL. The official import and export documentation describes the supported workflow transfer process. For a broader recovery plan, review n8n’s backup and restore guidance; a workflow export should not be mistaken for a backup of all instance data.
Protect the export file. It does not contain credential secrets, but workflow definitions can still expose internal names, endpoint details, or sensitive configuration values. Treat exports as restricted operational files, not public examples.
Before export: inventory what each workflow depends on
A successful n8n self-hosted migration starts with an inventory, not with an import button. Capture the current workflow state before making changes. Include active and inactive workflows, sub-workflows, error-handling paths, schedules, and webhook-triggered processes.
For each workflow, record:
- The trigger type and the system that invokes it.
- Credentials used by every node, including OAuth connections that will need fresh authorization.
- Environment variables and other deployment settings required at runtime.
- Community nodes or other dependencies that must exist on the target.
- Sub-workflow calls, error workflows, and references to other workflow names or identifiers.
- External effects, such as sending a message, creating a ticket, or updating a record.
- The owner responsible for testing and approving production activation.
Mark each dependency as portable, needs rebuilding, or needs a target-specific change. That simple classification reveals which workflows are likely to need the most validation. Pay particular attention to OAuth: successful authorization in the Cloud instance does not establish a working authorization in the self-hosted instance.
The n8n deployment environment variable reference can help identify configuration that belongs to the deployment rather than to an individual workflow. Compare required settings with the target environment before importing. Do not copy every Cloud setting blindly; identify what the target actually needs and document who maintains it.
Export and inspect: preserve a known source state
Choose an export point and record it. If workflows continue to change during migration planning, an earlier export may no longer match the live Cloud version. Pause edits for the final export window, or arrange a final export after the changes are approved.
Use the currently supported Cloud workflow export option. If a workflow set is large or needs repeatable handling, check the current n8n command-line import and export documentation before selecting a CLI procedure. Do not assume a particular bulk-export behavior without checking the current instructions for your version and account.
After export, inspect the files before import:
- Confirm the expected workflows are present and that the export reflects the chosen source state.
- Check credential references and names so the target team knows which connections to recreate.
- Look for endpoint values, internal identifiers, or other sensitive details that should not be shared.
- Keep the files in access-controlled storage and remove temporary copies when they are no longer needed.
- Preserve a separate copy of the source instance’s required operational records if your recovery plan depends on them.
Do not edit exported JSON casually to “fix” missing credentials. First understand whether the value belongs in the workflow, a credential record, or deployment configuration. The official CLI guide and n8n’s Docker installation documentation provide deployment-specific references; follow the current documentation for the target setup rather than relying on an old Compose example.
Import and rebuild: make the target runnable
Prepare the self-hosted instance before importing workflows. Confirm that the deployment is reachable by the intended users and external callers, that its required environment settings are in place, and that the team has a process for updates and backups. n8n’s production requirements are a useful reference when checking whether the deployment is ready for ongoing use.
Import the workflow definitions using the supported interface or procedure. Then handle the pieces that the export did not transfer:
- Create the required credentials in the target instance.
- Reauthorize OAuth connections using the target configuration.
- Install and verify required community nodes.
- Check environment variables and deployment-level settings.
- Confirm sub-workflow and error-workflow references.
- Review schedules, time zones, and external service configuration.
This is the point to separate “the workflow imported” from “the workflow is ready.” A successful import proves only that the definition was accepted. It does not prove that every credential is valid, that every referenced node is present, or that a calling system can reach the correct webhook.
If privacy concerns are part of the reason for moving, distinguish control over your deployment from a complete privacy guarantee. The team still needs appropriate access controls, backup handling, patching, and data-retention practices. RootAMD’s data privacy overview can help frame that broader review, but it does not replace the team’s own security assessment.
Test before cutover: compare target behavior with production
Use a test plan that checks normal paths and failure paths. Avoid validating with live events that can create duplicate or irreversible side effects. Use safe test data, non-production destinations, or temporary disabled actions where appropriate.
| Test area | Cloud baseline | Self-hosted check | Pass condition |
|---|---|---|---|
| Credentials | Identify the connections used by the live workflow | Recreate or reauthorize each connection | Each required node can authenticate |
| Workflow references | Record sub-workflows and error paths | Run the target workflow through those paths | Calls resolve and error handling behaves as intended |
| Schedule and time zone | Note the current schedule behavior | Confirm the target configuration and expected run time | No unintended early, late, or duplicate run |
| Webhooks | Record the caller and current production address | Check the target production URL and caller configuration | A controlled request reaches the intended instance |
| External actions | Identify writes, messages, and other side effects | Test against safe destinations or test data | No production duplication or unintended action |
| Operations | Identify who watches failures and maintains the workflow | Confirm monitoring, update, and recovery ownership | A named team member can respond to a failure |
Webhook behavior deserves a separate check. n8n distinguishes test and production webhook URLs; the Webhook node documentation explains how those URLs are used. Compare the target’s production address with the address configured in each calling system. If the public URL changes, update the caller and test the complete request path. Do not leave both instances processing the same event.
For each workflow, retain a short acceptance record: source export time, target test result, missing dependencies, responsible reviewer, and cutover decision. This turns a vague “looks good” into an auditable go/no-go decision. It also makes rollback clearer: if the target fails after activation, the team knows which source triggers remain available and which changes must be reversed.
Migration questions, answered
Can a workflow be imported if it uses credentials from n8n Cloud?
Yes, the workflow definition can be imported, but the credential secrets do not travel with it. Create or reauthorize the required credentials in the target instance, then test the affected nodes. A workflow that imports without an error is not proof that its connections work.
Will the imported workflow keep its old webhook address?
Do not rely on that. The target instance can use a different public address or deployment configuration. Check the production URL displayed by the target workflow, update external callers if required, and test the full request path before enabling production processing.
Does exporting workflows move execution history too?
Do not treat a workflow export as a transfer of execution history or full instance state. Decide separately whether operational records need to be retained, and consult the official backup and restore documentation for the relevant recovery planning.
How can a team avoid duplicate processing during the switch?
Coordinate trigger activation. Validate the target with controlled requests, then schedule a cutover that prevents the Cloud and target instances from acting on the same production event. Confirm the caller points to the intended endpoint and keep a rollback plan for any workflow that fails acceptance.
Cutover and server planning: match the environment to the workload
Once the inventory and tests are complete, choose a cutover window and assign an owner. Freeze workflow edits or prepare a final export for any last-minute changes. Disable the source trigger at the agreed point, enable the target trigger, and verify the first production events. Keep rollback steps available until the target has passed the team’s acceptance checks.
A dedicated server is not required for every migration. A small, low-impact workflow set may fit a managed service better if the team does not want to maintain an operating system, deployment, credentials, and backups. Self-hosting becomes more compelling when control over the runtime, deployment settings, or data boundary outweighs the team’s maintenance burden. For context on running an AI-related service on CPU, see this EmbeddingGemma self-hosting guide; it covers a separate workload, not n8n sizing.
For teams evaluating RootAMD after validating their migration plan, the confirmed server choices provide a way to compare long-term environments without assuming migration performance:
| RootAMD option | Confirmed environment detail | Migration planning implication |
|---|---|---|
| Memory | 128GB or 256GB DDR4-3200 ECC RDIMM | Choose based on the combined workload and operating needs; memory cannot be added later |
| CPU | AMD EPYC 7543P, 32 cores and 64 threads | Consider this for several self-hosted services or parallel background work; it is not a migration speed guarantee |
| Storage | Two directly connected 1TB NVMe drives; additional NVMe options are available | Plan application data, workflow data, and backups separately; the two drives are not a hardware RAID mirror |
| Operating systems | Options include Debian 12/13, Ubuntu 24.04/26.04 LTS, AlmaLinux 9/10, and Proxmox VE 8/9 | Select a supported system that the team can maintain |
| Access and location | Linux access by SSH; Windows access by RDP; data center in Tokyo, Japan | Confirm that the access method and location fit the operating and data requirements |
These specifications are listed in the RootAMD server options and pricing information. They describe the available environment, not a measured n8n workload result. The server is a dedicated AMD bare-metal machine, but it still requires the customer to manage the application and plan external backups. For storage redundancy, the confirmed drives are directly connected and are not hardware RAID; a team that needs redundancy must design and test its own approach.
The trade-off is practical. Managed Cloud reduces infrastructure work, but it offers less control over the deployment environment and keeps the workflow runtime within that service boundary. Self-hosting gives the team control of its own environment, while making it responsible for credentials, updates, availability, and recovery. If the migration is only temporary, the workflow load is light, or the team cannot own those operational duties, staying on Cloud may be the safer choice.
When workflows need a controlled environment for long-term operation and the team is ready to maintain it, RootAMD’s dedicated AMD servers are worth evaluating against the deployment and recovery requirements. Check the available server configurations only after the target has passed migration testing; the right purchase is the one that fits the verified workload and the team’s maintenance capacity.
Frequently asked questions
How do I bring n8n Cloud workflows into a self-hosted instance?
Export the workflow definitions from n8n Cloud using the currently supported workflow export option, then import them into a prepared self-hosted instance. Treat the import as a transfer of workflow structure, not a full account restore. Recreate credentials and required environment settings, confirm node dependencies, and test each workflow before enabling production triggers.
Does an n8n workflow export contain the credential secrets?
No. The exported workflow file does not include credential secrets. It can contain credential references, such as a credential name or identifier, so protect the file and inspect it before sharing or storing it in an accessible location. Recreate or reauthorize the credentials in the target instance, then verify each connected service.
Will my webhook URLs change after moving n8n?
They may. Webhook addresses depend on the target instance’s public URL and configuration, so compare the production URL shown in the imported workflow with the address registered in each calling service. Update callers when needed, test the target endpoint, and keep the source workflow from processing the same event during cutover.
What should I test before switching an n8n workflow to self-hosted?
Test credentials, environment variables, community nodes, sub-workflow references, error paths, time zone behavior, schedules, and external integrations. For webhook workflows, check both the test and production URLs and confirm that callers reach the intended instance. Use safe test data or non-production actions so validation does not send duplicate notifications, create records, or trigger other irreversible effects.
Further reading
- Plan a controlled workflow migration with an inventory, credential review, and destination acceptance tests.
- Budget a cloud migration beyond the export: include parallel operation, engineering, and recovery costs.
- Verify backups, restore the target in isolation, and test application workflows before cutover.
RootAMD EPYC 7543P Dedicated Server
From $456.3/month