Human review implementation

Learn how to integrate human-in-the-loop review into your document extraction workflow using webhooks, review triggers, and Sensible's review interface.

When you extract document data at scale using Sensible, automating human-in-the-loop review can become essential to your quality-control process.

The following diagram shows how to integrate human-in-the-loop review into your application:

flowchart TD
    A[Configure review criteria] --> B[Specify webhook in extraction request]
    B --> C[Extraction completes and needs review]
    C --> D[Reviewer views and edits extraction]
    D --> E[Reviewer approves extraction]

    C -->|Push extraction| F{{Webhook}}
    F --> G[(Your System)]
    G -->|Send reviewer link| D
    E -->|Push updated extraction| H{{Webhook}}
    H --> G

    style A fill:#EDE0FA,stroke:#7B2FE0,color:#7B2FE0
    style B fill:#EDE0FA,stroke:#7B2FE0,color:#7B2FE0
    style C fill:#EDE0FA,stroke:#7B2FE0,color:#7B2FE0
    style D fill:#EDE0FA,stroke:#7B2FE0,color:#7B2FE0
    style E fill:#EDE0FA,stroke:#7B2FE0,color:#7B2FE0
    style F fill:#C8F5D8,stroke:#0F8A4B,color:#0F8A4B
    style H fill:#C8F5D8,stroke:#0F8A4B,color:#0F8A4B
    style G fill:#BEE3FA,stroke:#2B7FB8,color:#000
  1. Enable review and configure review triggers: Enable and configure extraction quality validation for a document type, for example, tax documents or pay stubs. Any extraction in the document type that doesn’t meet your quality validations triggers a human review.
  2. Specify a webhook for each document extraction: When extracting data from a document using Sensible’s API or SDK, specify a webhook destination URL that receives updates to the extraction’s review status.
  3. Notify a reviewer: When the webhook indicates that a completed extraction needs review and correction, notify a reviewer and send them a link to the review interface that they can following without having to log in to Sensible.
  4. Ingest corrected extractions: When the webhook indicates that a reviewer approved an extraction, ingest the document data into your system.

For a tutorial on implementing these steps, see How to automate human-in-the-loop review for document processing.


Did this page help you?