Hi All,
I want to generate PDF from the input. I am taking input in JSON format from the portal and I want to send an email with the input data in attached PDF.
How can I achieve that?
Parsing JSON
Here's a quick video that got me started:
(153) Power Automate Flow How to: Parse JSON - YouTube
(153) Power Automate - Parse JSON - How to get the Schema (Easy Method) - YouTube
From there you should see that in your next steps, you can easily take dynamic content from the Parse JSON step.
For the file attachment:
1. Maintain a string variable where you'll compose your document using HTML tags.
2. There are Create a file steps under OneDrive / Sharepoint / etc. Put that string variable into the file contents of the create a file step.
3. There are "Convert HTML to PDF" steps. Most of them are premium, or need to register/sign in to 3rd party.
4. Save that file somewhere. Maybe Sharepoint
1. Maintain a string variable where you'll compose your document using HTML tags.
2. There are "Send an Email" steps under Outlook. Put that string variable in the message body.
3. Add the attachment in the "Send an Email" step.
User | Count |
---|---|
95 | |
46 | |
21 | |
18 | |
17 |
User | Count |
---|---|
141 | |
50 | |
43 | |
40 | |
29 |