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:
| Event | Name in the app | Sent when |
|---|---|---|
UPLOAD_IN_REVIEW | In review | Nothing is processing any more, and a document waits for a person, failed or is held in the Inbox. |
UPLOAD_PROCESSED | Processed | Every document is done and every action succeeded, so the upload moved to Processed. |
UPLOAD_DUPLICATE_DETECTED | Duplicate detected | The upload matches an earlier one, and is not processed. |
UPLOAD_ALL_FILTERED | All filtered | Every 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.
| Event | Name in the app | Sent when |
|---|---|---|
TASK_IN_REVIEW | In review | The document waits for a person. |
TASK_COMPLETED | Completed | The document is completed in the step, by Send AI or by a person. |
TASK_FAILED | Failed | The document failed, for example because the file could not be read. |
TASK_FILTERED | Filtered | The File filter took the document out. |
TASK_UNLOCKED | Unlocked | A finished document was opened again for changes. |
TASK_DISCARDED | Discarded | The document was discarded. |
TASK_REPORTED | Reported | Someone reported an issue with the document. |
TASK_EXPORT_FAILED | Export failed | An 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.