QR Code In Power Automate
Problem Statement
In the current system, there is a need to automate the process of generating and sharing a QR code whenever a new record is created in a data source (such as SharePoint, Dataverse, or SQL). The requirement is to:
- Automatically generate a unique QR code based on the newly created record’s data.
- Save the generated QR code as an image file.
- Attach the QR code image to the respective record (in the “Attachments” section).
- Send an Outlook email notification to the concerned recipient, with the QR code image attached and relevant record details included in the body of the email.
This automation aims to improve data traceability, reduce manual effort, and enable seamless sharing of important data entries using QR codes via email.
Solution:
Steps in Power Automate
🔹 Step 0: Create SharePoint List
📋 List Name:
Student Information
🧾 Columns to Create:
Column Name | Type | Example Value |
---|---|---|
Student Name | Single line of text | Ravi |
Roll No | Number | 21 |
Division | Single line of text | A |
Year | Number | 2025 |
🔹 Step 1: Trigger the Flow
- Use the trigger:
👉When an item is created
(for SharePoint)
or
👉When a row is added
(for Dataverse)

QuickChart.io QR Code API Format
QuickChart allows you to generate QR codes using a simple GET request like this:
arduinoCopyEdithttps://quickchart.io/qr?text=YourTextHere
You can dynamically pass data from your SharePoint list into this URL.
Step 3: Upload File from URL (OneDrive)
- Add action: OneDrive for Business → Upload file from URLFields:
- Source URL:
- Destination File Path:
- Overwrite:
Yes
(optional)

4. Get file content (OneDrive)
📌 Purpose:
Fetch the content (binary data) of the QR code image stored in OneDrive.
🧾 Required Inputs:
- File Path: The path to the file (e.g.,
/QR Codes/QRCode_Ravi.png
)
🟢 Output:
Returns the file content in base64 format. This is used for further actions like attachment or emailing.

5. Add attachment (SharePoint)
📌 Purpose:
Attach the QR code image to a record (item) in a SharePoint list (e.g., your Student Information list).
🧾 Required Inputs:
- Site Address: URL of your SharePoint site
- List Name: e.g.,
Student Information
- ID: The list item ID from the trigger
- File Name: e.g.,
QRCode.png
- File Content: From previous “Get file content” step
✅ Result:
The QR code image is added to the item as an attachment.

6. Send an email (V2)
📌 Purpose:
Send a notification email with the QR code image attached.
🧾 Required Inputs:
- To: Recipient’s email address
- Subject: Something like
"QR Code for Student: Ravi"
- Body: Include student details (Name, Roll No, etc.)
- Attachments:
- Name:
QRCode.png
- Content: Use output from “Get file content”
- Name:
✅ Result:
User receives an email with the student’s QR code.

7. Delete file (OneDrive)
📌 Purpose:
Clean up by deleting the QR code file from OneDrive after it has been used.
🧾 Required Inputs:
- File Path: Same path used earlier (e.g.,
/QR Codes/QRCode_Ravi.png
)
✅ Result:
The temporary QR code file is removed from OneDrive, saving space.

✅ Conclusion
Automating QR code generation using Power Automate, SharePoint, and OneDrive not only streamlines your workflow but also ensures efficiency and accuracy in data handling. With just a few simple steps, you can generate a dynamic QR code for every new record, save it automatically, attach it to SharePoint, and instantly send it via Outlook. Whether you’re managing student records, certificates, or ID systems, this end-to-end automation empowers your organization with smarter, faster processes.
Keywords: QR Code In Power Automate, QR code automation Power Automate, SharePoint QR code, OneDrive file upload Power Automate, auto email QR code, generate QR code from SharePoint list, Microsoft Flow QR code integration, QR code workflow automation, QR Code In Power Automate
✨ Thanks for reading! ✨
I hope you found this blog on the Microsoft Power Platform helpful! From Power Apps, Power Automate (Cloud & Desktop), Canvas Apps, Model-driven Apps, Power BI, Power Pages, SharePoint, Dynamics 365 (D365), Azure, and more, I cover a wide range of topics to help you harness these powerful tools. Don’t miss out on future tips, tutorials, and insights—hit that subscribe button to get the latest posts right to your inbox. 💌💬 I’d love to hear your thoughts! Drop a comment below with your questions, ideas, or feedback—let’s get the conversation started!🔗 Let’s connect and grow together!
Follow me, Ravindra Jadhav, on your favorite platforms for even more content and updates on Microsoft Power Platform and related technologies:
💼 LinkedIn – Let’s network and share ideas!
💻 GitHub – Explore my projects and code.
🐦 Twitter – Stay updated with quick tips and industry news.
📺 YouTube – Watch tutorials and deep dives on Power Platform, Power Apps, Power Automate, and more! Let’s build something amazing together with Power Platform and Azure! 🚀
SEO DATA
Auto Generate & Email QR Codes from SharePoint with Power Automate
Create QR Code on New SharePoint Item and Email It Instantly
Power Automate Flow to Generate and Send QR Code via Outlook
Dynamic QR Code Generator for SharePoint List Entries
End-to-End QR Code Automation Using Power Automate
Generate, Attach & Email QR Code in Power Automate – Full Walkthrough
Create QR Code from SharePoint Data and Email with Attachment
OneDrive + Power Automate: QR Code File Management Made Easy
How to Automatically Email a QR Code When a New Record is Added
Power Automate Tutorial: Create and Attach QR Codes in SharePoint
QR Code Generator for Student Information in SharePoint
Send QR Code to Outlook Automatically from SharePoint Item
Generate QR from SharePoint List and Save to OneDrive with Power Automate
How to Use QuickChart and Power Automate to Send QR Code Emails
Build a Smart Flow: QR Code from SharePoint to Outlook in Seconds
Real-Time QR Code Generation and Email with Microsoft Power Platform
Power Automate Guide: QR Code Creation, Storage, and Email
Send Custom QR Code with Student Info from SharePoint to Email
Trigger-Based QR Code Flow Using Power Automate + OneDrive
Streamline Record Sharing with Auto-Generated QR Code via Email
QR Code In Power Automate
QR Code In Power Automate
QR Code In Power Automate
QR Code In Power Automate
QR Code In Power Automate
QR Code In Power Automate
QR Code In Power Automate
Interesting!