Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Emailing PDF that was converted from Word

(0) ShareShare
ReportReport
Posted on by 8

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? 

  • preynolds1 Profile Picture
    8 on at
    Re: Emailing PDF that was converted from Word

    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. 

  • Verified answer
    Ntulikid Profile Picture
    29 on at
    Re: Emailing PDF that was converted from Word

    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

  • wyattdave Profile Picture
    406 Super User 2025 Season 1 on at
    Re: Emailing PDF that was converted from Word

    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

  • preynolds1 Profile Picture
    8 on at
    Re: Emailing PDF that was converted from Word

    Hi,

     

    Does it look like I have it set up correctly? Because this didn't work email - it still emailed a blank pdf. 

    preynolds1_0-1715963397149.png

     

  • wyattdave Profile Picture
    406 Super User 2025 Season 1 on at
    Re: Emailing PDF that was converted from Word

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1