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 / Emailing files as they...
Power Automate
Unanswered

Emailing files as they are added to a Team

(0) ShareShare
ReportReport
Posted on by 15

Hello, I am new to Power Automate and I am having trouble thinking of a solution to my issue. Basically, I want to set up a flow that will send an email anytime a new file is added to a Team. This email will only consist of an attachment of the new file that was just added, and it will need to go outside of the company. 

 

Thanks in advance for any help.

Categories:
I have the same question (0)
  • 4th8 Profile Picture
    on at

    The trigger you are looking for is the SharePoint connector "When a file is created in a folder"

    It should end up looking something like this:

    4th8_0-1654623639078.png

     

  • ScottBourg Profile Picture
    15 on at

    Okay that seems to be working as intended. Thanks so much. Do you know if there is a way to only send over certain files that are added to that team based on the file name? Such as, only send the files that have "Plant Samples" in the name?

  • 4th8 Profile Picture
    on at

    Sure. Add a condition based on the file name Contains the string you are looking for 

  • ScottBourg Profile Picture
    15 on at

    Okay, apparently I am doing something wrong. Even though it is telling me the flow has completed successfully, I am not receiving an email, and I am getting this error message.

    ScottBourg_1-1654633810108.png

    The whole flow goes as follows:

    When a file is created in a folder -> Condition: x-ms-file-name-encoded Contains Plant Samples -> If yes: send email/ If no: no action.

     

    ScottBourg_2-1654634835459.png

     

    It was working until I added the condition so I know I messed something up, just not sure what.

     

     

  • ScottBourg Profile Picture
    15 on at

    Okay, apparently I am doing something wrong. Even though it is telling me the flow has completed successfully, I am not receiving an email, and I am getting this error message.

    ScottBourg_1-1654633810108.png

    The whole flow goes as follows:

    When a file is created in a folder -> Condition: x-ms-file-name-encoded Contains Plant Samples -> If yes: send email/ If no: no action.

     

    ScottBourg_2-1654634835459.png

     

    It was working until I added the condition so I know I messed something up, just not sure what.

     

     

  • Verified answer
    ScottBourg Profile Picture
    15 on at

    This issue was resolved, I needed to add an action to get the metadata of the file between the first action and the condition. Thanks for the help.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard