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 / Create or Update List ...
Power Automate
Answered

Create or Update List when new file is created on SharePoint

(0) ShareShare
ReportReport
Posted on by 149

Hi Guys,

 

Very new to Power Automate firstly! I am researching how we replace our SPD wfs and have come up against a blocker with the below as to how to achieve:

Trigger - When a file is created (document library), check whether the title matches the title within a list, if so then update list item else create new list item.

 

any help would be really appreciated- thank you!

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Blurryface 

     

    Are you uploading the file under a list or document library? For document library the uploaded filename is the Title/Name? Please explain a  bit more about this?

     

    Thanks

  • Blurryface Profile Picture
    149 on at

    Hi @abm thanks for your help with this

     

    We are still using InfoPath doc library forms, so what happens is user fills out form, the form attachment and promoted fields are submitted to a document library. At this point then the aim is to then move the promoted fields (example unique title, staff no, full name) to a list.. we want to be able to check whether this user already has a record in the list and if so overwrite else create new list item. We also need to then delete the file from doc library regardless

  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Blurryface 

     

    If you looking to filter the list by title please see below.

     

    image.png

     

    Above I am using the expression length to find whether it returned any record or not.

     

    length(body('Get_items')?['value'])
     
    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard