Share via


Microsoft Flow Example Save tweets that include specific hashtag to a SharePoint list

Introduction:

Here we will see one more example on Microsoft Flow and this time we will discuss about how to use Save tweets that include specific hashtag to a SharePoint list template. By using this template we can save tweets that includes a specific hashtag to a SharePoint list in Office 365 SharePoint online site.

Microsoft Flow is a new workflow tool that enables business users to create automation to receive notifications, synchronize files, and get data between your favorite apps and services, be it on premise or in the cloud. This is a new workflow management tool for automating workflows across applications and services by connecting web services, files, and cloud-based data. We can connect with various services like SharePoint, Office 365, OneDrive, Twitter, Facebook, Dropbox, Outlook, Instagram, Outlook, Yammer, Excel, Google Calendar etc.

References:

You can read below Microsoft Flow articles:

Demo Save tweets that include specific hashtag to a SharePoint list:

Microsoft provides various builtin templates to use in Flow, which you can see it here.

To use this template login to the Microsoft Flow site and the search for "Save tweets that include specific hashtag to a SharePoint list".

https://www.enjoysharepoint.com/wp-content/uploads/2018/09/microsoft_flow_example.png

Then click on the template to use it. Then we need to authenticate both SharePoint and Twitter. Here my SharePoint is already authenticated, so I have to just update Twitter. Here it will also ask you to authorize the app.

https://www.enjoysharepoint.com/wp-content/uploads/2018/09/microsoft_flow_example_office_365.png

Once the connection is successful, it will enable to Continue button like below:

https://www.enjoysharepoint.com/wp-content/uploads/2018/09/microsoft_flow_example_SharePoint_online.png

Then in the search text, enter the hashtag text which you want to Save into the SharePoint site. In this example you can see we have added search text as #MicrosoftFlow, so if a new tweet has been added with hashtag as #MicosoftFlow, it will save to the SharePoint site.

Then we have modified the Create item action. First we have added the Site url, then choose the list where you want to save the tweet details. For this demo there is a custom list name as "MicrosoftFlowTwitterTest" which has a Title column.

Then the Title we have added some custom text and then Added the Name of the person who added the Tweet and the we added the tweet text. So the Action looks like below:

https://www.enjoysharepoint.com/wp-content/uploads/2018/09/microsoft_flow_example_Save_tweets_sharepoint_online.png

Then click on the Create flow button which will create the flow.

https://www.enjoysharepoint.com/wp-content/uploads/2018/09/microsoft_flow_example_Save_tweets_specific_hashtag_sharepoint_online-1.png

Then let us add a tweet with the mention hashtag like below:

https://www.enjoysharepoint.com/wp-content/uploads/2018/09/Save_tweets_sharepoint_list_microsoft_flow.png

Now if you will go back to the SharePoint list you can see the tweet has been saved inside the SharePoint list like below:

https://www.enjoysharepoint.com/wp-content/uploads/2018/09/microsoft_flow_example_Save_tweets_specific_hashtag_sharepoint_online-1.png

Conclusion:

Here we have see how we can use Save tweets that include specific hashtag to a SharePoint list Microsoft flow template.