Hello, I'm attempting to build a Power Automate Flow that can grab the filename from each row and put them into a CSV file with two columns:
| id | filename |
| 1 | first.pdf |
| 2 | second.pdf |
| 3 | third.pdf |
that way, I can pre-append my SharePoint's site URL to each id and image to return a link that we be later used in Power BI. However, I am running into some limitations of Power Automate that I do not know how to get around.
Currently, I have a flow that will get me all of my items and put them into a CSV file but I only have the option to see if there are attachments, not get the file name at all:

I tried to setup a different flow to get the attachments but that doesn't seem to work for me as I cannot select the ID with Dynamic Content:

I'm not sure where to go at this point. Any help is appreciated.