cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
fllanes
Level: Power Up

Onedrive new file trigger repeats several times.

Hello,

I have a flow to keep track of the files added to a onedrive folder. It gets the file name and other information and stores it in an excel file in Onedrive and send an email with the link.

The problem is that once the file is stored in onedrive two or three emails are send and the same number of equal rows are added to the excell file.

 

Captura.JPG

 

Could anyone give me any idea about what is happening?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Onedrive new file trigger repeats several times.

Hi @fllanes,

 

Which trigger of OneDrive connector do you use within your flow?

Could you please show a bit more about your flow's configuration (Translate into english description)?

 

I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:5.JPG

The flow works successfully as below:6.JPG

 

7.JPG

 8.JPG

 

 

 

Please check if have upload multiple same files into your OneDrive folder once time.

 

In addition, please check if you have created another flow to copy same file or rename the file in the the folder when a new file is created in a OneDrive folder. You could upload a new file into your OneDrive folder and then check if the name of the file has been changed.

 

You could also take a try to re-create your flow based on above solution that I provided or re-choose a OneDrive folder directory within the trigger of your flow, then check if the issue is solved.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
fllanes
Level: Power Up

Re: Onedrive new file trigger repeats several times.

Thank you for your answer.

In my case OneDrive is launching the flow twice and I think it is due to the "Create shared link" step. If I remove this step from the flow it only generates one row in the excel file and one email. In my case it is important to store and send the link to the document in the email so that the user can review easily.

 

Is it possible to distinguish between a link and a real document?, the information I see is exactly the same.

Are there another ways to get the document link without resorting to "Create shared link" action?

 

Thank you 

Helpful resources

Announcements
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 Kudoed Authors
Users Online
Currently online: 317 members 6,300 guests
Please welcome our newest community members: