Mac Automator App: How to Set Folder
Try searching for and adding a Get Specified Finder Items action before your Get Folder Contents actions. This allows you to select the folder of which you would like to get and sort the contents.

Hope this helps!