Exporting and Importing is a vital aspect we need to have in software development life cycle when it comes to re-usability of the package or deployment to an environment to another environment here I recommend to callas from one tenant to another tenant as we are working on in SharePoint online.
In this process, I will explain how we can export and import the Microsoft flow.
1. Developer should know how to create MS flow and run it from SharePint Online.
2. Create “Customers” custom list in your your site.
3. Need to create the below columns:
3.1. Title – rename to “Customer ID”
3.2. Customer Name
3.3. Customer City
3.4. Phone Number
3.5. Email ID
Note: All columns “Single line of text” type.
Go the below link:
Note: In the above url is a dynamic, as I have registered my tenant using Indian time zone and accessing from India, it displays as India.
You will be rendered the below page, select your flow as per the below navigation which you want export.
Give the name of the package.
This will be downloaded to your local “Downloads” folder:
Navigate to the below page:
Click on the “Import” button as highlighted below.
Click on the “Upload” button.
Select your downloaded flow zip file and wait for sometimes, you will see the status message at the bottom of the page.
After sometimes you will be landed to the below page:
Note: By default the “Import” button will be in disabled mode – in order to enable it we need to click on all the value of “IMPORT SETUP” column as highlighted above:
For an example, click on the “Update” from “IMPORT SETUP” column, then click on “Save” button as below and follow the same for all other “IMPORT SETUP” value.
Now the “Import” button is enabled:
Wait for sometimes – you can see the import successful message and then click on the “Open flow” link.
In the new window you can see your flow as below.
1. Select your site and “Customers” list from the “When a new item is created” and “Get Items” action.
2. Change to your email id in “Send an email action” and save the flow that’s it.
Finally we need to test the imported flow, the way we test other normal flow.