Skip to content

Extract data from documents

Extract structured fields from each source document. Review the fields against their sources and import the results as records.

Updated

A Document understanding action performs structured extraction. It reads each source document and pulls out structured fields. Turn on grounding in the action’s configuration to get a source citation with every field. A citation links to the exact page and text, or to the point in an audio transcript. You can trace every value back to its source.

In the action’s configuration, set whether the extraction binds to a record type (“Data object”) or stays as Schema only. To launch a run, see Run an action.

The results grid

When an extraction run finishes, the run page shows a “Results” grid. The grid has one row per extracted result. The output fields are columns, and a “Source” column is frozen on the left. The header summarizes the run, for example “{n} extracted results” or “{n} extracted results · {n} failed.”

Each row carries a status badge:

Badge Meaning
Extracted A fresh result, not yet reviewed.
Edited You changed a value on this result.
Failed Extraction failed for this document.
Imported You added this result to Data as a record.

On grounded runs, cells show a citation-count chip. Turn the evidence judge on as well and each cited value also carries a confidence score. Grounding quotes the source, and the judge grades the quote.

The toolbar above the grid has these controls:

  • “Export CSV” — download every result.
  • “Approve all clean ({n})” — approves the results that still need review and have no warnings.
  • “Approve selected ({n})” — select rows first, then approve only those.
  • “Retry failed ({n})” — re-run the documents that failed.
  • “Clear” — clear the current selection.
An extraction run's Results grid with a Source column, confidence check marks, citation chips, and 'Extracted' status badges

The review workspace

Click a row to open the full-screen review workspace. The source document sits on the left with the selected citation shown in context. The citation appears as a highlighted bounding box on the PDF page, or as the audio transcript at the cited moment. The fields sit on the right. Each field lists its citations (“Page {n}”, “Transcript”, or “Source”), a confidence score when the run was judged, and any warnings. A field shows a not found marker when the value is not in the document, with the reason the model gave for not finding it. An Inferred marker means the cited passage supports the value without stating it. The model concluded it, so it is worth checking against the source even when the citation looks strong.

To correct a value, edit it inline and click “Save changes.”

You can edit a result for 7 days after the run starts. After that the grid shows “Editing is closed for this run. Results stay available.” You can still read, export and import results. You cannot change them.

When a result is correct, click “Approve & import this result” in the review workspace. You can also approve in bulk from the grid.

The extraction review workspace with the source invoice PDF and a highlighted total on the left, and the extracted fields with their page citations on the right

Importing into Data

When you approve results, they become records in the space’s Data tab. An import banner (“Add to data”) guides you through the import. It previews the results and offers “Add {n} results to data”. A “View in data” link appears after the import.

Reviewing inside an agent run

The AI assistant can run an extraction as a step in an agent. The same review then occurs through a post-action “Output review” card on the agent run. A “Review” button opens the extraction review surface full-screen. Saves there only save your table edits. When you are done, click “Approve & resume agent”. Approval adds the extracted records to Data with every field marked approved. The agent then continues. See Approvals and steering.

Where to go next

Type to search…

↑↓ navigate↵ selectEsc close