Actions10
Document → Classify Document
AI-generatedSummary
Uploads a document to Veryfi for classification into one of its predefined document types.
Inputs
- binaryPropertyName (required) — The name of the binary input field containing the file to upload (PDF, JPEG, PNG, or TIFF).
- fileName — Optional custom file name to send to Veryfi. If empty, the original file name from the binary data is used.
- documentTypes — Optional custom list of document types to classify against. If empty, Veryfi uses its defaults (receipt, invoice, etc.).
Output shape
One item per input document containing the classification result.
Returns the classification result including the detected document type. The response shape follows Veryfi's classification API standard.
Examples
Example 1: Classify a PDF invoice received from a previous HTTP node.
Set Input Binary Field to 'data', leave File Name empty to use the original name, and leave Document Types empty to use defaults.
Example 2: Force a specific document type classification.
Specify 'documentTypes' as 'invoice,purchase_order' to constrain Veryfi's classification engine.