> This page is for Data Protection.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.eon.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.eon.io/_mcp/server.

# Back Up Okta Workflows

Once Okta Workflows backup is set up, every backup of your Okta org also keeps a copy of your Okta Workflows folders, flows, and tables.
That lets you bring back a flow or folder that someone deleted or broke from any snapshot, instead of rebuilding it in Okta Workflows by hand.

Okta has no API for Okta Workflows, so Eon uses an export flow: a ready-made flow that you download from Eon and import into Okta Workflows, with an Export Folder card and an Upload card for each top-level folder you back up.
On each Okta backup, Eon calls the flow's invoke URL once, as the Eon backup app over OAuth 2.0, and sends short-lived upload URLs.
The flow exports each folder and uploads the export to staging storage, and Eon stores the exports with the snapshot.
For a diagram of the flow, see [Backing up][Okta Support backing up] in Okta Support.

This article explains how to set up Okta Workflows backup on an Okta org that's already connected to Eon, how to extend or update it, and how to stop it.
You work in the Eon console and in the Okta Workflows console.

## Set up Okta Workflows backup

In this procedure, you'll download the export flow from Eon, import and set it up in Okta Workflows, and save its invoke URL in Eon.

Each backup includes the folders the export flow exports, up to 25 top-level folders, with their nested folders, flows, and tables.
Tables are backed up with their columns but without their rows, and connection credentials aren't backed up.

You can set up Okta Workflows backup from the

SaaS applications

page in the Eon console.

#### Before you start

Before you set up Okta Workflows backup, make sure:

* The Okta org is connected to Eon as a source org.
  For details, see [Okta: Connect Source Orgs].

* You can sign in to Okta Workflows as an Okta Super Administrator.
  Okta lets only a Super Administrator choose which apps can call a flow.

* Your org's Okta Workflows lets you secure an API endpoint with OAuth 2.0, and its plan has export capacity for the export flow, which runs once for each backup.

* The Eon backup app has the `okta.workflows.invoke.manage` scope.
  The Okta app setup in [Okta: Connect Source Orgs] grants it.
  If the app doesn't have it, grant it from the **Okta app permissions** section of the **Edit Okta setup** page.

#### Open the Okta Workflows backup setup

Start from one of these places:

* **While connecting the org**: In the Connect Okta wizard, go to the **Okta Workflows** step and turn on **Back up Okta Workflows**.
  For the wizard, see [Okta: Connect Source Orgs].
  In the wizard, you set the folder count, download the export flow, and paste the invoke URL on this one step.

* **For a connected org**: On the SaaS applications page, find the Okta org, and in its row select  (Actions) → **Edit setup**.
  The **Edit Okta setup** page opens.
  Find the **Okta Workflows backup** section, which says that Okta Workflows backup isn't set up and shows the steps of this procedure.

#### Download the export flow

1. In **Folders to back up**, enter the number of top-level folders to back up, from 1 to 25.
   Each folder is backed up with its nested folders.

2. Select **Download export flow**.
   Eon downloads the export flow file `eon-okta-workflows-export-flow.flopack`, which holds a flow named **Eon Backup - Export** with one export for each folder.

#### Import and set up the export flow in Okta Workflows

1. In the Okta Workflows console, open the folder to keep the export flow in, and select **Actions** → **Import**.
   The **Import to folder** dialog opens.
   Add the export flow file you downloaded from Eon.

2. Okta asks you to replace each folder the export flow backs up.
   For each one, select **Replace Folder**, choose a top-level folder to back up, and select **Choose**.
   Then select **OK**.

3. Open the imported flow, **Eon Backup - Export**.
   On its **API Endpoint** card, open **Endpoint settings**, select **Secure with OAuth 2.0**, and allow the Eon backup app.

4. Turn the flow on.
   Then copy the **Invoke URL** from the API Endpoint card's **Endpoint settings**.

For details about importing flows, see [Okta's export and import page].
For details about securing a flow with OAuth 2.0, see [Okta's API endpoint OAuth page].

#### Save the invoke URL in Eon

1. In Eon, in the **Okta Workflows** step of the wizard or the **Okta Workflows backup** section of the **Edit Okta setup** page, paste the invoke URL into **Export flow invoke URL**.

2. Save it.
   On the **Edit Okta setup** page, select **Save export flow**, and Eon shows **Okta Workflows backup saved.**
   Then select **Done** to close the page.
   In the wizard, select **Review**, and then **Connect**.

The next backup of the Okta org includes the folders the export flow exports.
If a problem with Okta Workflows prevents their backup, the backup job completes as Partial and the rest of the org is still backed up.
For the messages and fixes, see [Troubleshooting](#troubleshooting).

## Add a folder to the backup

In this procedure, you'll back up another top-level folder.
Eon backs up only the top-level folders the export flow exports, so you replace the export flow with one that exports one more folder.

You can replace the export flow from the

SaaS applications

page in the Eon console.

#### Before you start

Before you add a folder, make sure:

* You can sign in to Okta Workflows as an Okta Super Administrator.

#### Download a new export flow

1. In the row of the Okta org, select  (Actions) → **Edit setup**.

2. In the **Okta Workflows backup** section, select **Replace export flow**.
   When Okta Workflows backup is on, the section reads "On: backups call the export flow on `<host>` with OAuth 2.0."
   The steps to set up the export flow show.

3. In **Folders to back up**, enter the number of top-level folders the export flow exports plus one, and select **Download export flow**.

#### Import and set up the new export flow in Okta Workflows

1. In the Okta Workflows console, open the folder to keep the export flow in, and select **Actions** → **Import**.
   The **Import to folder** dialog opens.
   Add the export flow file you downloaded from Eon.

2. Okta asks you to replace each folder the export flow backs up.
   For each one, select **Replace Folder**, choose a top-level folder to back up, and select **Choose**.
   Then select **OK**.

3. Open the imported flow, **Eon Backup - Export**.
   On its **API Endpoint** card, open **Endpoint settings**, select **Secure with OAuth 2.0**, and allow the Eon backup app.

4. Turn the flow on.
   Then copy the **Invoke URL** from the API Endpoint card's **Endpoint settings**.

#### Save the invoke URL in Eon

1. If the **Edit Okta setup** page isn't open, open it from the row of the Okta org, and select **Replace export flow**.

2. Paste the invoke URL into **Export flow invoke URL**.

3. Select **Save export flow**.
   Eon shows **Okta Workflows backup saved.**
   To leave the current export flow in place instead, select **Cancel**.

4. Select **Done** to close the page.

The next backup calls the new export flow.
Eon calls only the export flow whose invoke URL you saved.
Turn off the previous export flow in Okta Workflows when you no longer need it.

## Save a new invoke URL

In this procedure, you'll save the new invoke URL of the export flow after you regenerate its alias in Okta Workflows, which changes the invoke URL.

You can save the invoke URL from the

SaaS applications

page in the Eon console.

1. In the Okta Workflows console, open the export flow, **Eon Backup - Export**.
   On its **API Endpoint** card, open **Endpoint settings** and copy the **Invoke URL**.

2. In the Eon console, in the row of the Okta org, select  (Actions) → **Edit setup**.

3. In the **Okta Workflows backup** section, select **Replace export flow**.

4. Paste the invoke URL into **Export flow invoke URL**.

5. Select **Save export flow**.
   Eon shows **Okta Workflows backup saved.**

6. Select **Done** to close the page.

The next backup calls the export flow with the new invoke URL.

## Stop backing up Okta Workflows

In this procedure, you'll stop including Okta Workflows in backups of an Okta org.
The rest of the org keeps being backed up.

You can stop backing up Okta Workflows from the

SaaS applications

page in the Eon console.

1. In the row of the Okta org, select  (Actions) → **Edit setup**.

2. In the **Okta Workflows backup** section of the **Edit Okta setup** page, select **Stop backing up Workflows**.
   Eon shows **Okta Workflows backup stopped.**

3. Select **Done** to close the page.

Later backups of the Okta org don't include Okta Workflows.
To start again, follow [Set up Okta Workflows backup](#set-up-okta-workflows-backup).

## Troubleshooting

A problem with Okta Workflows never fails the backup of the rest of the org.
The backup job completes as Partial and reports one of these messages, each of which ends with `The rest of the Okta organization was backed up.`

Each backup calls the export flow once, which uses the export capacity of your Okta Workflows plan.
A restore doesn't call it.
Eon doesn't retry a failed call to the export flow until the next backup.

#### Eon failed to prepare or read the folder exports

#### The issue

The backup job reports `Okta Workflows weren't backed up because Eon failed to prepare or read the folder exports for this backup.`

#### The fix

Run the backup again.

#### The invoke URL isn't a flow of this org's Okta Workflows

#### The issue

The backup job reports `Okta Workflows weren't backed up because the invoke URL saved in Eon isn't a flow of this Okta organization's Workflows. Save the export flow's invoke URL in Eon again.`

#### The fix

Copy the invoke URL from the **Endpoint settings** of the export flow's **API Endpoint** card in the Okta Workflows console of this Okta org.
Then save it with [Save a new invoke URL](#save-a-new-invoke-url).

#### The Eon backup app isn't granted the Okta Workflows scope

#### The issue

The backup job reports `Okta Workflows weren't backed up because the Eon backup app isn't granted okta.workflows.invoke.manage, which Eon needs to call the export flow. Grant the scope on the app's Okta API Scopes tab; the Okta setup script and Terraform module grant it.`

#### The fix

In Okta, on the **Okta API Scopes** tab of the Eon backup app, select **Grant** next to `okta.workflows.invoke.manage`.
Alternatively, in the Eon console, open the **Okta app permissions** section of the **Edit Okta setup** page, which runs the Okta app setup again for the existing app.
Then run the backup again.

#### Okta Workflows didn't accept the call to the export flow

#### The issue

The backup job reports `Okta Workflows weren't backed up because Okta Workflows didn't accept the call to the export flow. Make sure the invoke URL saved in Eon is current, the flow is on, and its API endpoint is secured with OAuth 2.0 allowing the Eon backup app.`

#### The fix

In the Okta Workflows console, check that the export flow is on, and that its **API Endpoint** card is secured with OAuth 2.0 and allows the Eon backup app.
Check that the invoke URL saved in Eon is the flow's current one, because regenerating the flow's alias changes it.
If it's not, save the current one with [Save a new invoke URL](#save-a-new-invoke-url).

#### Okta rate-limited the export

#### The issue

The backup job reports `Okta Workflows weren't backed up because Okta rate-limited the export flow's folder export: the Workflows plan's export capacity was used up.`

#### The fix

Wait, and run the backup again later, or let the next scheduled backup run.
Each backup uses the export capacity of your Okta Workflows plan.

#### The call to the export flow failed or didn't finish in time

#### The issue

The backup job reports `Okta Workflows weren't backed up because the call to the export flow failed or didn't finish in time.`

#### The fix

In the Okta Workflows console, check that the export flow is on and look at its execution history for errors.
Then run the backup again, or let the next scheduled backup run.

#### The export flow uploaded no folder export

#### The issue

The backup job reports `Okta Workflows weren't backed up because the export flow ran but uploaded no folder export. Make sure each Export Folder card has a folder and its Upload card sends the export with PUT to the URL in its upload field.`

#### The fix

In the Okta Workflows console, open the export flow.
For each folder, check that its **Export Folder** card has a folder chosen, and that its **Upload** card has **Method** set to `PUT` and sends the export to the URL in its upload field.
Alternatively, download a new export flow and save it with [Add a folder to the backup](#add-a-folder-to-the-backup).

#### The folder exports are larger than a backup takes

#### The issue

The backup job reports `Okta Workflows weren't backed up because the folder exports are larger than a backup takes: 32 MB for each folder and 128 MB together.`

#### The fix

Reduce the size of the exported folders in Okta Workflows, for example by moving flows to a top-level folder that the export flow doesn't export.
Each folder export can be up to 32 MB, and all exports of a backup together up to 128 MB.
To change which folders the export flow exports, see [Add a folder to the backup](#add-a-folder-to-the-backup).

#### A file the export flow uploaded isn't a folder export

#### The issue

The backup job reports `Okta Workflows weren't backed up because a file the export flow uploaded isn't a Workflows folder export. Make sure each Upload card sends the File Content of its Export Folder card.`

#### The fix

In the Okta Workflows console, open the export flow.
For each folder, check that the **File Content** of its **Export Folder** card is mapped to the **File Content** of its **Upload** card.

#### Eon failed to resolve where to stage the folder exports

#### The issue

The backup job reports `Okta Workflows weren't backed up because Eon failed to resolve where to stage the folder exports for this backup.`

#### The fix

Run the backup again.

#### The account keeps backup intermediates in its own staging bucket

#### The issue

The backup job reports `Okta Workflows weren't backed up because the account keeps backup intermediates in its own staging bucket, which Okta Workflows backup doesn't support.`

#### The fix

Okta Workflows backup isn't available for an account that keeps backup intermediates in its own staging bucket.
The rest of the Okta org is still backed up.

## See also

* [Okta Support]
* [Okta: Connect Source Orgs]
* [Okta: Connect Restore Orgs]
* [Restore Okta Workflows]
* [About Okta Backup Policies]
* [Okta's API endpoint OAuth page]

[Okta Support]: /data-protection/saas-workloads/okta/okta

[Okta Support backing up]: /data-protection/saas-workloads/okta/okta#backing-up

[Okta: Connect Source Orgs]: /data-protection/saas-workloads/okta/connections/connect-source-orgs

[Okta: Connect Restore Orgs]: /data-protection/saas-workloads/okta/connections/connect-restore-orgs

[Restore Okta Workflows]: /data-protection/restoring/restore-saas-applications/restore-okta/restore-okta-workflows

[About Okta Backup Policies]: /data-protection/backup-and-protection/backup-configuration/backup-policies/okta/about-okta-backup-policies

[Okta's API endpoint OAuth page]: https://help.okta.com/wf/en-us/content/topics/workflows/execute/flow-api-endpoint-oauth.htm

[Okta's export and import page]: https://help.okta.com/wf/en-us/Content/Topics/Workflows/build/export-import-flows.htm