Hi everyone,
I am trying to create a flow that follow these actions/steps:
1. Forms - when new response is submitted (trigger)
2. Forms - get response details
3. Excel - add a row into a table
4. Word - populate a microsoft word template
5. One Drive - create file
6. One Drive - convert file (to PDF)
7. One Drive - create file (the PDF)
8. Outlook 365 - Send an email (with attachment from step 6 - the converted PDF file)
Everything works great, except the PDF attachment that is sent in the email is corrupted/blank. However, the one saved in the One Drive folder is filled out correctly and opens perfectly fine in PDF.
I feel like the email needs to include the created file from step 7 but i'm not seeing how to attach that to the email and everything online is pointing me to use the content from the convert file in step 6.
Any ideas?
Thank you!
I think the issue was the "new designer" as soon as I toggled to the classic mode, doing what I did originally started working.
Hi
I hope this will help:
In step 7, instead of having a one drive - create file, use a one drive - get file content using path (the File Path should be similar to that in step 5).
On the outlook send email(V2), the attachment content should have the dynamic content which is File Content from the get file content using path.
This should work,
If the pdf is still corrupted, switch power automate to classic mode. This can be achieved by toggling the switch on the top right (right side of new designer) and retry it again
---------------------------------------------------
If this helped solve your question please mark it as the solution
That's strange if it is completed correctly in the OneDrive file but not in Outlook. Try adding a delay of a few seconds incase it is getting content before its is saved correctly (long shot but worth a try).
>--------------------------------------------
If this helped solve your question please mark it as the solution.
I also do a weekly Power Platform blog at https://dev.to/wyattdave
Hi,
Does it look like I have it set up correctly? Because this didn't work email - it still emailed a blank pdf.
Hi @preynolds1 ,
try using the Outlook get file content on the new file you created and pass that into the attachment
>--------------------------------------------
If this helped solve your question please mark it as the solution.
I also do a weekly Power Platform blog at https://dev.to/wyattdave
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1