Guide

Automation migration checklist: preserve outcomes at cutover

The PainHunt Team· Published · Updated · 6 min read

A workflow migration is complete when the destination produces the agreed business outcome and each event has one accountable executor. Importing the definition is an intermediate step. Use this checklist for an authorized operator moving a bounded automation; it applies whether the destination accepts a native export or the workflow must be rebuilt.

Start with the outcome, then choose the transfer method

Write down one normal input, the expected destination state and the actions that must occur only once. For a lead-routing workflow, that could mean one CRM record with the correct owner and one notification. A successful run with the wrong owner is a failed migration.

Check the platform's native migration tools before buying or building a converter. For n8n, workflow export and import supports transferring workflow definitions. Its current package workflow also supports related organizational structure and references, but is marked Preview. Verify that the route supports the objects and versions you actually use.

For a Cloud-to-self-hosted move, n8n's migration guidance distinguishes a workflow export from a complete instance transfer. Credentials and execution history need separate treatment. An export can include credential names, identifiers or sensitive values embedded in node parameters; review it before sharing.

Transfer route Check before using it Evidence of completion
Native workflow export Supported versions, included objects and unresolved references Definition imports and its dependencies resolve
Supported package or migration tool Current feature status, access scope and omitted data Import validation and an object-by-object inventory
Manual rebuild on another platform Trigger, transformation, retry and state semantics Equivalent outcomes for the agreed test cases

An imported node with a similar name may behave differently. Compare null handling, date parsing, pagination, retries and rate limits where they affect the outcome.

Make a dependency inventory

Use one row per workflow, with linked rows for shared dependencies. Keep secret values in the approved credential store, separate from this worksheet.

Item Record for the source Verify at the destination
Trigger Schedule, time zone, webhook URL or subscription Effective next run, registration and delivery target
Authorization Credential reference, scopes and owner New authorization works with the required permissions
Workflow references Sub-workflow identifiers and call contracts References point to the intended imported version
Configuration Variables, custom nodes and relevant settings Required configuration exists and is supported
Persisted state Cursor, watermark, deduplication state and queued work Agreed starting position and ownership of pending events
Output Destination object, unique key and required fields Read-back matches the expected business result
Failure handling Retry policy, error route and operator alert Failure reaches the correct recovery path

Record the source version or export time. Freeze edits during the final transfer, or explicitly reconcile changes made after that point. Otherwise the inventory and the running workflow can silently diverge.

Rehearse with side effects controlled

Run the destination in a test account or with external actions replaced by controlled sinks. A sink should record the proposed action and its event identifier without sending a customer message or creating a production transaction.

Use these cases as a starting set, adding cases for the workflow's own contract:

  1. Normal event: verify required fields, transformations, destination ownership and expected actions.
  2. Duplicate event: deliver the same event twice and check the actual destination for duplicate effects.
  3. Partial failure: let an early action succeed and a later action fail. Confirm whether a retry repeats the completed action.
  4. Missing or malformed input: check the rejection route and whether an operator can identify the failed event.
  5. Delayed or out-of-order event: verify the cursor, ordering and update rules rather than assuming arrival order.

Check the destination directly. A green execution log proves that the workflow reached its own success path; it does not prove that the CRM field, file or downstream record is correct.

For duplicate protection, choose a stable business-event key and apply it at the action boundary. A process-local flag or an earlier lookup can still race with another execution. Verify the destination's uniqueness or idempotency behavior, including what happens after an ambiguous network timeout.

Assign event ownership at cutover

Write a short cutover record before changing the trigger:

Decision Required entry
Boundary The source cursor, event identifier or bounded time window separating ownership
Pending work Which executor owns running jobs, retries and queued events
Trigger handover Who disables or redirects the source and verifies destination activation
Reconciliation How to find missing, duplicate or partially completed outcomes
Stop condition A concrete failed check that pauses destination processing
Recovery owner Who can approve a replay or compensating action

If a time boundary is necessary, specify its time zone and how delayed events are handled. A timestamp alone is insufficient when events can arrive late or be retried.

For a scheduled workflow, coordinate the last source run and first destination run. For a webhook, coordinate registration and routing, and account for the sender's retries. Keep the old definition available for reference while preventing it from continuing to consume live events unexpectedly.

n8n operators using the server CLI should check the current publish/unpublish commands and propagation behavior for their version. A database or configuration change is not by itself proof that the serving process has changed its trigger state. Verify the effective state before releasing events.

Recover from the effects, not just the definition

When a stop condition is met, pause the destination and establish what it already completed. Coordinate source triggers and queued work before restarting the old workflow. Starting it immediately can process events that the destination has already handled.

Reconcile each affected event against destination state. Classify it as completed, not started, partially completed or unresolved. Replay only the required work with the same duplicate protections; route ambiguous cases for review.

An email cannot be unsent by importing an older workflow. A refund, record correction or compensating message is a separate action with its own authorization and audit trail.

Close the migration with an outcome record

Keep the transferred version, dependency checks, cutover boundary, unresolved events and destination read-back together. Retire the old trigger only after the agreed reconciliation checks pass. Retain credentials and historical execution material according to the organization's access and retention rules.

If you are evaluating a migration product rather than operating a cutover, use the workflow-automation validation guide to compare it with the available native transfer or a manual rebuild. A converter's useful contribution is the specific dependency or verification work it handles beyond those alternatives.

Frequently asked questions

Is importing a workflow enough to complete a migration?

No. An imported definition still needs its credentials, referenced workflows, configuration and execution behavior checked. Completion requires verifying destination outcomes and assigning ownership of events at cutover.

Can both platforms run during the migration?

A destination can process controlled test events with production writes blocked. Running both against live events requires explicit event ownership and effective deduplication at each side-effect boundary; matching schedules alone does not prevent duplicate actions.

Does switching back undo a failed cutover?

It stops or redirects future work only after triggers and queues are coordinated. Messages, charges and other completed actions require separate reconciliation or an approved compensating action.

Research the problem behind your idea

Explore problem summaries and source links to compare workflows and decide what to investigate next.

Open the Pain Point Browser

Related articles