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

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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard