capabilities.work

Classify Then Extract

A 2-step recipe with Sensible. We can help you get access.

Recipe · 2 steps

Classify Then Extract

Classify a document and then asynchronously extract it using the discovered document type.

  1. Classify the document bytes synchronously to discover which document type in the account the document is most similar to.
  2. Submit an asynchronous URL extraction using the document type discovered by classification and the supplied config.
What you'll need to have ready
  • apiKey: Sensible API key used as the Bearer token.
  • documentBytes: The raw (non-encoded) document bytes to classify.
  • documentUrl: A publicly accessible or presigned URL returning the same document bytes for extraction.
  • configName: The config to use for extraction once the document type is resolved.
For your developer

Arazzo workflow sensible-so:classify-then-extract, 2 operations: classify-document-sync → provide-a-download-url-with-config. Specs on APIs.io.