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,079 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started
Loading started
Loading complete