cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mparowski
Level: Powered On

Using Power Automate to validate metadata for a file uploaded to SharePoint and ping a user if required metadata is missing

I'm trying to build a flow that will trigger when a user uploads a file to a SharePoint library, check to see whether three required metadata fields have been populated, and ping the user to go add the info if they have not been.  But I'm being stymied by the dynamic content.  According to this blog post, the "when a file is created (properties only)" trigger should let you leverage at least some metadata for files--it's not clear whether this is basic columns only or columns I have defined--but the demo in the blog at least shows [Modified] and [Created] as fields that are available.  When I use the connector, the only dynamic content available to me is "List of Items", and I can't find any documentation on how to interact with that. 

 

Any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Using Power Automate to validate metadata for a file uploaded to SharePoint and ping a user if required metadata is missing

 

Hi @mparowski ,

 

When a file is created (properties only) will return metadata, custom column, and some basic file information.

Please try to re-create the SharePoint Online connection and create a new Flow.

 

When configuring the trigger, it is recommended to use the options in the drop-down list to configure the Site Address and Library Name.

Like:

71.PNG

 

In addition, if you want to use the Dynamic content output by the trigger to configure the fields in the action below, then you need to pay attention to whether the types match. If they do not match, there may be no options in the Dynamic content list.

Like:

72.PNG

If you quote Dynamic content when you configure expression, there may be no options available, we need to adjust according to different situations.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
mparowski
Level: Powered On

Re: Using Power Automate to validate metadata for a file uploaded to SharePoint and ping a user if required metadata is missing

So once I saved my flow I saw an error that a required column in my Library (which is a site column lookup to a list elsewhere on the site) is not supported by the flow. @#$#@*(!

 

This is one of the fields that I need to validate.

Community Support Team
Community Support Team

Re: Using Power Automate to validate metadata for a file uploaded to SharePoint and ping a user if required metadata is missing

 

Hi @mparowski ,

 

When a file is created (properties only) will return metadata, custom column, and some basic file information.

Please try to re-create the SharePoint Online connection and create a new Flow.

 

When configuring the trigger, it is recommended to use the options in the drop-down list to configure the Site Address and Library Name.

Like:

71.PNG

 

In addition, if you want to use the Dynamic content output by the trigger to configure the fields in the action below, then you need to pay attention to whether the types match. If they do not match, there may be no options in the Dynamic content list.

Like:

72.PNG

If you quote Dynamic content when you configure expression, there may be no options available, we need to adjust according to different situations.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,619)