Skip to main content
The classify node sends each document page to a specific output branch based on its content. Use it to sort incoming documents by type, topic, or any other classification criteria before applying downstream processing.

Configuration

FieldTypeRequiredDescription
ModeselectYesClassification method: Rules or AI
Routing Rulesrule editorWhen mode is RulesConditions that determine which output branch each page follows
Target Pipespipe pickerWhen mode is AIPipes to match pages against. Only pipes with a Forward Trigger are selectable
Confidence ThresholdnumberWhen mode is AIMinimum similarity score (0–1). Pages below it route to the other output. Defaults to 0.7
Force OCRtoggleNoForces OCR processing on the document before classification, even when it contains selectable text

Modes

Rules

Define conditions that match page content or page numbers. Each rule maps to a different output edge. Rules accept Contains text, Not contains text, and Page numbers.

AI

Uses AI embedding similarity to match pages against reference documents in your target pipes. Select one or more Target Pipes. Each target pipe must have a Forward Trigger with reference documents so DocPipe can compare incoming pages against it. Set the Confidence Threshold to control how strict the match must be. Pages with a similarity score at or above the threshold are forwarded to the matching pipe; pages below fall through to the other output so you can handle them separately.

Inputs and outputs

Allowed inputs: Trigger nodes, route, parse, review. Output: Pages routed to the matching output edge, or to the other edge if no classification matched.

Credits

See credits for pricing. AI mode costs 0.2 credits per page for each reference document in the target pipes.

Conditional routing guide

Set up conditional document routing with examples

Forward trigger

Configure reference documents for AI classification

Route action

Filter or group documents after classification

Extract action

Extract data after classifying by document type