Promoting Shuffle workflows from staging to production

Promoting a Shuffle workflow means moving its logic without moving the wrong credentials, runtime or triggers. This page explains how to do that safely between instances or tenants.

On this page

Promoting Shuffle workflows from staging to production safely

A playbook that runs correctly in staging is not yet a production-ready playbook. In Shuffle, promotion means moving the workflow definition, and then making sure everything the workflow depends on exists and behaves the same in the target environment. That dependency set includes the apps the workflow calls at their pinned versions, the saved app credentials and API keys, the trigger configuration (webhooks, schedules and other starting points), and the runtime location where executions will run. Only the workflow definition travels as a file in a straightforward way. Credentials are encrypted in the database of the instance that saved them, so they do not move with an export, and they must be recreated or re-authorized in the target. Triggers and runtime locations are environment settings, so each one needs an explicit check. Shuffle's architecture separates the backend, which holds workflows and state, from the Orborus runtimes, which poll the backend and start workers and app containers. That separation means a workflow can be imported into production while still pointing at a runtime, or a trigger, that belongs to staging.

A repeatable promotion path becomes necessary once more than one person edits playbooks, once several workflows share apps and credentials, or once an incident response playbook is expected to run unattended. Decide early where the source of truth lives, whether that is an export committed to Git, a change record in your ticketing system, or both, and who approves a change before it reaches production. Keep environment-specific values such as URLs, tenant identifiers and credential references out of the shared definition so that the same export can be applied to both environments with only those values changed. Also confirm that the production apps match the versions tested in staging, since an app update can change parameters or outputs that a condition depends on.

Before enabling any trigger in production, verify three things: that the runtime location handling the execution is the one you intended, that every credential the workflow uses has been re-entered and tested in that instance, and that no action still calls a staging host. Run the workflow in a controlled way first, using a test input, and confirm the execution appears where you expect. Ask your vendor or partner to confirm which export format, Git integration and promotion features your Shuffle version supports, since the open-source documentation describes the underlying pieces and your edition's limits may differ. Record the procedure, the approver and the rollback step, so the next promotion does not depend on one engineer's memory.

Export, Git or instance-to-instance: which promotion method fits

A manual export moves a single workflow as a JSON file that an operator downloads from one Shuffle instance and imports into another. It suits small teams with a handful of playbooks, infrequent changes and a clear owner who can repeat the same steps each time. It requires an administrator on both instances, a review step before import, and a written record of which workflow version was moved. The main risk is drift: the file is a snapshot, so a fix made in production that never returns to staging will be overwritten on the next import.

  • Who it suits: small teams with few workflows and one accountable owner for each playbook.
  • What it requires: access to both instances, a naming convention for exported files, and a manual checklist.
  • Main risk: silent overwrites when staging and production have diverged since the last export.
  • Credentials: saved app authentications are encrypted per instance, so each import needs its authentications re-bound in the target.
  • Audit trail: the file itself carries no review history unless you store it somewhere that does.

Before choosing this method, confirm how your Shuffle version handles imported workflow IDs, which apps and versions the target needs, and whether your change process accepts an untracked file as evidence.

How to run a staging to production promotion

This sequence moves a tested Shuffle workflow from staging into production with a known version, production-only credentials, and a controlled first run, so the workflow behaves the same way without ever firing live triggers before the target environment is confirmed.

  1. Freeze the staging version

    Before anything is exported, the team agrees which workflow revision is the release candidate and stops further edits to it in staging. The owner records the workflow ID, the revision, the Shuffle backend version and the Docker image tags that the staging instance runs. Someone other than the author reviews the workflow and confirms the record matches what staging is running. Done means a written release note exists with the workflow ID, revision and platform version, and no one can change the candidate without creating a new one.

  2. Export and version the workflow

    The owner exports the frozen workflow as JSON from the staging instance and commits that file to a Git repository, with the release note in the commit message or an accompanying file. Any app or subflow the workflow depends on is exported and committed alongside it. Exports should be checked for stored secrets: credentials are kept in the platform's encrypted store, so the export should reference them by name rather than contain values. Done means the repository holds a reviewable copy that can recreate the workflow, and a second person can open it and see every action and trigger.

  3. Review app versions and hard-coded URLs

    Reviewers open each action in the exported workflow and record the app name and version it uses, then confirm that version exists and is supported on the production instance. They search parameters, conditions and custom code for hard-coded values such as localhost addresses, staging hostnames, internal IP addresses, tenant-specific IDs and test email addresses, and replace them with production values or variables. Reviewers also check that HTTP calls use HTTPS endpoints the production runtime can reach. Done means a checklist signed by the reviewer lists every app version and every replaced value, and no staging-only address remains in the workflow JSON.

  4. Create production credentials separately

    The production team creates new authentications for each app in the production instance, using production accounts or service identities scoped to what the workflow needs. Staging credentials are not copied across, so a staging key cannot reach production systems and rotation in one environment does not break the other. Each credential's name matches the name the workflow references so the import binds to the right secret. Done means every authentication the workflow uses is present in production, owned by a named team, and test-tested against its target system with a read-only call.

  5. Import with triggers disabled

    The workflow is imported into production with its schedules, webhooks and other triggers left switched off. The operator confirms the imported copy has the same action graph as the exported JSON, that its apps resolve to the production authentications, and that no trigger is active. Import with triggers disabled ensures a copied schedule or inbound webhook does not start executions against live alerts before the checks below are complete. Done means a side-by-side comparison of the workflow's actions and trigger states is recorded, and every trigger shows as disabled.

  6. Confirm the runtime location and Orborus node

    The operator checks which runtime location the production workflow is assigned to and confirms that location is on a healthy Orborus node that is polling the production backend. Shuffle's architecture uses Orborus to poll the backend for jobs and start a worker for each execution, so an unhealthy or misassigned node means the workflow will not run where expected. For high availability, the team confirms more than one Orborus node is available for that location. Done means the runtime location is recorded in the release note, its node reports healthy in the operator's monitoring, and a test job can be picked up from the backend.

  7. Run a controlled test

    With triggers still disabled, the operator runs the workflow manually using a test input designed for production, such as a known safe indicator or a dedicated test record in the target system. The team reviews the execution, each action's result, the app containers that started and any errors in worker logs. Actions that change state in production are reviewed before the run or pointed at a non-destructive test object. Done means one execution completes with the expected results, the outputs match the staging test notes, and the test artifacts are documented so they can be cleaned up.

  8. Enable triggers and watch the first executions

    After the controlled test passes and the release approver signs off, the operator enables the triggers one at a time, starting with the one that carries the lowest impact if something goes wrong. The team watches the first live executions in the execution list and worker logs and confirms the expected success flags and notifications appear. Done means the approver has recorded the enablement time and trigger list, the first live executions completed as expected, and the staging copy is kept intact so the candidate can be rolled back by disabling production triggers.

Promotion path from staging to production runs through a Git version and a runtime check

The path starts with an edit in the staging Shuffle instance, which is exported and committed to Git so the exact workflow version is recorded. The production import is followed by binding environment-specific credentials, since saved app authentications are encrypted with the instance's own SHUFFLE_ENCRYPTION_MODIFIER and do not travel with the export. Before any trigger is enabled, confirm the runtime location that will execute the workflow and run a test. If the test fails, the rollback branch returns production to the previous Git version.

Staging to production promotion with Git as the version record and rollback path.

Checking runtime locations before switching triggers on

Before a promoted workflow is allowed to run on its own, confirm which runtime will execute it and that the runtime can reach the systems it calls. In Shuffle, the Go backend API queues each execution as a job. Orborus, the runtime component, polls the backend for those jobs, and for each workflow execution it starts a worker, which in turn starts the app containers that perform each action. The workflow is only as correct as the path through that chain. An imported workflow carries its logic and app references, but the runtime choice is an environment setting, so a copy can end up pointed at an Orborus in the wrong location, or at one that the target backend cannot reach. Confirm this by running a manual execution with harmless inputs and checking the execution details and worker logs for the expected host.

Triggers should stay off until that check passes. A schedule, webhook or email trigger that is switched on early can start executions that run in the wrong place, use the wrong credentials or hit a development endpoint, and those runs may generate tickets or blocking actions before anyone notices. Keep every trigger disabled on import, then enable them one at a time after the manual test succeeds. In a multi-Orborus setup, which the Shuffle configuration docs recommend for high availability, the runtime location for each workflow must be chosen deliberately, because a workflow may otherwise run on whichever node is available. The Shuffle architecture docs describe the component roles, which helps the team map each location to a real host.

Runtime selection behavior can differ between versions, so confirm how the version in use chooses a location before relying on it. Check the release notes for the version you are running, such as the Shuffle GitHub releases page, and test on a non-production Orborus that matches the production setup. Record the expected runtime location for each workflow in the change record, and repeat the check after every upgrade, since an update to the backend or Orborus can change the defaults. Plan a rollback step that disables triggers again if the runtime check fails.

Common promotion failures and how to prevent them

Most failed Shuffle promotions trace back to a small set of causes: environment-specific values carried into the wrong place, runtime state that changes on import, and production edits that nobody recorded. Each card below names the failure and the prevention step to build into the promotion runbook.

Credentials that stop working

Saved app authentications are encrypted in OpenSearch with a key set by SHUFFLE_ENCRYPTION_MODIFIER. If staging and production use different values, exported workflows import cleanly but every app call fails authentication. Before the first promotion, confirm the modifier is the same across the instances that will exchange data, or plan to re-enter credentials in the target as a separate, recorded step. Store the value in your secrets manager and never in the exported workflow file.

Shuffle configuration docs

Staging URLs left in production

A playbook built against a staging backend, a test webhook or an internal API hostname will run in production and call the wrong system, or fail with a localhost address. Check every trigger URL, HTTP action base URL and app parameter that contains a hostname after import. Keep environment values in one reviewed list, and make the promotion checklist include a search of the exported JSON for staging hostnames before the import.

App version drift

A workflow built on one version of an app may reference action names or parameters that the target instance does not have, or that behave differently. Record the app name and version for every action in the workflow, compare them against the target instance's installed apps, and align versions before import. Confirm the Shuffle core version on both sides, since promoting into an older instance can break newer workflow features.

Triggers firing during import

Schedules, webhooks and other triggers may start executing as soon as a workflow is imported and set active. Against production data this means real alerts processed, tickets opened or containment actions run before anyone has reviewed the workflow. Import with triggers disabled, confirm which runtime location each workflow will use, and enable triggers only after the production verification steps pass.

Overwritten production edits

If an analyst fixed a playbook directly in production, a re-import from staging silently replaces that fix. Treat production as the place where changes are not made directly: every change goes through the source repository, and any hotfix made in production is copied back before the next promotion. Keep the Git history of exported workflows so a diff shows exactly what a promotion would change.

Missing audit trail

Without a record of who exported, imported and enabled a workflow, incident reviews cannot establish which logic was running when an alert was handled. Record each promotion with the source commit or export ID, the target instance, the person approving it and the time triggers were enabled. Keep these records outside Shuffle so they survive a rebuild of the instance, and confirm your retention requirements with your compliance team.

Which configuration options to decide before promoting

This table compares the configuration choices that shape how a Shuffle workflow moves from staging to production, with the situations where each option fits and what it costs you. Read each row as a decision to record before the first export, since several of them are hard to change once workflows and credentials already exist. The main takeaway is that the encryption secret, runtime layout and trigger policy determine most of the promotion risk.

DecisionWhen it fitsTrade-off
Encryption secret managementKeep one SHUFFLE_ENCRYPTION_MODIFIER per instance and store it in a secrets manager, separate from the export filesLosing or changing the value breaks every saved app authentication, and a copied value spreads the secret to every environment that holds it
Separate encryption secret per environmentStaging and production hold different credentials and must not share a keyExported workflows carry no usable credentials, so each environment needs its own authentication setup after import
Git repository layout and branch modelA single repository with one folder per workflow and a protected main branch that production imports fromA shared repository needs review discipline, and exports can contain environment-specific IDs that create noisy diffs
Credential naming conventionIdentical authentication names across environments, such as one name per target system, so workflows resolve the same label everywhereShared names hide which environment a credential points to, so reviewers must check the target URL during promotion
Separate versus shared runtimesSeparate Orborus runtimes for production when staging tests could reach production systems or consume its capacitySeparate runtimes add hosts and monitoring, while a shared runtime risks staging executions landing on production workers
Trigger enablement policyImport production workflows with triggers disabled and enable them only after a checklist confirms runtime location and credentialsA manual enablement step adds a delay and depends on someone remembering to run the checklist
Approval for production changesA named reviewer or change board signs off each promotion, with the approver recorded in the change recordApproval adds lead time per change, so teams often batch changes, which makes rollback harder to isolate

Security and operational considerations for promotion

A promotion moves logic, credentials and trust between environments, so each step can leak secrets or send live actions to the wrong place. The cards below cover the controls to set before the first export and the checks to repeat on every promotion.

Keep production secrets out of exports

A workflow export carries the structure of each playbook, and any credential typed directly into a node parameter can travel with it. Treat every export as a document that may be read by people who should never see production keys. Check that production values live only in the target instance's app authentication, not in workflow JSON, notes or variables that are committed to Git. Confirm this before the first Git backup is made.

Restrict who can import

Importing a workflow into production can switch on triggers, add apps and change what actions run against live systems. Limit the import right to a small named group, and separate the people who author workflows in staging from those who approve and load them into production. Ask your team to confirm which Shuffle roles can import, export and edit triggers in your version, since role behavior depends on the SSO and access setup in place.

Protect the encryption modifier

Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256, using the SHUFFLE_ENCRYPTION_MODIFIER secret. The documentation warns that losing or changing this value breaks all saved app authentications. Store it in a secrets manager with its own backup, record which instance it belongs to, and never assume an export can recreate stored credentials in another environment.

Shuffle configuration docs

Review exports for embedded secrets

Before any export is committed or shared, scan it for tokens, passwords, webhook URLs with embedded keys and internal hostnames that identify production. Pair an automated secret scanner with a human reading the changed workflows, because a scanner may miss a value placed in a Liquid expression or a free-text note. Record the result of each review with the export so the reviewer and the commit can be traced.

Separate staging and production identities

Staging and production should use different SSO applications, API keys and service accounts, so a test login or a leaked staging key cannot act in production. Confirm which identity provider settings apply per environment, and check that a workflow promoted to production does not still point at a staging API endpoint or a staging account. Document the owner of each identity and its rotation schedule.

Log every promotion event

Record who exported, reviewed, imported and enabled each workflow, along with the Git commit and the target environment. Without this record, a trigger that starts firing unexpectedly is hard to attribute to a change. Keep these logs outside the Shuffle instance they describe, and check that your retention period meets your own audit and incident response needs.

Questions teams ask before promoting Shuffle workflows

How long does promoting a Shuffle workflow from staging to production take?

No supplied figure gives a fixed duration, so the honest answer depends on the work involved. The main drivers are how many workflows move, how many apps and authentications each one uses, whether the target instance already has matching app versions, and how many environment-specific credentials must be recreated and tested. A single playbook that uses one app with a stable API is quick to move. A set of playbooks spanning several apps, a shared tenant and new runtime locations takes longer because each credential and trigger needs verification. Ask any provider for a written scope that lists the workflows, apps, credentials and triggers, and the test steps for each.

Can our team promote Shuffle workflows without outside help?

Yes, many teams do this in house, provided someone owns the export, import and credential steps and someone can test the results against the target systems. The work requires knowledge of your staging and production apps, the authentication each one uses, and the change process your organization follows for switching triggers on. Teams with a clear inventory of workflows and a repeatable checklist usually manage the first promotion alone. A partner is most useful when the number of workflows is large, several environments or tenants are involved, or the team lacks people who can review the playbooks for failure paths and secret exposure.

What does a partner need from us to promote workflows?

A partner needs read access to the staging instance, a list of production targets, and the owners who can approve changes and confirm test results. It also needs the credentials or a secure way to create them in production, since app authentications are stored encrypted on each instance and must be set up again per environment. Expect to provide the business purpose of each playbook, the systems it touches, and any change windows or approval rules. Confirm with the provider how they will handle access, where exports are stored, and who signs off before a trigger goes live.

Do we need Git to promote Shuffle workflows safely?

Git is not strictly required, but it is the most practical way to keep a reviewable history of each workflow version. Exports from the Shuffle interface can be imported elsewhere, yet without version control it is hard to see what changed between staging and production or to roll back. Storing exported workflow files in a repository lets reviewers compare versions and gives you a backup if an instance is lost. Keep credentials out of the repository, since exports should reference environment-specific authentications rather than contain secret values.

How should we handle credentials when moving workflows between environments?

Do not copy secret values between environments. Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER secret, so each instance needs its own authentication entries created for its target systems. Be aware that the encryption modifier must stay constant on an instance, because changing or losing it breaks all saved app authentications there. Store the modifier and any production secrets in your approved secrets manager, restrict who can view them, and test each authentication in production before enabling triggers.

Do staging app runs count against our Shuffle license limits?

Shuffle prices licensing on app runs, which it defines as actions that actually execute in a workflow. Triggers and skipped actions are not counted, and users, apps and workflows are unlimited. Staging test executions that run actions would therefore count toward the app run metric on the instance where they execute, so check how your license applies to each instance before running large test batches. Confirm the metric and how it is enforced for your edition with Shuffle directly, since the limits between editions are enforced from version 2.1.1 onward.

What should we do if a workflow breaks in production after promotion?

First, disable the trigger for the affected workflow so new events stop producing failed executions, then review the execution details to find the failing action. Common causes include localhost URLs left over from staging, missing or unconfigured authentication in production, and changed API responses. Restore the last known good version from your Git history or export, reapply the production credentials, and retest with a controlled input before re-enabling the trigger. Record the incident and add a failure notification so the next break is visible quickly.

How DeployOpen works on this

DeployOpen treats promotion as a controlled change: we agree what moves, how it is exported and checked, and which credentials and runtime locations each environment uses before any trigger goes live. The work is delivered inside your own Shuffle instances and infrastructure, with the final switch-over decision kept with your team.

How we scope

  • Inventory the workflows, apps and triggers that move from staging to production, with owners for each
  • Map which credentials, API keys and runtime locations differ between the two environments
  • Agree in writing which checks must pass before a trigger is enabled in production

How we build

  • Set up versioned exports of workflows and a Git backup routine, with environment-specific values kept out of exported files
  • Verify each promoted workflow in staging, including its app authentications and runtime location settings
  • Test that production runtime locations are reachable and that triggers stay disabled until the agreed checks pass

How we hand over

  • Document the promotion procedure, rollback steps and the list of environment-specific settings
  • Walk your operators through the checklist and the trigger switch-over sign-off
  • Record the test results and workflow versions that were promoted for your change records

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts
  • Ongoing support, upgrades and continuous testing are available as a retainer
  • Confirm with your team which support terms and response expectations apply to your environment

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.