Exporting a Node-RED flow
Node-RED allows the possibilty to export flows. You can share your standard flows with collegues or make project-specific templates. You can export selected nodes, a flow at a time or all flows at once. Simply follow the instructions below.
Step-by-step instructions for exporting selected nodes
Open a Node-RED flow and select the nodes that you want to export.
2. Select export [1] in the Node-RED settings.
Â
3. You should see now list of selected nodes. When you go to the JSON tab [2] you can see flow JSON code. Then select current flow [3] tab and now You can select compact or formatted button. It affects how the code will be formatted (All in one line or code formatting). You can select Copy to clipboard [4]
or Download [5] button.
Â
5. After clicking Download it should start downloading. When you select Copy to clipboard you should be able to paste your JSON code anywhere.
The importing Node-RED flow instructions are here: Importing a Node-RED flow