DocuPipe icon

DocuPipe

Automate document processing, data extraction, and classification with DocuPipe

Actions10

Classification → Classify

AI-generated

Summary

Classify a fully processed document into one or more predefined classes (categories).

Inputs

  • Document ID (required) — The ID of the document to classify. The document must have a completed status and can be found in the DocuPipe dashboard.
  • Classes (required) — One or more class IDs representing document categories (e.g. Invoice, Receipt, Contract) to assign to the document. Classes can be selected from a searchable list or specified by ID.
  • Additional Fields — Optional fields, including a boolean flag to allow multi-class classification (assign multiple classes simultaneously).

Output shape

a JSON object representing the classification result for the specified document, including the assigned class IDs

The document must be processed (status: completed) before classification. The response includes the classification outcome for the requested document and classes. The multi-class option controls whether multiple classes can be assigned. Errors during execution will be returned if continueOnFail is enabled.

Examples

Example 1: Classify an invoice document into a single class "Invoice"

Set Document ID to the ID of the fully processed document, select the "Invoice" class from the Classes list, and leave Multi-Class disabled.

Example 2: Classify a document into multiple classes (e.g. "Receipt" and "Expense")

Set Document ID to the document's ID, select multiple classes by their IDs, and enable the Multi-Class option to true.

Links

Discussion