Shuffle workflow revisions and Git backup

Shuffle keeps per-workflow revisions, supports JSON exports and can push workflows to GitHub or Azure DevOps on save or run. This page covers what each protects, how to set it up and what to confirm.

On this page

Shuffle workflow backup: how revisions and Git backup protect playbooks

When a playbook that the SOC depends on is edited badly, the fastest recovery is usually an automatic revision: Shuffle backs up each workflow at most once per 60 seconds into a separate database index, and the Revisions button lets you restore an earlier state. Before a revert, Shuffle saves the current state, so the bad edit is itself recoverable. Revisions cover the common case of a recent mistake inside the same installation. They do not protect you if the OpenSearch index is lost, if the instance is rebuilt, or if you need a history that a reviewer can read outside Shuffle. Confirm with your own tests how far back the revision history reaches on your version before you rely on it as your only record.

Two other layers cover what revisions cannot. A JSON export gives you a portable copy of a workflow with its nodes, connections, variables and authentication references, which is useful for moving a playbook between environments or keeping a snapshot before a large change. Expect to reconfigure app credentials after an import into another tenant, because the secrets are not carried over. Git backup is the layer for durable history: Shuffle can push a workflow to GitHub or Azure DevOps whenever it is saved or executed, using a repository URL, branch, username and personal access token. Azure DevOps backup requires Shuffle 2.1.1 or later, and GitHub tokens need the repo and workflow scopes. Use a dedicated service account and a protected branch, so that review, blame and rollback follow your normal change control.

Choose the layer by the question you need answered. Use revisions for minutes-to-days recovery by the team that owns the playbook, exports for moving or snapshotting a workflow, and Git for an audited history that survives an instance failure. Plan the token lifecycle as a recurring task, since a rotated or expired personal access token silently stops backups. Also decide whether saves or runs should trigger a commit, because run-triggered commits can create noise in the repository. Before going live, test a deliberate bad edit and restore it from each layer, and ask your implementation partner or internal team to document the steps in your runbook. The Shuffle workflows documentation is the reference to confirm current behavior for your version.

What each protection covers and what it does not

Shuffle offers three ways to recover or move a workflow: automatic revisions, JSON exports and Git backup. Each protects against a different failure, and each has limits you should check before you rely on it for a production playbook.

Automatic revisions

Shuffle saves a backup of each workflow at most once per 60 seconds into a separate database index, and the Revisions button restores an earlier version. Before a revert, the current state is saved, so a bad restore can itself be undone. The revisions live inside the same Shuffle instance, so they do not help if the platform or its OpenSearch data is lost. Confirm how long revisions are kept in your version and whether they are included in your backup routine.

Workflows docs

JSON workflow exports

An exported workflow is a JSON file that holds nodes, connections, variables and authentication references. It gives you a copy that sits outside the Shuffle instance, which suits moving a playbook between environments or keeping an offline record. Exports do not carry working credentials, so app authentications may need to be reconfigured after import into another tenant. Test each imported workflow against its apps before you depend on it.

Git backup on save or run

Shuffle can push a workflow to GitHub or Azure DevOps whenever it is saved or executed, using a repository URL, branch, username and personal access token. This gives you version history, review and access control outside Shuffle. The token is a single point of trust: GitHub tokens need repo and workflow scopes, and a token with broader rights than needed widens the impact of a leak. Azure DevOps backup is available from Shuffle 2.1.1.

Workflows docs

Coverage of credentials and secrets

None of the three mechanisms is a secrets backup. Saved app credentials are encrypted in OpenSearch with the SHUFFLE_ENCRYPTION_MODIFIER value, and losing that value breaks every saved app authentication. Store that value in your own secrets process, because a restored or imported workflow cannot decrypt credentials on its own. Plan a separate, tested recovery path for the encryption modifier and for each app connection.

Reach of a restore

A revision restore replaces the current workflow in place, while an import creates a new copy. Neither rolls back data a playbook already changed in other systems, such as tickets closed, indicators blocked or accounts disabled. Before a restore, list which connected systems the workflow wrote to during the period you want to undo, and decide who reverses those actions. Confirm the behavior of your version with a test workflow first.

Review and approval of changes

Revisions and Git history show what changed and when, but neither enforces a review before a change takes effect. A save or run in Shuffle publishes the change immediately, so an error in a live playbook can run before anyone reviews it. Decide whether edits go through a branch and pull request in your repository, who may edit production workflows, and how Git history is kept for audit purposes.

Choosing revisions, exports or Git backup for each workflow

This table compares automatic revisions, JSON exports and Git backup by recovery scope, storage location, who can act and whether the copy survives loss of the Shuffle instance. Use it to pick one option per workflow, or combine them for playbooks that matter most. The main takeaway is that revisions protect against a bad edit, while only exports and Git copies protect against losing the instance itself.

OptionRevisionsJSON exportGit backup
Recovery scopeEarlier saved state of one workflow, restored from the Revisions buttonWhole workflow as a file at the moment you export itEach saved or executed version pushed to a repository branch
Where the copy livesSeparate database index inside your Shuffle instanceA file on the machine where you downloaded itGitHub or Azure DevOps repository you configure
Who can act on itUsers with access to the workflow in ShuffleAnyone holding the file, who can import it into a tenantWhoever controls the repository and personal access token
Survives loss of the Shuffle instanceNo, it is stored in the instanceYes, if the file is stored outside the instanceYes, if the repository is hosted outside the instance
Captures credentialsAuthentication references only, not app credentialsAuthentication references, so credentials may need reconfiguring after importSame content as the export, so the same reconfiguration applies
Setup neededNone beyond normal use of ShuffleManual download on each change you want to keepRepository URL, branch, username and token with repo and workflow scopes on GitHub
Best fitRecovering from a bad edit made in the last few savesMoving a workflow to another tenant or keeping an offline copyPlaybooks where change history and an off-instance copy are required

Setting up Git backup for Shuffle workflows

This sequence connects a Git repository to Shuffle so every saved or executed workflow is backed up, and confirms that both the backup and a restore from the revision history work before you rely on them.

  1. Create the backup repository and branch

    Create a dedicated repository in GitHub or Azure DevOps for Shuffle workflow backups, then create or choose the branch that will hold them, such as a branch named for your environment. Keep this repository separate from application code so access can be scoped to the people who manage playbooks. Confirm you can open the repository in your browser and that the branch exists, because Shuffle needs both values in the next steps. Ask your repository administrator whether branch protection rules would block automated commits to this branch.

  2. Create a personal access token with the required scopes

    Create a personal access token for the account that will write backups. For GitHub, the Shuffle workflows documentation requires the repo and workflow scopes, so grant those and no broader permissions. Copy the token when it is displayed, because most providers show it only once. Store it in your team's secrets manager rather than in a ticket or chat thread. Done means you hold the token value and can name the account and scopes it was issued with. For Azure DevOps, confirm the required token permissions in the Shuffle workflows documentation before you create it.

  3. Enter the repository URL, branch and username in Shuffle

    Open the workflow backup settings in Shuffle and enter the repository URL, the branch name, the username that owns the token and the personal access token itself. Check each value against the repository page you opened in the first step, since a mismatched branch or URL is the most common reason a backup does not appear. Save the settings. The check is that Shuffle accepts the configuration without an error message. If it reports an authentication failure, verify the token scopes and that the token has not expired before changing anything else.

  4. Save a test workflow

    Create a small test workflow in a non-production Shuffle environment, with one or two harmless actions, and save it. Shuffle backs up a workflow at most once per 60 seconds, so wait a minute before expecting a second commit from further edits. Save the workflow and open the repository in your browser. Confirm that a commit appears on the branch you configured and that the workflow JSON is in it. If nothing appears, check the saved settings and the token before concluding the backup is broken.

  5. Confirm the commit appears in the repository

    Open the commit in the repository and review the file it contains. Check that the workflow name matches your test workflow and that the JSON includes the nodes and connections you added. This confirms that the backup content is what you expect, not just that a commit exists. Note the commit identifier so you can match it against the Shuffle revision history in the next step. Done means the committed file reflects the saved state of the workflow.

  6. Make a change and restore a previous revision

    Edit the test workflow, for example by renaming an action or changing a value, and save it. Wait at least 60 seconds, then save once more so a new revision is recorded. Open the Revisions button in Shuffle, select the earlier revision and restore it. Shuffle saves the current state before reverting, so confirm that the current version still appears as a revision. Check that the workflow returns to the earlier state and that the repository receives a matching commit. This check proves both the internal history and the Git backup behave as you expect.

  7. Document the setup and confirm who can restore

    Record the repository, branch, token owner and scopes, and the location of the stored token in your runbook, and name the people who may change the backup settings or rotate the token. Ask your Shuffle administrator to confirm that the configuration is applied in each environment where you plan to run production workflows. Token rotation will break backups until the new token is entered in Shuffle, so schedule that change with the repository owner. Done means another engineer could find the configuration and restore a workflow without asking you.

How Git backup behaves on save and on run

Git backup fires on every save or execution, so a bad edit that gets saved reaches the repository. Shuffle does not hold a backup back until a workflow is known to be good. Once a repository URL, branch, username and personal access token are configured for a workflow, each save or run writes the current state to that branch. A broken node, a deleted connection or a wrong filter is therefore committed as readily as a correct change. Before enabling backup on production playbooks, confirm with your own test tenant exactly which events trigger a commit in your version, and whether a run without any edit produces a new commit.

The 60-second revision interval in Shuffle is a separate mechanism and does not limit what reaches Git. Shuffle keeps its own revisions at most once per 60 seconds, so two quick edits inside one minute may share a single internal revision, while Git backup can record each save or run as it happens. Expect the Git history to be noisier than the Shuffle revision list, and plan for it by using a dedicated branch per environment, short review cycles and commit messages that a reviewer can read. Treat a protected main branch with required review as the gate for changes that will run against live alerts, and do not point automated backup at the branch your runtime deploys from unless you have confirmed that behavior in your setup.

Restoring from Git is a deliberate, out-of-band recovery, while restoring from a Shuffle revision is a single action inside the editor. A Shuffle revision is restored with the Revisions button, and the current state is saved before reverting, so the step can itself be undone. A Git restore means choosing a commit, reviewing the diff, importing or reapplying the JSON into Shuffle and then reconfiguring any app credentials that do not carry over, as covered in the export section. Confirm who on your team holds permission to perform each restore, and rehearse a Git restore once on a non-production workflow so the steps are known before an incident.

Protecting tokens, exports and the backup repository

Git backup gives a playbook history outside Shuffle, but the copies carry their own risks. The personal access token, the exported JSON and the repository itself each need an owner, a limit and a check, or the backup becomes a second place where workflow logic and credentials can leak.

Scope and rotate the access token

Shuffle authenticates to GitHub or Azure DevOps with a personal access token. GitHub tokens need the repo and workflow scopes, so a leaked token can read and change repository content and workflow files. Create a dedicated token for backups, grant only those scopes, and set an expiry date. Record who owns the token and a rotation step that updates the Shuffle backup setting without breaking later saves.

Shuffle workflows docs

Assign a named token owner

A token tied to a departed engineer's personal account often stops working without warning, and backups then fail silently. Assign the token to a service or platform account that more than one person can administer, and store its location and rotation date in your runbook. Ask the vendor or your own platform team how their token lifecycle and revocation process work before you rely on them.

Review exported JSON as sensitive data

Exported workflows are JSON files with nodes, connections, variables and authentication references. Variables can hold hostnames, account identifiers or internal URLs, and authentication references reveal which apps a playbook uses. Treat each export and each backed-up file as internal configuration, scan it for hardcoded values before committing, and move secrets into Shuffle's stored authentication rather than workflow variables.

Expect credentials to need re-entry

After you import a workflow into another tenant, app credentials may need to be reconfigured. This is useful for a clean separation between environments, but it also means an exported file never carries a working secret across systems. Plan the reconfiguration step in your move procedure, and keep a record of which apps each restored workflow depends on so reviewers can confirm the right credentials are bound.

Restrict repository and branch access

Anyone with write access to the backup repository can change the history that you would restore from. Limit write access to the Shuffle service identity and to named reviewers, protect the branch Shuffle writes to from force pushes and deletion, and keep the repository private. Confirm with your Git host how branch protection and audit logging apply to the account that Shuffle uses.

Protect the encryption modifier

Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER secret. Losing or changing it breaks every saved app authentication, so it must not be rotated casually. A Git backup holds workflow logic, not the key that decrypts stored credentials, so it is no substitute for storing that secret in a vault and backing it up separately with the OpenSearch data.

Shuffle configuration docs

Questions teams ask before setting up workflow backup

Can our own team set up Shuffle workflow backup without a partner?

Yes, a team with Shuffle administration experience can configure Git backup on its own, because the setup is a repository URL, a branch, a username and a personal access token entered in Shuffle. The effort grows with the surrounding decisions rather than theButton clicks: who owns the token, how branches and review rules work, whether the Shuffle test environment is separate from production, and how restores are rehearsed. Teams without a repository administrator or a Shuffle test tenant usually find those gaps first. Ask a partner only for the parts you do not want to design yourselves.

How much effort does a basic workflow backup setup take?

A single repository, one branch and a small number of workflows is a short configuration task, and the time it takes depends mostly on the decisions around it rather than on Shuffle itself. The main drivers are the number of workflows and tenants, whether backups should follow a branch and review process, how many people edit playbooks, and whether the Shuffle host can reach GitHub or Azure DevOps at all. Air-gapped networks add work because the repository must be hosted inside the perimeter. Ask any quote to list each of these drivers and state what is included.

What does our team need to provide for the backup work?

You need a few named owners before work starts:

  • A token owner who creates a personal access token with the repo and workflow scopes that GitHub requires for workflow backup.
  • A repository administrator who creates the repository, sets the branch and decides who can push or merge.
  • A test tenant or non-production Shuffle environment where restores and backup behavior can be checked safely.

Also confirm who rotates the token and what happens to backups when the token owner leaves the organization.

Do Shuffle revisions replace a Git backup?

No. Revisions are a built-in safety net: Shuffle backs up each workflow at most once per 60 seconds into a separate database index, and you can restore a previous revision from the Revisions button, with the current state saved before reverting. That protects against a bad edit made inside Shuffle. A Git backup gives you an external copy with its own history, review, access control and restore path, which still works if the Shuffle database is lost or damaged. Most teams that care about playbook integrity keep both.

Which Shuffle version do we need for Azure DevOps backup?

Azure DevOps workflow backup is available from Shuffle 2.1.1, so older installations must upgrade before they can use it. GitHub backup uses the same repository, branch, username and token pattern, but the token must carry the repo and workflow scopes. Check your current version and the release notes before planning, because Shuffle has also stopped supporting versions older than v2.1.1 after January 31, 2026. Confirm the exact upgrade path with your team before the backup design is finalized.

What would a DeployOpen engagement for workflow backup cover?

A DeployOpen engagement is fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. For workflow backup, the scope would typically cover the repository and branch design, the token and access model, configuration on your Shuffle instance, a restore test from a revision and from Git, and a short handover. The quote follows from that written scope, which should name the number of workflows, tenants and environments included. Ongoing upgrades and testing are available as a retainer.

How do workflow exports fit with Git backup?

Exported workflows are JSON files that contain nodes, connections, variables and authentication references, so they can be reviewed and stored like other code. Import into another tenant does not carry app credentials, which may need to be reconfigured, so plan that step explicitly. Treat exports as a portable copy for moving playbooks between environments and keep the credentials themselves in your secrets process. Confirm with your Shuffle documentation which fields are included in your version before relying on an export as a full record.

How a save becomes a revision and a Git commit

The flow starts when an analyst saves or runs a workflow in the Shuffle frontend, which sends the change to the Go backend API. The backend checks whether the 60-second revision interval has passed and, if so, writes a copy to a separate index in OpenSearch. The same save or run can also push the workflow to GitHub or Azure DevOps, using the repository URL, branch and stored personal access token. To restore, the analyst opens the Revisions button, which saves the current state first, so a revert can itself be undone. Check the token scopes and the interval before relying on the backup.

Saves write a revision and a Git backup, and restores snapshot the current state first.

Operating workflow backups over time

Backups only protect you if commits keep landing. Treat the Git backup as a service with its own checks. Each time the personal access token is renewed or expires, confirm that a test save and a test run still produce a commit in the repository and branch you configured. Repeat the same check after every Shuffle upgrade, since a change in the backup path can fail silently while the workflow itself keeps running. Record the token's owner, its scopes (repo and workflow for GitHub) and its expiry date in your operations register so the renewal does not depend on one person remembering it. Confirm the commit history on the target branch after each check, not only the absence of an error in Shuffle.

Schedule restore tests separately from commit checks. Pick a workflow, restore an older revision from the Revisions button in a non-production environment, and confirm the nodes, connections and variables match what you expect. Then import an exported JSON file into a test tenant and note which app credentials must be reconfigured, because credentials are not carried in the export. Ask your team to confirm how far back the revision index reaches in your environment, since retention is a question for your own installation rather than something this page can promise. Keep a short log of each test so you can show when a playbook last restored cleanly.

Repository history needs a policy too. Decide whether playbook commits are squashed, tagged at each approved change, or left as a full audit trail, and who may force-push or rewrite history on the branch. Review repository access when people change roles, and document who may restore a revision or import a workflow into production, and who approves that action. Build these checks into upgrade planning: before moving to a new Shuffle release, rerun the commit and restore tests on a copy and confirm the process with your change board. Check the Shuffle workflows docs for the current backup behavior before you change your procedure.

How DeployOpen scopes and delivers Shuffle backup and recovery

DeployOpen plans and delivers Shuffle revision, restore and Git backup as part of a written scope tied to your own servers and repositories. We start from the playbooks you run, the repositories you already control and the people who must be able to restore a workflow under pressure.

How we scope

  • Inventory which workflows are business-critical and who edits them today, in writing.
  • Confirm the Git host (GitHub or Azure DevOps), repository layout, branch rules and token ownership.
  • Agree in writing whether Git backup runs on save, on execution, or both, and who approves changes.

How we build

  • Configure Shuffle backup settings with repository URL, branch, username and a scoped personal access token.
  • Test a bad edit, a restore from the Revisions view and a Git push, then record the results.
  • Document the export JSON process, including credential reconfiguration steps after any import into another tenant.

How we hand over

  • Deliver a runbook covering restore steps, token rotation and who may revert a production workflow.
  • Walk your operators through a restore drill on a non-production workflow with your own team present.
  • Record the repository layout, branch policy and backup settings so your team can audit them later.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and testing are available as a retainer, scoped to your Shuffle version.
  • Confirm with us which support hours and response terms apply before signing the written scope.

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.