Check out the link in my answer above - it’s a workflow that collects paths of all files in a hierarchical folder structure.
If your folder structure is not too deep (less than 10 levels), you can collect all files and their attributes using the “List files” action in the recursive mode (see below).