Integrations and API calls
How to export and import workflows as JSON
Download a workflow as a JSON file, copy it between organisations, or import a flow from a file or an AI assistant and review it before saving.
Last updated
Every workflow can be exported as one JSON file and imported again. Use it to copy a process to another organisation, keep a backup, or bring in a flow drafted by an AI assistant. Exporting and importing need the Workflow Designer or Workflow Administrator role.
Export a workflow
- Open the workflow in the designer.
- Choose Export.
- Your browser downloads a
.jsonfile named after the workflow.
The file holds what is on the canvas right now, including changes you have not saved. It contains the name, description, category, reference prefix, every step and connection, and the form. It does not contain request data, version history, approvers' decisions or integration credentials.
Import a workflow
- Open Workflows and choose Import. The dialog is titled Import a flow.
- Choose Choose a file, or paste the JSON. If you paste a whole answer from an assistant, ProcessIQ picks out the JSON in the code block.
- Read the summary of steps, connections and form fields, and any warnings.
- Choose Review and edit first to open the flow in the designer unsaved, or Save as draft now.
An imported flow always arrives as a draft. Nothing runs until you validate, simulate and publish it. Importing counts towards your plan's number of workflows. See validate and simulate.
Check these after importing
- Specific user approvers and assignees refer to a person in the original organisation. Choose people again when you import into another organisation.
- Anyone with role uses the role name. Make sure the same role exists.
- API call steps refer to an integration by name. An administrator must add an integration with that name. See connect an external system.
- Rules and form keys travel with the file. Select Validate and read the Issues tab.
Edit the JSON directly
In the designer, Edit JSON opens the whole flow as text. Change it, or paste a revised flow, and choose Apply to canvas. Nothing is stored until you choose Save. Pasted JSON that has problems still opens, with warnings, and full checks happen when you validate or save.
The file layout is documented in the workflow JSON format. The import and export module page gives an overview.