How to pull parent folder name out of url

Copper Contributor
Hi
Complete newbie sorry.
I have lists that I wish to populate columns within with the name of the parent folder within they sit. I assume the update list item flow will work and telling it to grab the url that has the folder name within it. How do I grab just the folder name though? Is there syntax that I could use to do this within the flow? Or is there simply a whole different but better way of doing it?
Many many thanks in advance
0 Replies