For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
AI Hub
OverviewApp editorFlow editorAdminAPI & SDK
OverviewApp editorFlow editorAdminAPI & SDK
  • Flow editor
    • About flows
    • Creating flows
    • Flow step reference
      • Process files
      • Map records
      • Agent classifier
      • Apply classifier
      • Apply checkpoint
      • Creating validation checkpoints
      • Agent extract
      • Apply refiner
      • Creating refiner programs
      • Process case
    • Using custom functions
    • Flow guides
    • Reviewing flow results
AI Hub
On this page
  • Parameters
Flow editorFlow step reference

Apply refiner

Was this page helpful?
Built with
Enterprise Single-tenant

The Apply refiner step reformats extracted data according to your specifications, using a linked refiner module.

Refiner is a post-processing tool that takes raw model or agent extraction output and transforms it into the format required by downstream systems and validation rules. It operates on a spreadsheet-like interface where each row is a processed record and each column is a field.

Refiner provides a rich function library organized by category:

  • String functions — trimming, splitting, replacing, formatting text values

  • Numerical functions — arithmetic, rounding, unit conversions

  • Table functions — manipulating extracted tabular data

  • Logical functions — conditional logic, branching, null handling

  • Parsing functions — date parsing, currency parsing, structured text parsing

  • Validation functions — type checks, range checks, format validation

UDFs can also be called from within refiner for custom logic that exceeds the built-in function library. Learn more in Creating refiner programs.

Parameters

  • Input file type — Specifies the source file format for the data you’re refining. The default, IBOCR, is a JSON file that represents the output for most flow steps. In typical flows, IBOCR is the appropriate choice. If you’re refining data that you’ve exported to CSV files, select CSV.

  • Refiner program — Select a refiner program. The refiner must be listed in the Modules panel to display as an option.