cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Generate PDF from input

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?

1 REPLY 1
chrissahagun
Resolver II
Resolver II

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

 

Email

 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.

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (6,035)