1. A method, comprising: preview scanning a document and generating a preview scan image; determining a document type based on the preview scan image; mapping the document type to a predetermined workflow; scanning the document to capture an image of the document; and executing the workflow.