Choose the right solution design for your current processes.
ID | Workflow name | Q1. Exceptions | Q2. Validation | Explanation |
---|---|---|---|---|
W1 | No validation | No | No | Upload → get JSON. No rules, no human in the loop. |
W2 | Client-side validation | No | No | Same as W1, however, customer applies rules once data has been exported. |
W3 | Affinda validation logic | No | Yes - rules live in Affinda | Affinda validates automatically; no human review. |
W4 | Exception handling in Affinda | Yes | No | Humans review every doc in Affinda UI; no automated rules. |
W5 | Client-side validation with exception handling in Affinda | Yes | Yes - rules owned by client | Your rules, pushed back as warnings; flagged docs reviewed in Affinda. |
W6 | Validation logic & exception handling in Affinda | Yes | Yes - rules live in Affinda | Affinda validates; flagged docs reviewed in Affinda for final confirmation. |
W1
No validation
POST /document
webhook: document.parse.completed
GET /document
W2
Client-side validation
POST /document
webhook: document.parse.completed
GET /document
W3
Affinda validation logic
POST /document
webhook: document.validate.completed
GET /document
GET /allvalidationresults
to get results for each field, else use isConfirmed
from the document response to determine if the document needs exception handlingW4
Exception handling in Affinda
POST /document
webhook: document.validate.completed
GET /document
W5
Client-side validation with exception handling in Affinda
POST /document
webhook: document.parse.completed
GET /document
PATCH / document (
add warningMessages
) or POST /validation-results/batch-create-validation-results
(see ‘Updating results in Affinda’ above)webhook: document.validate.completed
GET /document
PATCH /document
(isConfirmed
set to true)W6
Validation logic & exception handling in Affinda
POST /document
webhook: document.validate.completed
GET /document
Is data mapping required in all workflows?
Do I need to rerun validation rules after patching a document?
Can I use multiple workflows in the same integration?