The advanced, utilities workflow component, From attachment to file copies an attachment in the workflow into a file. The parameters are:
Attachment name
The name of the attachment in the workflow.
File path
The output file, where the attachment is to be copied to.