Dear community,
I am new to Power Automate and trying to build my first (desktop) flow.
Context
I have a local folder with a new subfolder created each month, named YYYYMM. The current one is 202102, the next one will be 202103.
My monthly need
- uploading the files within the new folder to a FTP directory (the input directory)
- copying the folder to an archive FTP directory

My idea
I wanted to compare the folders list and the directories list, but Power Automate says that they are not compatible and I can not work on both lists (to detect if a new folder has been created and keep its name into a variable).
Also the list gives the full path and I am interested only in the subfolder name (MMMMYY) in order to know which one I should process for copy.


Any help would be appreciated 😋