web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Updating a Sharepoint ...
Power Automate
Answered

Updating a Sharepoint List from a document library

(0) ShareShare
ReportReport
Posted on by

Hello! 

 

I am trying to create a flow that is triggered when an item in a document library is created or modified. The flow needs to create a new item or update an existing item. Here is what I've tried: 

 

Flow.png

 

Each time I run the flow, a new item is created, and I am unable to update existing items. 

 

Categories:
I have the same question (0)
  • Gristy Profile Picture
    2,429 on at

    your condition would be failing.

    Copy both sides you are comapring into compose actions and observe their output for each run through the loop. Are you sure you picked the Name from trigger and the title from get items? You probally could use a filter as well on the get items and just create a item if the length is 0 as otherwise your flow will become slower and slower the more list items you end up with

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    Please try the following methods to achieve your needs.

    1. Use Filter Query to filter out the eligible items in the list.
    2. Use the length() function to determine whether such items exist. If they do not exist, create new items; if they exist, update the items.

    Image reference:

    92.PNG93.PNG

     

    Best Regards,

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard