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

Notifications

Announcements

Community site session details

Community site session details

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

Convert Word Template to PDF and Send as Email Attachment

(0) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2
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
    12,966 Super User 2025 Season 2 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
    68,697 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,325 Super User 2025 Season 2 on at
    The 'File Identifier' does not appear as an option in the dynamic content list.
  • Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at
    @David_MA

    I changed both actions, still no option for 'Identifier'.
  • Suggested answer
    Phineas Profile Picture
    5,325 Super User 2025 Season 2 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
    12,966 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard