Sunday, July 2, 2017

Writing posts in Yammer with Azure Logic Apps

Azure Logic App is an easy way to automate processes, mostly without the need of code and in a friendly way. It supports connection to different systems: SharePoint, Yammer, RSS etc. Check all connectors here.

In particular I was very interested in learning more about this Azure service, so I planned a small learning project where new blog articles must automatically be posted to Yammer.

First, I wrote down all the workflow steps:

  1. Check for new articles in the blog from Waldek Mastykarz https://blog.mastykarz.nl/.
  2. If Waldek publishes a new blog article which contains SharePoint in the title, the logic app must post a new article to my Yammer group Development. The message must contain the title of the new blog article and a link to it.

Then I started creating a new logic app.

1. Create new logic app:



2. Add RSS connector:

Once in the Logic App Designer I used a RSS connector to hourly trigger the logic app and check for new blog articles from Waldek.



3. Add condition:

Than I added an if condition which checks for the SharePoint word in the post's title. If the word is present, the Yammer post will be executed, otherwise nothing will happen.



4. Add action:

Finally, I added the Yammer connector to the if condition. It will post a new article to my Yammer group Development. The message will contain the title of the new blog article and a link to it.



After finishing all the above steps, I saved my logic app and waited until Waldek published a new blog article. Here is the result in my Yammer group.



Here you can see the finished logic app:

Summary


I've never used Azure Logic Apps before and it took me less than 5 minutes to create a new logic app which writes new posts to my Yammer group. You don't need to be a developer to use Logic Apps. In my opinion, the only skill needed is logical undestanding and you are ready to go!

Links:

- What are Logic Apps?
- Logic Apps Pricing

No comments:

Post a Comment