Skip to main content

Get document result

Read a document's status and what Document Automation read from it, by its id: fields, tables (such as line items) and each field's confidence.

Command in the Document Automation toolkit · id ooa.documents/get_result · 1 input (1 required), 12 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Document IDStringYesThe document id that Send document to process gave (or a document_id input given by a Start-a-bot delivery).

Outputs​

OutputTypeWhat it is
statusStringqueued or processing (still being read), success (read and checked), validation (waits for a reviewer), validated (approved), invalid (rejected) or failed.
doneBooleanTrue when the document is no longer being read.
needs_reviewBooleanTrue while it waits for a person's review.
reviewedBooleanTrue when a person approved or rejected it.
fieldsDictionaryThe fields read, by name (after review: the corrected values).
tablesDictionaryTable fields (such as line items), by name, each a Data table.
confidenceDictionaryHow sure the reading was for each field, from 0 to 1.
document_typeStringThe document type it was classified as.
file_nameStringThe document's file name.
reviewed_byStringWho approved or rejected it, when reviewed.
errorStringWhy reading failed, when it failed.
partsListWhen the file held several documents (a process that recognises and splits): each one's document_id, status, doc_type and file_name. Empty otherwise.