Triggered when document extraction completes.
Event Type
document.extracted
Description
This event is fired when the document extraction process completes, including classification and data extraction. Use this event to receive extracted data and update your systems with the results.
Payload Structure
The event type, always “document.extracted”
ID of the lead this document belongs to
ID of the document that was extracted
Extraction status, typically “completed”
ID of the parent action that triggered the extraction
Results from the extraction process Array of extracted data items Label/field name for the extracted value
ID of the checklist item this value was extracted for (if applicable)
Number of items successfully extracted
ISO 8601 timestamp when the event occurred
ID of the workspace this event belongs to
{
"event" : "document.extracted" ,
"leadId" : "910bb19a-2e9d-400f-8d15-9c461bb0f4aa" ,
"status" : "completed" ,
"documentId" : "ac52376a-fe68-4024-8b16-6acdcb9b3530" ,
"workspaceId" : "6048d78a-584a-4f1e-9e39-e011ca4cc48c" ,
"parentActionId" : "9d7fe2f3-ec1a-481c-b814-a0d1c8017e1f" ,
"extractionResult" : {
"items" : [
{
"label" : "Company Name" ,
"value" : "OmniAI Technology Inc." ,
"leadChecklistItemId" : "adc887d0-7238-4ce0-998d-523a22c282f4"
},
{
"label" : "Company Address" ,
"value" : "188 King St, San Francisco, CA, 94105" ,
"leadChecklistItemId" : "9930b10a-379d-4a83-be6a-9e16606c810c"
}
],
"extractedCount" : 2
}
}