web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Convert Word Template ...
Power Automate
Suggested Answer

Convert Word Template to PDF and Send as Email Attachment

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator
I have a flow that is creating a Word file from a Word Template, converting that Word
file to a PDF and saving the PDF file to OneDrive.

All of the above is working.

I want to then send the newly created PDF file as an attachment in an email.

A segment of my flow is attached. I am able to get the attachment to show in the
email, but even though the file name has .pdf, it is not pdf file and doesn't open
as a pdf.

What am I missing?


Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,090 Super User 2026 Season 1 on at
    I know I have done this, I just cannot remember the flow offhand. I am pretty sure that in the Convert file action you want to use the file path value from the Create file action. You don't want to manually construct the filename again. If that doesn't work, let me know and I will look for my flow.
  • Suggested answer
    Pstork1 Profile Picture
    69,129 Most Valuable Professional on at
    Make sure you are using the File Identifier and not the List ID when getting the file content. Also be sure that you are getting the PDF file content, not the .DOCX content since you create files for both.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • Phineas Profile Picture
    5,331 Moderator on at
    The 'File Identifier' does not appear as an option in the dynamic content list.
  • Phineas Profile Picture
    5,331 Moderator on at
    @David_MA

    I changed both actions, still no option for 'Identifier'.
  • Suggested answer
    Phineas Profile Picture
    5,331 Moderator on at
    Finally got it.

    I was using the Convert Word Document to PDF.

    When I switched to 'OneDrive 'Convert file (Preview)' it all worked.
  • Suggested answer
    David_MA Profile Picture
    14,090 Super User 2026 Season 1 on at
    I have found a flow with these actions. You need to use the path value from the create file action:
     
    To insert the path into the action, you will probably need to click on the + next to Add dynamic content:
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard