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 / When a file is created...
Power Automate
Unanswered

When a file is created in SharePoint - Duplicate files problem

(0) ShareShare
ReportReport
Posted on by 2

Hi, so i got the following problem. We created a flow to extract information from PDF's files that we add to a particular folder in Sharepoint, the trigger for the operation is  "When a file is created in a folder (deprecated)" , and it works well, we obtain the info that we need with de AI builder at 96% and we storage in another list. 
But the problem comes when we accidentally upload the same file to the folder, i assume that will trigger the process anyways and we will have duplicate info, so i got some questions.

First, There is a way to avoid this to happen? I mean to protect the flow from read the same file.

 

EM25_0-1700419771936.png

 

Or, There is a property in SharePoint to prevent the duplicate upload?

The thing is that i need to create or manage a way to make an error control with duplicated files, cause the PowerAutomate flow works well but that doesn't prevent the human errors. I tried to look up for a solution but i don't find something this puntual so any idea will be useful

Categories:
I have the same question (0)
  • CedrickB Profile Picture
    Moderator on at

    Hi,

    If you have a way to link the file name or file id with the entry you have created in the list, you can try to get the list item with below using "Filter Query"

    CedrickB_0-1700479007523.png

    If you found something (the file was already processed), you can skip the rest of the flow.

  • EM25 Profile Picture
    2 on at

    Yes every file had an ID number, so where should i put that option? i mean, after the IA builder read the file and before the flows create new elements in the list of SharePoint? Cause i imagine the fix, but after the ia builder extract the info, what are the changes that i have to do? extract the info, compare the id number with the ones that already exist in the list and what is the option to realize if there is a coincidence end the flow?

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard