Skip to main content

Events

Events are the moments a notification channel can report, for a whole upload or for one document in one step.

Upload updates​

Upload updates are about a whole upload:

EventName in the appSent when
UPLOAD_IN_REVIEWIn reviewNothing is processing any more, and a document waits for a person, failed or is held in the Inbox.
UPLOAD_PROCESSEDProcessedEvery document is done and every action succeeded, so the upload moved to Processed.
UPLOAD_DUPLICATE_DETECTEDDuplicate detectedThe upload matches an earlier one, and is not processed.
UPLOAD_ALL_FILTEREDAll filteredEvery file of the upload was filtered out.

Task updates​

Task updates are about one document in one step: Split, Segmentation, Router or a task. The API calls such a document a task.

EventName in the appSent when
TASK_IN_REVIEWIn reviewThe document waits for a person.
TASK_COMPLETEDCompletedThe document is completed in the step, by Send AI or by a person.
TASK_FAILEDFailedThe document failed, for example because the file could not be read.
TASK_FILTEREDFilteredThe File filter took the document out.
TASK_UNLOCKEDUnlockedA finished document was opened again for changes.
TASK_DISCARDEDDiscardedThe document was discarded.
TASK_REPORTEDReportedSomeone reported an issue with the document.
TASK_EXPORT_FAILEDExport failedAn action of the document failed, or its export email bounced.

Order and duplicates​

Events can arrive in a different order than they happened. An upload event can arrive before the document event that caused it. In rare cases an event arrives twice, so treat a repeated event, upload and document as the same message.