Document Categorizer Agent

Deprecated. This agent has been superseded by the Categorizer agent, which accepts documents and any other input type via named inputs. Existing workflows using Document Categorizer continue to work, but new workflows should use the Categorizer instead.

The Document Categorizer agent classifies documents into predefined categories based on their content. It analyzes the document text and assigns the most appropriate category from your configured list.

Use Cases

  • A document-processing workflow needs to route documents to different handling paths based on type (e.g., invoices, contracts, reports).
  • You want to auto-tag incoming documents for downstream processing.
  • You need to triage a document inbox by content type.

Inputs

InputTypeDescription
documentsDocumentsOne or more documents to categorize.
text_inputText (optional)Supplemental text to consider alongside the documents. Useful when metadata or extracted fields should influence categorization.

At least one of documents or text_input must be provided.

Outputs

OutputTypeDescription
categoryCategoryThe assigned category name.

Each category produces a branch edge on the GWE canvas.

Configurations

ParameterDescriptionDefault
CategoriesList of category definitions with names and descriptions.Required
Fallback categoryCategory assigned when no category matches with sufficient confidence. Set to "Fallback" and cannot be changed once set.Required
Qualification criteriaDeterministic rules for categories. Requires a JSON Extractor agent connected upstream.None

How to Use This Agent

Route incoming documents to the correct processing pipeline:

document_trigger -> document_categorizer
 -> [invoice] -> extract_entities -> accounting_workflow
 -> [contract] -> extract_entities -> legal_review
 -> [report] -> document_synthesis -> respond
 -> [other] -> human_collaboration

Migrating to Categorizer

The Categorizer agent replaces Document Categorizer with broader input support. To migrate:

  1. Replace the Document Categorizer node with a Categorizer node.
  2. Wire your document source to the Categorizer's named inputs.
  3. Re-create your category list and fallback category.
  4. Test the workflow to verify classification behavior is preserved.

Last updated: Jul 3, 2026