Promote Workflow configuration between environments
Move a reviewed Workflow configuration to another environment with Export Workflow and Import Workflow. Import creates a new Draft in the selected team. It does not activate the copy, move connected-account credentials, or prove that the new environment's resources are correct.
For the file controls and format, see Import and export. Use this guide to plan the development, staging, or production cutover.
Prepare the destination
Decide which team, provider accounts, and app resources belong to the destination environment. FastHook does not add a generic environment selector to every Workflow; use explicit names and the appropriate team boundary. See Environment isolation.
Record the source Workflow and reviewed version, the intended destination team, and the account/resource replacements. Keep secrets in their normal credential stores rather than in a promotion checklist or exported JSON.
Export and import the reviewed configuration
- Open the reviewed source Workflow and finish saving its changes.
- Record its current version from the configuration history or API so another edit cannot silently change the release candidate.
- Choose More Workflow actions → Export Workflow.
- Switch to the destination team and open the Workflow editor.
- Choose Import Workflow, select the JSON file, and give the copy a name identifying its environment.
- Select Import as Draft and record the new Workflow ID.
If the source changed after review, compare and review the new configuration before promoting it. An exported file is configuration, not an immutable approval or a copy of historical execution data.
Review environment-specific settings
| Setting | Destination review |
|---|---|
| App Trigger | Select the destination account, event, and remote resources; obtain new test data. |
| Webhook Trigger | Configure authentication and register the new Source URL with the intended sender. |
| Schedule | Check the schedule and timezone before activation. |
| Action | Select a destination-team account and replace fixed spreadsheet, channel, folder, project, recipient, or other resource values. |
| Reusable Destination | Check the imported transport configuration, receiver URL, authentication, and capacity settings. |
| Code and data-processing Steps | Review fixed values, code, and any required private configuration for the destination environment. |
| Paths, mappings, and error routes | Verify the intended behavior using destination-environment data. |
Portable import creates new graph/resource identities and remaps internal references. It does not automatically translate external app IDs or choose production resources for you. A valid ID can still identify the wrong spreadsheet or account environment.
Validate the destination Draft
Use a controlled event and an intended test target. Test the Trigger and critical Steps, then check the result in the destination app. Test step, Retest step, and Auto-validate can make external changes while the Workflow is a Draft.
Review all expected routes, Loop inputs, Delays, and recovery behavior. Use a normal run for features whose previews do not execute downstream work, including Only new items. Saved validation badges describe previous checks rather than continuous health.
Activate and cut over
- Plan when the old automation stops receiving or processing new work.
- Check that running both copies will not duplicate business changes.
- Activate the destination Workflow and send or produce one new controlled event.
- Open Run history and verify the destination version, inputs, Steps, and provider-side result.
- Expand traffic only after that result is correct.
Pause and activation apply to new Trigger-started runs; do not assume they cancel all work already in progress or backfill events from the inactive period. Keep the old definition available until the cutover and rollback window are complete.
Understand API access for transfer
The API exposes the same portable format to an appropriately authorized team session:
GET /v1/workflows/:id/export
POST /v1/workflows/importThese are Workflow configuration endpoints. Scoped project keys cannot read the export or create/import/update a Workflow, even with Read and Execute enabled. Import and configuration changes require an owner or site administrator session. Use the editor for the ordinary transfer flow; do not store a personal dashboard session in CI as a workaround. See Workflow API access.
For an authorized owner-session operation, review the destination before submitting the portable document. Import creates a Draft and new identities, just like the editor. The existence of an endpoint does not grant a machine key permission to use it.
This differs from manually constructing a POST /v1/workflows body from a raw Workflow response. If maintaining that lower-level procedure, remap team-scoped references yourself and explicitly send status draft; do not rely on the create endpoint's default status. See the API reference.
Update an existing destination Workflow
Portable import always creates a separate Workflow. It does not update an existing destination in place.
To update the existing definition through an authorized owner-session API call, read it immediately before applying the change and include its current integer version. A stale save returns 409 workflow_version_conflict; reload, compare, and reapply the reviewed change. Omitting the version is not an explicit guard against changes since your earlier read. Do not overwrite another editor's newer graph.
Prepare rollback as a reviewed forward update or a separate known-good Draft with verified account and resource settings. An export/import file does not restore the old Workflow's identity or execution history. Continue with Workflow versioning and the release checklist.