Agentic extraction
Agentic extraction takes documents in, turns them into a checked submission, and exports it to Insly Ledger. Along the way it asks the sender for anything that is missing. It does the same work as classic submission processing: the same templates, the same extraction, the same validation and the same Ledger export. The difference is that each stage is a separate agent in a workflow. That makes the workflow flexible: Insly can add steps, for example an agent that enriches the data from another source, or remove steps your process doesn't need.
The steps
Every step after the first needs only the submissionId, which the first step creates and passes on.
Conversion
templateName, files
Creates a submission from the run's documents against the chosen template and converts the files for processing. Passes submissionId to every later step.
Extraction
submissionId
Reads the documents into the submission's payload. On a follow-up run it applies the sender's reply as an edit instead.
Grounding (fact check)
submissionId
Checks each extracted value against the documents and removes values it cannot support, using your organisation's grounding threshold. Skipped when the threshold is 0.
Reference (optional)
submissionId
Records where in the documents each value came from.
Metadata (optional)
submissionId
Names the submission and gives its files readable names.
Validation
submissionId
Checks the payload against the template and the export rules. If it doesn't pass, for example because a required field is missing, the run stops here as completed (see below).
Export
submissionId
Exports the submission to Insly Ledger using your organisation's Ledger integration, under the same rules as classic processing (see below).
If an optional step reports a failure, the run carries on without that step's result.
The table above shows the standard extraction workflow. Your organisation's workflow may have more steps or fewer.
Where the inputs come from
templateName: on email and chat, the sender names the template, by its name or its email alias. Insly can also fix the template on the workflow, so that the sender never has to name it. On the API, you pass atemplateId.files: always the documents actually on the conversation, never the message text. If the sender says "quote attached" but nothing is attached, Nora asks for the documents.
When validation stops the run
If the submission doesn't pass validation, the run ends with status completed and export does not run. This is a normal result: the submission isn't ready yet. What happens next depends on the channel:
Email: Nora sends the sender the missing-fields email, the same one classic processing sends. The sender's reply starts the follow-up loop below.
Chat: the reply lists what is missing. The sender's next message starts the follow-up loop.
API: the poll result lists the fields in
missingFields. See Run agentic extraction via API.
You can also complete the submission by hand in the Nora web app and export it from there. If the sender replies later, the next validation includes your edits.
When export is skipped
The export step uses the rules of classic processing. The run still ends as completed, and its reply says the submission was not exported, when:
the submission was picked for a human spot check and is held for review,
it fails the final export checks,
email follow-ups are not enabled for your organisation, or it has no Ledger integration,
the submission has no email sender. This applies to every run started over the API or in chat. Only runs started by email are exported automatically. Export the others from the web app or with the Submissions API.
The follow-up loop
When the sender answers a missing-fields question, the original run is not resumed. Nora starts a new run of the same workflow for the same submission, with the sender's reply as input.
Conversion does not create a new submission. It reuses the existing one and adds any new documents the reply brought.
Extraction treats the reply as an edit. It works out whether the sender is adding, changing or removing values, then applies only those changes. The submission is not extracted again from scratch. Nora knows which fields it asked about, so a reply like "SO16 0AS" goes to the postal code that was asked for.
Grounding, Reference and Metadata are skipped. Re-checking an edit could remove a value the sender has just supplied.
Validation runs again. If the submission now passes, Export follows. If not, Nora asks again and the loop repeats.
Each round is a separate run, linked to the one before it. In the Nora web app you see one conversation with all of its rounds.
Related: Email Follow Up, Fields + required/optional
Was this helpful?