#Flow – Export and Import Flow definitions with advanced options

Hi!

I’ve been back to Microsoft Flow and I found a lot of new features since I was “here”. Today I’ll write about Export and Import Flow Definitions.

This seems to be a simple topics, however because we are dealing with external services and different accounts, some scenarios can became quite complex. For this sample, I’ll use a flow which automatically translate emails to English if the source email is not in that language. The following image shows the services used by this Flow.

i1

The Flow process is also quite simple

I2

Let’s go back to the main Flow view and let’s start the export process from the top menu option [… More // Export // Package (zip)]

I3

Note: I need to write and maybe explain a little about the differences and relations between Microsoft Flow and Logic Apps

And now we can see the Flow Export view. We have some basic options like Name, environment and Descriptions and also some advanced options related to services and flow import actions.

I4

We can define the action to perform when someone else is importing this flow, by default will update a flow definition but we can also choose to create new flow.

I5

We can also add comments into each one of this options.

I6

The final output is a Zip file with all the definitions we have in json files.

To import the Flow we need to go to the My Flows section and select [Import]

I7

Once the zip file is uploaded, we will see each one of the options we defined in previous steps.

I8

If we want to update (overwrite) and existing Flow with this new definition, we can change the option and select one of the flows associated to this account.

I9

And, for each service used in this flow we need select or create a new service which will be used in this flow.

I10

Happy Coding!

Greetings @ Burlington

El Bruno

References

22 comments

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.