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

How to get a files List Name from sharepoint

I'm creating a flow when an existing excel file was modified, the file was located in sharepoint.

Could someone tell me how to get the list name of the file (I made a simlier flow and success but I forgot how to do)?

Or is there another method to process flow when a  specific file modified in sharepoint?

 

Image 2.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How to get a files List Name from sharepoint

Hi @Jerry5209,

 

What you mean is monitoring whether a specified file has been changed?

You could use the Condition to determine if it is the specified file before executing the following action.

The folder where the selected file is located.

Determines whether "File name with extension" is equal to the file name of the specified file.

Like:

11.PNG

Regards,

Barry

Community Support Team _ Barry
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

4 REPLIES 4
Highlighted
Community Support Team
Community Support Team

Re: How to get a files List Name from sharepoint

Hi @Jerry5209,

 

You could configure the trigger in the following two ways.

The first is to use When a file is created or modified as a trigger. This allows you to select the corresponding library directly from the drop-down list.

1.PNG

The second is to use When an item is created or modified as the trigger. When configuring the List Name, you need to select "Enter custom value" and then manually type the Library Name.

2.PNG

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Jerry5209
Level: Powered On

Re: How to get a files List Name from sharepoint

Hi @v-bacao-msft Barry:

 

Thanks for reply.

This Sharepoint (Library) was used for department and with a lot of layers folder and files inside.

For 1st way, it works but the mail receiver will get a lot of mails when folders or files were modified under the folder what I set in the triger.

Image 1.jpg

 

Image 2.jpg

 

For 2nd way, I have no idea how to  type the Library Name which will make it happen (send an mail when  a  specific file was modified), and the file might be lokcate at 2nd/3rd or deeper layer folder of the library.

 

BR Jerry

Community Support Team
Community Support Team

Re: How to get a files List Name from sharepoint

Hi @Jerry5209,

 

What you mean is monitoring whether a specified file has been changed?

You could use the Condition to determine if it is the specified file before executing the following action.

The folder where the selected file is located.

Determines whether "File name with extension" is equal to the file name of the specified file.

Like:

11.PNG

Regards,

Barry

Community Support Team _ Barry
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

Jerry5209
Level: Powered On

Re: How to get a files List Name from sharepoint

Hi @v-bacao-msft Barry:

 

It works well now, thank you for suggestion.

 

BR

Jerry

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 (Last 30 Days)
Users online (4,860)