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 / Flow to extract userna...
Power Automate
Unanswered

Flow to extract username from the file name, then email that file to the user

(0) ShareShare
ReportReport
Posted on by 5

Hello all,

 

I am trying to send a file from a SharePoint Library to a user whose username has been extracted from the file's name.

 

So, if the file name is Tom Jones – HR details, the flow would extract the name Tom Jones and send him the file. If the file name is changed to John Smith – HR details, it will send the file to John Smith.

 

Can you give me a point in the right direction?

 

Thanks for any help you can provide.

 

Categories:
  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @CMHoch 

    Do you need to know to extract the username from the file name or do you need to know how to find their email address?  Both?

    What trigger will you be using?

     

     

  • CMHoch Profile Picture
    5 on at

    Scott,

     

    I am trying to get the username from the filename. The trigger will be when the file is put into the folder. 

     

    Thanks,

    Chris

  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @CMHoch 

    See my screen shot below and let me know if you have any questions.

     

    image.png

  • CMHoch Profile Picture
    5 on at

    Thanks, Scott. I will give it a go. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard