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 / Send an email when a f...
Power Automate
Unanswered

Send an email when a file is created in File System

(0) ShareShare
ReportReport
Posted on by 2

Hello everyone

 

How to send files from File System only file name (D1_DMSOM004_TEMPLATE_2) no all file name send email?

 

Thanks in advance

 

Picture1.pngPicture2.png

Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    on at

    Hi @unchalem 

    You can add a judgment condition before sending the email, if the file name is 'D1_DMSOM004_TEMPLATE_2', then send the email, otherwise the email will not be sent.

    Because the display name includes the file extension, so I use contains here to judge.

    vLilyWmsft_1-1634267419632.png

    Or use the following formula to get the file name without extension,then judge whether the file name is equal to D1_DMSOM004_TEMPLATE_2.

    Expression:first(split(outputs('Get_file_metadata_using_path')?['body/DisplayName'],'.'))

    vLilyWmsft_2-1634267947382.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard