{"id":110763,"date":"2017-01-27T10:58:06","date_gmt":"2017-01-27T18:58:06","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/fotw-schedule-from-sharepoint\/"},"modified":"2017-01-27T10:58:06","modified_gmt":"2017-01-27T18:58:06","slug":"fotw-schedule-from-sharepoint","status":"publish","type":"power-automate","link":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/fotw-schedule-from-sharepoint\/","title":{"rendered":"Flow of the Week: Schedule tweets from a SharePoint list"},"content":{"rendered":"
Often you want to schedule some sort of post to happen in the near future, but the service doesn’t have an auto-schedule capability. For example, you have a Twitter post that you want to make tomorrow at 8am. It’s easy to set this up with SharePoint and Microsoft Flow.<\/p>\n
The first step is to set up a SharePoint list to save your scheduled posts to. You will need to have at least two columns:<\/p>\n
The list will look something like this:<\/p>\n
<\/p>\n
Now you can set up your flow. You can use this template here<\/a>, or build it from scratch.\u00a0<\/p>\n The first step in the flow is going to be triggered when a new item is added to the SharePoint list that you just created. Select SharePoint<\/strong>\u00a0and then When a new item is created.<\/strong>\u00a0Select or paste the Site Url and the List name.<\/p>\n Next you will need to add a Delay until <\/strong>step. To find this action, select New Step<\/strong>,\u00a0Add Action\u00a0<\/strong>then Show more\u00a0<\/strong>at the top\u00a0to see all of the different types of actions Microsoft Flow supports. When you scroll down you should see Schedule<\/strong>:<\/p>\n \u00a0 Schedule has two actions — select\u00a0Delay until<\/strong>. Inside of Delay until select\u00a0Add Dynamic Content<\/strong>\u00a0and choose the column in the SharePoint list that contains the date-time you want to post at.<\/p>\n Now, find the\u00a0Post Tweet<\/strong>\u00a0step by adding an action and selecting the\u00a0Twitter<\/strong>\u00a0service. If you haven’t connected to Twitter before with Microsoft Flow you will need to sign in. Last, click in the Tweet Text field and select\u00a0Add Dynamic Content<\/strong>. This time, choose the column that contains the text of the tweet you would like to send.<\/p>\n Since you have finished setting up your flow, select\u00a0Create flow\u00a0<\/strong>at the top of the screen.<\/p>\n When you want to have a tweet be sent out, go to the SharePoint list you created and select\u00a0New Item<\/strong>. Fill in the columns for Tweet text and the date to post. As soon as you click Save <\/strong>your tweet will be scheduled.\u00a0<\/p>\n You can monitor your flow activity by selecting the (i)<\/strong> icon in the My Flows list. For example, if you accidentally scheduled a tweet that you don’t want to go out, find the\u00a0Running<\/strong>\u00a0flow run that was created when you created the SharePoint item, select it, and then click\u00a0Cancel<\/strong>\u00a0in the command bar at the top of the screen. This will prevent the tweet from being sent.<\/p>\n","protected":false},"excerpt":{"rendered":" Use the scheduling capabilities of Microsoft Flow to have schedule posts to happen in the near future. In this Flow of the Week we will show how you can save scheduled tweets to a SharePoint list and have them posted to Twitter exactly when you want. See the template here.<\/a><\/p>\n","protected":false},"author":347,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","power-automate-category":[2590],"power-automate-tag":[],"coauthors":[2913],"class_list":["post-110763","power-automate","type-power-automate","status-publish","hentry","power-automate-category-flow-of-the-week"],"yoast_head":"\n<\/p>\n
<\/p>\n
Schedule your tweets<\/h2>\n
<\/p>\n