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 / Blank PDF when using p...
Power Automate
Answered

Blank PDF when using powerautomate flow

(2) ShareShare
ReportReport
Posted on by 139

When I try to send two PDFs from two SharePoint libraries using a flow in PowerAutomate, the first PDF is attached and arrives correctly, but the second PDF arrives blank despite placing the same flow in both. What am I doing wrong?
Categories:
I have the same question (0)
  • Verified answer
    creativeopinion Profile Picture
    10,508 Moderator on at
    You are missing the double quote marks here:
     
    Hope this helps! You might be interested in these YT Tutorials:
     
     
    Save Email Attachments to SharePoint with Microsoft Power Automate
    Power Automate doesn’t have a download attachment from outlook action. In this Power Automate Video tutorial, I’ll show you how to use the Get Attachment (V2) action in combination with the Create File action to get your email attachments onto SharePoint.
    The Create File action will overwrite any files that already exist with the same name. In this tutorial, I’ll show you how you can append a timestamp to the end of a file name to prevent your file from being overwritten.

    I’ll also show you how to set up your flow so that you can trigger it manually while building it so you don’t need to wait for an email to arrive. At the end of the video I’ll show you how adding trigger conditions to your flow can prevent it from triggering if certain conditions aren’t met. Although the final flow uses the When a new email arrives in a shared mailbox (V2) trigger, you can use any of the When a new email arrives triggers for your flow. Adjust this flow to suit your needs!

    IN THIS VIDEO:
    ✓ How to Automate Downloading and Uploading Email Attachments to SharePoint
    ✓ How to Use a the Get Email (V2) action
    ✓ How to Use the Get Attachment (V2) action
    ✓ How to Create Attachment Files using the Create File Action
    ✓ How to Prevent the Create File Action from Overwriting a File
    ✓ How to use Split the Filename from its Extension
    ✓ How to Append a Timestamp to a File Name
    ✓ How to use the When a New Email Arrives in a Shared Mailbox (V2) trigger
    ✓ How to use the Convert Time Zone action
    ✓ How to add Trigger Conditions to your Flow
     
    If you still run into issues while building your flow, share screenshots of your full flow and the logic behind it. 

    Upload a screenshot of your flow in edit mode. If you are using the new designer, toggle it off and click each action to expand it.
     
    ---
     
    In this Microsoft Power Automate tutorial, I’ll cover how to create a Power Automate flow to send SharePoint list attachments in an email. This flow will check the SharePoint list to see if an item is marked as Ready to Send and has attachments. I will also cover how to combine multiple attachments to send in a single email.
     
    IN THIS VIDEO:
    ✓ How to attach a single SharePoint list attachment to an email
    ✓ How to use the Filter Query to Filter SharePoint List Items by a Single Choice Column
    ✓ How to use the Filter Array action to Filter SharePoint List Items that have an Attachment
    ✓ How to use turn on Pagination and Set a Threshold in the Get Items action
    ✓ How to us the Top Count field in the Get Items action
    ✓ How to use the Get Attachments Action
    ✓ How to avoid the Apply to Each Action
    ✓ How to use the Get File Content Action
    ✓ How to Edit an Expression
    ✓ How to use the Compose Action
    ✓ How to Get Multiple SharePoint Attachments
    ✓ How to use the Append to Array Variable Action
     
    Hope this helps!

    Consider giving me a ❤️ if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram
  • Daniel20 Profile Picture
    139 on at
    It's weird because what I did was add quotes but it didn't work, then I removed all the quotes and it did work. Thank you very much for your support.
     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 953

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 622

Last 30 days Overall leaderboard