cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

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
Highlighted
Community Support
Community Support

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
Community Support

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.
Highlighted
Regular Visitor

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

Highlighted
Community Support
Community Support

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

Highlighted
Regular Visitor

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
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (9,465)