Use Azure Logic Apps and RSS to Create a Simple Post Reminder on Social Media
In this blog post, I will show you how to create an RSS Feed/WordPress Post Reminder with Azure Logic Apps, which you can use to post to various Social Media platforms like Twitter or Facebook. If you’ve been following me on Twitter, you’ve probable seen a post like this with a reminder to check out my yesterday’s blog post: https://twitter.com/Cloudenius/status/1084815812232388613?s=20 This is all works automatically by using Azure and Azure Logic Apps. Azure Logic Apps is just pulling the RSS Feed of my blog, waiting for 24 hours and publishing a tweet on Twitter. It’s really easy to set up as most blog sites and Content Management Systems (CMS) have a built-in RSS-feed. Let me show you how to set this up.
- An Azure Subscription
- I’m using a Visual Studio Enterprise license, but a trial or Pay-As-You-Go Subscription will do just fine.
- Based on the cost history, this Azure Logic App construction seems to cost around € 0,00 and € 0,08.
- An RSS Feed from a site like WordPress
- To get the URL to your RSS feed, try yourdomain.com/feed or feed.xml. My WordPress.com blog is hosting an RSS feed on https://cloudenius.com/feed/.
- A Social Media account like Twitter
- You need to setup a connection between Azure Logic Apps and Twitter. Just follow the instructions in the blog post to get you started.
Quick Start Tutorial
- Login on the Azure Portal.
- Click on Create a resource and search the Marketplace for Logic App. Click on Logic App. A new blade will open. Click the Create button.
- Name - e.g. RSSFeedPostReminder or WordPressPostReminder
- Subscription - select your Azure subscription
- Resource Group - create a new one called “LogicApps” or use an existing.
- Location - specify the region near you. E.g. West Europe
- Keep the Log Analytics switch to Off
- Click Create. The Logic App will be provisioned for you which can take a couple of minutes.
- Click on the bell icon to see the status of the deployment in the Notifications section:
- When the Logic App has been provisioned successfully, click on it. This will open the Logic App.
- Click the Edit button. This will open the Logic Apps Designer.
- You can now add new steps to your Logic App. In my case, I have the following steps defined:
- “When a feed item is published” - When a new post is available on my blog
- “Delay” - Wait for 1 day
- “Post a tweet” - Post a tweet on Twitter and use the featured image of my blog post.
- This should look something like this:
- Be creative! Think about also posting to Facebook or Microsoft Teams. Or maybe you want to send your blog posts to newsletter subscribers. It’s all possible.
Enhance your Azure Logic Apps skills?
Check out the Azure Logic Apps website and documentation on Microsoft Docs. Thanks for reading my blog post. I hope that this post helped you by creating a new Logic App. Let me know if you have other cool steps to share!