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

when a SharePoint file is modified, create an item in SharePoint list

when a SharePoint file is modified, create an item in SharePoint list. My flow runs successfully but the trigger of file modification does not work.  current flow (get a file- get file property - create an item ) Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Level 10

Re: when a SharePoint file is modified, create an item in SharePoint list

Hi @ichbinbunny ,

If you wan to use the 'For a selected file' trigger, you need trigger the flow in the sharePoint library.

I have made a test on my side, please take a reference:

InkedCapture5_LI.jpg

Capture6.PNGCapture7.PNG

Best Regards,

Community Support Team _ Zhongys

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

5 REPLIES 5
Super User
Super User

Re: when a SharePoint file is modified, create an item in SharePoint list

Could you post an expanded (and redacted) screenshot of your Flow, please?

Until then as a spitball remedy, I've found that I have more reliability utilzing the SharePoint trigger, When a file is created or modified (properties only) rather than When a file is created or modified

Also, verify the data types of the columns in your SharePoint lists. Make sure you aren't trying to add multiple lines of text to single lines of text, dates to text boxes, etc. Many times when SharePoint list flows fail, the destination list's configuration and/or permissions within SharePoint are the culprit.

ichbinbunny
Level: Powered On

Re: when a SharePoint file is modified, create an item in SharePoint list

Capture.PNG

ichbinbunny
Level: Powered On

Re: when a SharePoint file is modified, create an item in SharePoint list

I will need  to run the flow from SharePoint file, otherwise, the flow does not be triggered by file modification. 

Super User
Super User

Re: when a SharePoint file is modified, create an item in SharePoint list

In your original post you said, "When a SharePoint file is modified, create an item in SharePoint list." The For a selected item trigger you have in your screenshot, is not a file-related trigger, it is a list-related trigger. From what you described in your first post, the flow would look something like this - 

CreateListItem.JPG

v-zhos-msft
Level 10

Re: when a SharePoint file is modified, create an item in SharePoint list

Hi @ichbinbunny ,

If you wan to use the 'For a selected file' trigger, you need trigger the flow in the sharePoint library.

I have made a test on my side, please take a reference:

InkedCapture5_LI.jpg

Capture6.PNGCapture7.PNG

Best Regards,

Community Support Team _ Zhongys

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 (6,691)