Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

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

  • Verified answer
    v-LilyW-msft Profile Picture
    on at
    Re: Send an email when a file is created in File System

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow