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 / Converting a docx to P...
Power Automate
Answered

Converting a docx to PDF and attaching to email

(0) ShareShare
ReportReport
Posted on by 49

Hello all,

 

I tried so many things and I can't figure out the issue. I'm trying to attach a PDF file that came from a docx and for some reason everytime it comes back with an error saying that the content can't be null or empty. I'm attaching to this conversation my flow so you guys understand a bit better. So basically 1- I populate a Word with stuff I get back from a Microsoft Forms. 2- I create the docx in my OneDrive so that the next step convert it to a PDF (it couldn't do it if I didn't save it in my OneDrive). 3- Convert the docx to PDF. Then I tried 3 differents approach. 1- I tried Creating a file in my sharepoint and reading the content and then pass it to the email but that gave me the error same if I create a file in my OneDrive and then reading the content and try to attach that. 

 

I verified and the PDF is created in my sharepoint and my OneDrive correctly but I can't attach it to the email.

 

Thank you for the help.

 

jfhandfield_0-1627706056843.pngjfhandfield_1-1627706087987.pngjfhandfield_2-1627706106182.png

 

Categories:
I have the same question (0)
  • Verified answer
    jfhandfield Profile Picture
    49 on at

    I found my problem. I was adding the word file and the PDF file. But for some reason the Word file that was fine a minute ago was my problem now. I had to delete my attachement and re-add it. 

     

    Problem solved. Now my Word AND my PDF is getting attached to my email

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 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard