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 / I want to create a flo...
Power Automate
Unanswered

I want to create a flow to write metadata based on file name

(0) ShareShare
ReportReport
Posted on by 4

I want to create a flow so when someone saves a file in SharePoint (or rename it) then the file metadata will automatically update based on certain rules

 

For example:

Let's say the file name is "Project_DSR_Rev01"

Since the file has the word "DSR" this will trigger Microsoft Flow rule and update the metadata for the file name

 

 

Hope this makes sense if not please ask me questions

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @moeazazi ,

     

    Do you have a column of type Managed Metadata and you want to update the column value when the file name contains certain word?

     

    Please create a flow likes below. With the trigger When a file is created in a folder, add a Condition to check if the File name contains DSR, if yes, update file properties.

    1.PNG

     

    Best regards,

    Mabel

     

  • moeazazi Profile Picture
    4 on at

    I attached a picture to show the column inside the folder

     

    When I upload a file, I want to create a flow that triggers when a file name contains keywords like "DSR" or "RFI" or whatever. When the system identifies that it will fill the metadata such as Deliverable Name and Functional area (see attached photo)

     

    So if the file name is DSR, it will automatically fill the deliverable name with Daily Status Report (DSR) and functional area with Engineering. If the file name is RFI it will fill the deliverable name with Request For Information (RFI) and function area with Documentation and Records

     

    The purpose of the flow is to fill the deliverable name and functional area for 100-150 keywords like the examples above to avoid writing the metadata it manually.

     

    Also, Is it possible to input the trigger keyword in a spreadsheet and the flow condition will read the keyword from that source instead of typing DSR, RFI, etc  

     

    Thanks for your support, it's really appreciated 

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 253 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 172 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 134 Super User 2026 Season 2

Last 30 days Overall leaderboard