web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 463 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard