Documents Take Confirmed
Picks up the bundles whose split a person already confirmed in the classification station. It downloads each file to a temp path, takes it out of the inbox (so it isn’t re-processed), and returns them with their local path and their confirmed segments. The playbook iterates and extracts each segment.
Documents Take Confirmed → output: bundles
For Each items = = bundles, itemVariable = bundle └── For Each items = = bundle["segments"], itemVariable = segment └── IDP Extract path = = bundle["path"] project = = segment["type"] pages = = segment["pageStart"] + "-" + segment["pageEnd"]Parameters
Section titled “Parameters”| Parameter | Type | What it is |
|---|---|---|
limit | int | Maximum bundles to take at once. Default 50. |
outputDir | text | Where to download the files. Default: the temp folder. |
The output
Section titled “The output”A list of bundles; each one:
| Field | What it is |
|---|---|
id | The bundle’s id in the store. |
reference | The key it was uploaded with. |
path | The LOCAL path of the downloaded file. |
segments | The confirmed segments: [{ pageStart, pageEnd, type, recognized }]. |
Idempotency
Section titled “Idempotency”Taking a bundle marks it as extracted, so it isn’t returned again. If a segment’s extraction fails, IDP Extract’s idempotency (by reference) avoids re-paying the already-extracted segments on a retry.
Related activities
Section titled “Related activities”- Documents Classify Bundle — sends the uncertain bundle to the station.
- IDP Extract — extracts each confirmed segment.
The reading comes back with the bundle
Section titled “The reading comes back with the bundle”If the bundle was uploaded with its OCR cache (the document of Send Bundle to Classification), each returned bundle carries document: the full reading. Pass it to IDP Extract together with each segment’s range (pages) and extraction slices that reading instead of re-reading — the same paper is never paid twice. Without a cache, document comes back empty and you extract by path as always.