How to Create a QR Code in Power Automate

Cloudmersive
3 min readOct 9, 2024

--

The popularity of QR codes has exploded in the last decade. We can expect to find these barcodes everywhere from restaurant tables to interactive advertisements on our TV screens, and we can access their contents by capturing them in our smartphone cameras.

In this quick walkthrough, we’ll learn how to generate our own QR codes by building a quick flow in Power Automate. We’ll use the Cloudmersive Barcode connector to generate a QR code from a string input and return our barcode as a PNG file.

We’ll set up an instant cloud flow to demonstrate this process.

On the flow diagram page, we’ll start by adding a new action and searching for Cloudmersive connectors. We’re looking for the Cloudmersive Barcode connector with the red logo (this should be first on the list).

We’ll notice the Generate a QR code barcode as PNG file action first on our list. We’ll go ahead and select that.

Once we do, we’ll need to authorize our connection with an API key. To get a free API key, we can head to the Cloudmersive website and create a free account (this allows a limit of 800 API calls per month with zero commitments).

After our connection has been created, we’ll enter the text we’re encoding in our sole request parameter. In this example, I’ll use a link to the Cloudmersive website.

As I mentioned earlier, this action returns our QR code as a PNG file. We’ll now write the output contents to a new PNG using a Create file action.

After we save and run our flow, we’ll find our QR code in the folder we specified.

Just like that, we now have a QR code PNG we can use in documents, on web pages, and much more.

--

--

Cloudmersive

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.