Now I will be showing a demo of how we can create a flow.
As I am basically from a SharePoint background, my examples will be more about SharePoint related tasks.
Click on "My Flow" at the top and it directs you to the page where my running flows are listed. Now click on "Create from blank".
First, we have to add a trigger on which the Flow has to start.
I am selecting "SharePoint" from the options given below. This opens up a container in which all the possible triggers are present. If you wish to know what a trigger means, you can check my previous article
here. We can create triggers of our own and that will be covered later in this series.
Note
We have a link to the UserVoice section of Microsoft (at the bottom) where we can post our ideas or suggestions that Microsoft will consider for its future release of MS flow.
I am going to select "SharePoint - When an item is created" trigger. (Refer to the screenshot above)
If you are already logged in with SharePoint Online, we will be seeing the below page. Otherwise, you have to log in to your SharePoint Site.
Click inside the "Site Address"; it opens a drop down. Select "Enter custom Value". Now we can paste our site's URL.
Click on "List Name". It will list all the lists in our site. For this example, I am going to select "Products" which is my sample list here.
Click on New Step. It opens a dialog below. Click Add an action from that dialog.
Once the above action is completed, it opens a similar container which we have seen in the first step of this tutorial. This shows all the services which can be invoked for the next step. I am going to choose "Twitter" from it.
Once it is selected, I could see all the actions associated with Twitter.
Now, I am going to post a tweet on my Twitter handle. This can be done by selecting "Twitter - Post a tweet" from the options shown.
If you are not already logged in to the Twitter account, it is going to ask for your "Sign In".
Once I log in to Twitter, I give access to my MS Flow and PowerApps to do actions to my Twitter account, and our flow becomes like this.
We are given the flexibility to enter the Tweet’s text inside. Once you click on this, we see the ultimate beauty of our Microsoft Flow.
Yes, we are able to see the metadata from the previous actions or services. From this what I mean is, (in this example) we could see the metadata that contains details related to the SharePoint service that we have connected above.
Here I am going to select the “Title” column. Let’s see what is going to happen.
You can see from the above picture that it has taken the reference of the Title of the Item which I will be creating in the Products list.
For example, If there are more than one actions above the Twitter connector here, it will show all the service's metadata when clicking on the “Tweet text.”
Now save the flow and we are going to have a run now by creating an item in SharePoint.
I have created an item in the “Products” list with the title “Twitter flow test”. And as expected it posted a Tweet in Twitter Handle.
See how amazingly it handles things!!!!!
Now you can imagine how this has opened up a new spectrum of ideas to the people out there like us. We can easily connect to almost any service without writing a single piece of code.
Thus I have covered the step by step method of the famous Twitter Flow. Next, I will cover the remaining topics for today.
My Flow
This is the place where I can see all the flows created by me. On clicking “My Flows” on the ribbon, It navigates to this page.
Here, I have the option to “Edit the Flow” by clicking the “pencil’ button. I can also share it with other persons by clicking on the “people” signal next to the pencil icon. I also have the ability to turn the flow “On” or “Off”.
Share a Flow & Team Flow
What is the use of a product if we are not sharing it with others? Thus came the “Team Flow”. By clicking the “people” icon, it navigates to a page where we can add people to “My Flow” so that it becomes a “Team Flow.”
I have added my buddy Sukumar to this flow and now it has become a “Team Flow” where Sukumar is also an Owner of the flow.
This helps in a case when I leave the organization, Sukumar will be the Owner of the flow and the flow will not be in an orphan state.
This is it for day two. See you guys on day three.
Please let me know your valuable feedback in the comments section.