Flow source
The Flow source is the source code of a Flow, which is compiled and deployed when a Flow is activated. Flows are stored as JSON objects which contain all of the data about the Flow, including the full code for all Step templates downloaded or created, the configuration and placement of all Steps on the Canvas (regardless of whether they are connected to the main logic tree), all reporting tags, metadata, etc. This means that you can save a Flow to an external repository or share it with colleagues in full outside of the Designer. It also makes it possible to make changes on the code level.
Access Flow source code
To access the Flow source code:
- Open the Flow in Edit mode.
- Open the Advanced section in the General tab.
- Select Flow source.
This will open a code block that you can edit in-browser or copy in full.
Download Flow source code
To download the Flow source code, click Download Flow source from the Advanced dropdown in the General tab.
The Flow source code will be downloaded as a JSON file.
Import/reuse Flow source code
To import/reuse an updated or new Flow source to the Designer:
- Copy the contents of its JSON file.
- Create/open a new Flow.
- Open its Flow source window.
- Delete what is already there.
- Paste the desired source code.
- Click Save Changes.
The imported Flow structure will appear on the Canvas.