8.4

way to make your PDFfile conform to the metadata without using a PReS Connect document.
See the "Create PDF" on page 219 page for more information.
l "Run Script" on page 310 tasks can also modify metadata using the Metadata API(See "Using
Scripts" on page 75).
l The "Barcode Scan" on page 210 task can add information to the existing metadata, and creates
it if there is none.
l The "Capture Fields Generator" on page 362, "Capture Fields Processor" on page 366, "Get
Capture Document" on page 380 and "Find Capture Documents" on page 375 tasks generate
their own metadata.
l The "Lookup in Microsof Excel® Documents" on page 334 enhances metadata fields with
information from an Excel spreadsheet, but does not otherwise change its structure.
Examples
l "Daily Sales Report from PDF Files" below
Daily Sales Report from PDF Files
This workflow makes heavy use of both PDFTools and Metadata, and assume that you are using PReS
Workflow version 7.3 or higher.
This single process workflow generates a daily sales report for any sales rep inside of a company which
made at least one sale. It does this by capturing the invoices generated within a specific day, putting all the
invoices for each sales rep in a single PDFand then sending it to the sales rep.It does this using several
specific metadata tasks as well as a quick lookup in an external Excel spreadsheet.
Resources
l PDF-DailySalesReport-Workflow.zip
Task Breakdown
l The initial input is the "Merge PDF Files" on page 186, which retrieves and merges all the PDFfiles
inside of the specified folder. Once a single PDFis created, the task also optimizes the PDF(to avoid
duplicating images and font definitions for each page)as well as generates a basic Metadata structure
containing a single document with one Data Page per captured PDF.
l The "Metadata Level Creation" on page 398 creates the Document level of the metadata by placing
each PDFdata file in its own Document level. It does this by detecting when the Address in the
document changes.