cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
momureithi
Helper II
Helper II

Power Automate · Generate Outcome PDF

Hello,

 

Is it possible to generate a PDF with the approval outcome(s), for it to be attached to an email notification?

 

If yes, please guide me on how to go about it.

 

Thanks.

7 REPLIES 7
manuelstgomes
Super User
Super User

Hi @momureithi 

 

Yes, and another member of the community provided the answer to us:

https://powerusers.microsoft.com/t5/Building-Flows/Generating-pdf-with-all-fields-capture/m-p/594999

 

Can you please check if and let me know if you have any questions?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Thanks a lot, @manuelstgomes.

However, could you please guide me on how we're coming up with the File Name. It's a bit unclear to me. Thanks!

momureithi_0-1597663122977.png

HI @momureithi 

 

That's just a temporary file that is used to generate the PDF.

You save it, create the PDF based on that HTML and then delete it, so you can call it anything. 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Thanks, @manuelstgomes. Made a bit of progress.

1) The attachment bears the name "test". If I'd like to have the attachment bear the actual file name, how do I go about that?

momureithi_2-1597730567056.png

2) What exactly should be captured at this step?:

momureithi_3-1597732239598.png

Hi @momureithi 

 

To answer your questions:

1. The name is defined in the "create file." You can call it anything and add an extra step after sending the email that is to delete that temporary file. 

2. That's where you define the "columns" that you're sending. You're already doing it bellow where you map the columns the entities.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Hi @manuelstgomes

I was able to sort out the file name challenge. Many thanks!

However, based on this, the output fetches and displays all the information on my SharePoint list, whereas I just need it to capture information pertaining to a specific request. Is this caused by using the Get items action?

I have tried using the Get item action, but I am unable to move past the Create HTML table section since I have no "value" from the previous steps to input in the From field.

Please help.

momureithi_0-1597758053516.png

Hi @momureithi 

 

Indeed the "Get Items" is used to generate a table of multiple items. The "Get Item" you'll get a single value and, therefore, doesn't make much sense to create a table with one value..

 

For one value you can create an email with all values in it and send it since it's just one value.

 

Makes sense? If not I'm sorry if I'm not understanding correctly.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,388)