Sunday, April 02, 2017

Creating my first flow using Microsoft Flow

Scenario:

Whenever I write a blog post, I would like a tweet posted on my twitter for my followers. Initially I used to do that manually and then I was using Zapier and now I wanted to move that to Microsoft Flow. Let us see how to do that.

a) Navigate to https://flow.microsoft.com/en-us/ and sign-in.

b) Click on “Create flow from blank”

AddtoTwitterFlow1

c) Choose “RSS” as new blog posts will be available on RSS newsfeed

AddtoTwitterFlow2

d) Choose “When a feed item is published” trigger.

AddtoTwitterFlow3

e) Type the blog’s RSS URL. I have typed my blog’s RSS URL - http://feeds.feedburner.com/CodeSpot and click on “Next Step”

AddtoTwitterFlow4

f) Now I need to post a tweet on twitter once I publish my blog post. Choose the “Twitter” action and “Post a tweet” trigger.

AddtoTwitterFlow5

g) Now you need to sign in to create the connection between Microsoft Flow and your Twitter account.

AddtoTwitterFlow6

h) Provide your twitter credentials and once done you can configure your tweet text with some dynamic content.

AddtoTwitterFlow7

AddtoTwitterFlow8

g) Provide a name to you flow. In this scenario I have given the name “Blog post notification to twitter”

AddtoTwitterFlow9

h) Now my first flow has been created and started running.

AddtoTwitterFlow10

i) You can see the flows under “My flows”

AddtoTwitterFlow11

Update on 03/04/2017

I have updated the above flow to include bitlink to create shortened URL of my blog post URL. After adding it my flow looks like the below.

AddtoTwitterFlow13

Now, I have posted this blog post and below is my twitter output from Flow. Great to see that I have done this without writing a single line of code.

image

Updated twitter output with bitlink

AddtoTwitterFlow18

No comments:

Post a Comment