Hello All,
I have got an requirement where in i have to show the dynamic QR code in the body of the email. Please advise
As of now i am able to attach the QR code in the email.
Hello @nagaraj007 ,
please in the Intialize variable, try to use this expression:
As I can see, all is correct within the remaining Actions.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
BR,
Marco
I added the same as per your instruction but the image is not displaying. I am getting the below error.
I have not used this in Power Automate yet, but I have used it in SharePoint and Nintex workflows and it works. There is an API from the website QR Code Generator (goqr.me). You format the URL with what you want to encode, and then you put it in your e-mail with an img tag, which returns your QR code.
<img src="https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=Example" width="150" height="150">
Hello @nagaraj007 ,
please follow these steps:
1. After your HTTP request, create a file in OneDrive or SharePoint:
2. Get file content:
3. Compose action in which put the following expression:
base64(outputs('Get_file_content')?['body'])
4. Initialize a string variable in which put the following string:
<img src="data:image/png;base64,@{outputs('Compose')}" width="100" height="90">
5. Finally add the variable into the email body.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
BR,
Marco
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,079
Most Valuable Professional