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 / AutoFlow to attach las...
Power Automate
Unanswered

AutoFlow to attach last file uploaded in a folder within an email

(0) ShareShare
ReportReport
Posted on by 7

Hi, 

I am trying to build a flow where it could find the last uploaded file in a folder, attach that file in an email and then send it. 

i have tried to pull the file path by using the " get files (Properties only) "  and then use the path to lookup the file using " get file content " 
but this flow is not working 

Laith_Zureigat_0-1691306713851.png

 

Categories:
I have the same question (0)
  • Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    You have to select the „Site address“ (use the same as in the step before)

  • Laith_Zureigat Profile Picture
    7 on at

    will you make snap shots for an example 

  • Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    I don’t have the same Sites as you, so snapshots won’t be useful.

     

    You already provided a screenshot. The error message says that you have to provide the Site Address. Just provide the same Site Address as in your step before (get files (Properties only)).

  • Laith_Zureigat Profile Picture
    7 on at

    1000002829.png

    this is what i am trying to do but still not working 

  • Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    What is the error message?

  • Laith_Zureigat Profile Picture
    7 on at

    There is no message error, it just does not work (does not send email with attached file ) whenever i upload a file to that folder

  • Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    Ok, please send a screenshot of the flow history and the part where the mail is sent. And also a screenshot of the completely expanded mail action. Right now I don’t think the get file content is your problem even though every screenshot is about this action.

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard