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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Created pdf is empty w...
Power Automate
Unanswered

Created pdf is empty when sent by email but contains content when saved to onedrive

(0) ShareShare
ReportReport
Posted on by 3

Hi there,

 

I have got a very wired problem.

 

I builded a flow where an pdf file is saved to one drive and I want to send the file as a attachment via email.

 

The file on one drive is totally fine. It has all the content it should have.

 

But the file attached to the Email isempty, although I used the same file content. When I open the file it says that: "This file was damaged and has been repaired". 

 

I use the one drive action get file content and use the file id of the "create file action" (PDF file was created in the previous step).

Andre81_0-1714029481297.png

After that I use the outlook action "send an email V2" and use the "name" of one drive action "create file" and the "file content" of the previous "get file content"-action.

Andre81_1-1714029791635.png

 

When I check the PDF file which was sent by email, it is empty.

Categories:
I have the same question (0)
  • v-yetonggu-msft Profile Picture
    on at
    Re: Created pdf is empty when sent by email but contains content when saved to onedrive

    Hi @Andre81 ,

    This should be a problem for new designer.

    Please create a new flow, at the beginning of building the flow, switch to the classic designer.

    Best Regards,

    Sunshine Gu

  • Andre81 Profile Picture
    3 on at
    Re: Created pdf is empty when sent by email but contains content when saved to onedrive

    Thank you, that helped. But I have generated a huge flow. Do I have to rebuild no everything or is there a chance to convert the flow into classic design? 

     

    Is it better to always work with the classic design?

  • v-yetonggu-msft Profile Picture
    on at
    Re: Created pdf is empty when sent by email but contains content when saved to onedrive

    Hi @Andre81 ï¼Œ

    Unfortunately this problem can only be solved by re-creating the flow and going to the classic designer at the beginning of the flow creation.

    I have encountered this situation many times, so I recommend that you create the flow in the classic designer in the future. 

     

    Best Regards,

    Sunshine Gu

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard