Exporting a flow
Exporting and importing a flow allows the reusability of the package and its deployment from one environment to another environment. A flow can be saved as a template, along with the dependencies used by the flow and all associated metadata, so that it can be reproduced in another Microsoft 365 tenant. This feature is useful in the absence of a version-control mechanism within a flow.
Flows can also be moved from one environment to another, using solutions, but we'll discuss solutions later in this chapter.
If you want to migrate a single flow, then the Import/Export options are useful features to employ.
Getting ready
You need to be a flow owner in order to save a flow as a template.
How to do it...
Log in to https://office.com using your Microsoft 365 account.
- Choose the flow you want to export.
Go to Export | Package (.zip) under the More link in the top right-hand corner, as shown in the following screenshot:
- Give the package a name and click Export Package...