Reference: Tags for File Naming (AWI 2)

AUTOMATED WORKFLOW INTEGRATOR > AWI User Manual & Video
In multiple areas throughout AWI you are given the opportunity to dynamically rename files based on key attributes about the order.  This includes file downloads as well as naming for MIS integration.  You may define how AWI should rename the files using tags from the list below.  In all cases a tag is an attribute surrounded by curly braces { }.
 
{order} order number
{item} order item number
{product} product name
{id} order identifier
{y} year of download
{m} month of download
{d} day of download
{h} hour of download
{min} minute of download
{x} original file extension of file
{f} original file name without extension
{t} type of file. The result will be "gen", "asset", or "upload"
{q} quantity of item being ordered
{stn} name of site that order is coming from
{i} which when added to the filename will keep the filename from being overwritten with the same name when multiple files are in an order. 

These script tags can be put together in any order/combination. Not all need to be used. Text, spaces, hyphens etc can be added.
 
For example:
  • {order}- {item}__{product}-{id}.{x} could result in a file being named "1001-1__Business Card-John Smith.pdf"
  • {product}_{id}_{Order} Item{item} could result in a file being named "Business Card_John Smith.pdf_1001 Item 1" 
In the above examples, the order number is 1001, the order item is 1, the product name is Business Card, and the identifier is John Smith.