<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Create Flow or Folder Backup and Save It to Google Drive
Workflows
Okta Classic Engine
Okta Identity Engine
Overview

Workflows has two cards to help with backing a flow or a folder:

  • Flows – Export Flow
  • Folders – Export Folder

Both cards work similarly. The Flows - Export Flow card creates a backup for a particular flow, and the Folders - Export Folder card creates a backup folder with one or more flows.

Applies To
  • Okta Workflows
Solution

Here is an example of a flow that uses the Export Folder card to create a backup of a folder and upload it to Google Drive. The flow is scheduled to run every Monday at 9 AM.

Folder backup to Google Drive


The flow has the following steps:

  1. Run the flow on a schedule (Schedule Flow).
  2. The Folders – Export Folder card creates a backup of a selected folder.
  3. Choose a unique name for each backup. The Date & Time – Now, the card returns the current time.
  4. Using the backup file name and the current time, the Text–Concatenate card creates a unique file name.
  5. The last step is to upload the file to Google Drive using the Google Drive – Upload File card. Parent folder ID is specified in order to upload the file to a specific folder.

The flow backup looks almost identical. The only change is that the flow uses the Flows – Export Flow card to back up a particular flow.

Flow backup to Google Drive


The Google Drive folder looks like this after running the folder back up and flowing back up one time:

Google Drive folders


There are two short videos that show how these flows work:

📺 How to Create a Flow Backup and Save It to Google Drive

📺 How to Create a Folder Backup and Save It to Google Drive

Back up a flow to GitHub. Check out Versioning for Flows and Folders with GitHub template to learn more. 

Loading
How to Create Flow or Folder Backup and Save It to Google Drive