Skip to main content
Community site session details

Community site session details

Session Id : 733kAQvu/wSaKMgjX+39u5
Power Automate - General Discussion
Unanswered

Blank Attachment PDF files

Like (0) ShareShare
ReportReport
Posted on 27 Sep 2024 16:23:44 by 8
Fairly new to PA, but hoping that someone has an answer for this.
I created a flow that populates a sales estimate in an Excel (online) sheet.  Then it is converts to a PDF file (OneDrive convert file).
There is a 2nd file that needs to be sent with it (depending on the selected product being quoted) , their IDs are in a small table I look up.
 
To do the following.
  1. initialize a variable (AttachmentArray),
  2. I then do a OneDrive (Get File Contents),
  3. Then append it to the array. 
  4. Next I do a Get File Contents of the PDF I created (from OneDrive)
  5. Append that to the Array
  6. Lastly, I send the email using the Array.
I can a send the document via email without problems.  Either via the Array or directly.
But when I try and send 2 documents, one is always blank.
But it also seems to be the newly created PDF file that was created in the PA flow.  The static brochure documents come through ok
 
 
  • SG-16081844-0 Profile Picture
    8 on 27 Sep 2024 at 17:51:25
    Blank Attachment PDF files
    Thanks for the response Naved
    @ Naved
    Here is the full workflow with the details of the convert to PDF.  Note the image is pretty wide.
     
  • Nived_Nambiar Profile Picture
    17,978 Super User 2025 Season 2 on 27 Sep 2024 at 17:06:01
    Blank Attachment PDF files
    Hi,
     
    I could not see any convert file action used to convert file to pdf within your flow - could you share exact screenshot of your flow.
     
     
    That would help !
     

    Thanks & Regards,
    Nived N 
    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs
     Found my answer helpful? Please consider marking it as the solution!
     Your appreciation keeps me motivated. Thank you!

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading started
Loading complete