Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

Send Email with Attachment from Doc Library using Button

Like (0) ShareShare
ReportReport
Posted on 30 Apr 2020 13:50:07 by 3

Using a gallery connected to a SharePoint document library, I would like to create a button that allows the document selected to be emailed to the user when clicked. Should be simple right? Click the button and the document is emailed to you. My flow is NOT working. I have a feeling the issue is my flow doesn't know "what's been selected" so it is not actually grabbing any information. Any help is appreciated.

 

This isThis isq2.JPGq3.JPG

  • Verified answer
    Pstork1 Profile Picture
    66,340 Most Valuable Professional on 30 Apr 2020 at 13:59:57
    Re: Send Email with Attachment from Doc Library using Button

    I don't see anything in your flow where you are passing the ID of the selected file into the flow.  You need that so you can retrieve the correct file.  So in the Get File Properties action replace ID with Ask in PowerApps from the dynamic content dialog.  Then pass the ID of the selected file as a parameter in the run command for the button.

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 202 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 200 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 177

Overall leaderboard
Loading started
Loading started