As part of our ongoing series about using the Muhimbi PDF Converter API and Server Platform in combination with Microsoft Flow, Logic Apps and PowerApps, we present a useful example which converts a blog post (basically HTML) to PDF when a new post is added to an RSS feed.
We needed a good showcase for converting HTML to PDF. It was hard to narrow it down as everything nowadays is HTML. We settled for combining our HTML conversion sample with one of Flow’s other services, the ability to trigger a Flow when a new post is added to a Blog.
Once converted, the PDF is sent to the author of the Flow, but remember that this is just an example. Other options are to archive the generated PDF somewhere in SharePoint, DropBox, OneDrive, Google Drive or other file storage system. This example uses the RSS feed for the Microsoft Flow blog, naturally any other RSS feed or web page can be used as well.
From a high level, the Flow works as follows:
The full Flow can be found below. It is automatically created by the Flow Template named Send updates from the Flow blog as a PDF by email. Although the default settings are fully functional (send a PDF copy of Flow related blog posts), you may want to change the following fields:
- RSS feed URL: The URL of the RSS feed to monitor for new posts. Try changing it to http://feeds.feedburner.com/MuhimbiBlog.
- Email recipients: The recipient of the generated PDF.
That is all there is to it. We were pleasantly surprised by the usefulness of this simple flow. New blog posts are delivered by email to your mobile device overnight. While commuting on a train with a spotty internet connection we were able to read our favourite blog posts.
For more details about using Muhimbi’s Flow actions, see the Core Concepts knowledge base article as well as all other Flow related posts.
If you have any questions about extending this template, or implementing it in your environment, then please leave a message below or contact our friendly support desk. We are here to help.
Labels: Articles, Flow, HTML, pdf, PowerApps, SharePoint Online, Workflow