
The Loop Folder Contents Action builder individually loops through the files within a folder.

Account Name – the variable that will hold the Amazon Storage account name.

Remote Directory – the variable that will hold the name of the Folder/Bucket.
Created Script

Get AmazonS3 Storage – retrieves the Amazon Account and stores it into a variable.
Get Folder by Name – retrieves a Amazon Folder and stores it into a variable.

Get Folder Contents – retrieves the contents of a AmazonFolder and stores it into a AmazonFileCollection.
Loop Folder Contents – individually loops through the AmazonFileCollection. Sets the current File to a variable called CurrentItem.
Get File Name – retrieves the file name of the current file within the loop.