Export Flow

Export all the elements of a flow as a JSON file.

You can use this function card to export multiple flows. The maximum number of flows that you can export is determined by your Workflows subscription plan. Your organization’s available export capacity is reset every 15 minutes. To perform a successful export, the number of exported flows cannot exceed the assigned limit. Otherwise, the export will fail in its entirety, and no flows will be exported.

Input

Field Definition Type Required
Flow Click Choose Flow. In the Select flow dialog, navigate to the folder that contains your flow, select the flow, and click Choose. The selected flow will be exported as a JSON file. Dialog TRUE
JSON Pretty Print? Indicates whether the JSON output for the flows in the selected folder should be structured or unstructured.
  • If True, the JSON output is structured. The JSON file will be spaced with new lines and indents.

  • If False, the JSON file will appear as an unformatted string.

Boolean FALSE
Number of Indented Spaces For structured JSON output, the value specifies the number of spaces for each indent. Range is from 1 to 8. A value of 2 is recommended for easy viewing. Number FALSE

Output

Field Definition Type
File Content JSON file that contains the exported flow. File
Filename Name of the exported flow. String
Size In bytes, size of the exported flow. Number

See Also

Export and import flows

Functions in Workflows

About the elements of Okta Workflows