
File Path – the variable that will contain the path to where the zip file will be saved as.
Note: the variable will need to be set prior to this point in the script.

Choose Yes if the zip file will be password protected.
Password – the variable that will contain the password.
Note: the password variable will need to be set prior to this point in the script.

Local Directory – the variable that will contain the local directory path that will be added to the final zip file. Note: the variable will need to be set prior to this point in the script.
Keeping the Folder Structure – click Yes to maintain folders and the structure of child folders. Click No will just add all content to the zip file without any structure.
Created Script

New Zip File – returns a new ZipItem.
Add Directory – adds the content of a directory to the ZipItem

Create Zip File – adds the contents and generates the zip file.
Close Zip – closes the ZipItem.