Single-description editing rolls out workflow by workflow. A workflow keeps separate Description, Extraction instructions and Example inputs until it is selected for the new editor. Templates retain these separate inputs. Keep those values separate while these inputs are shown.
description for field meaning, instructions, and sample values. Older API versions retain separate instruction and example inputs and their existing response contract until an individual workflow is explicitly migrated. V6 responses combine the labeled contents into description. Shared schemas and templates are not switched with a workflow. Schemas and templates created through either version remain readable through the other version.
How the agent builds a schema
When you create a workflow with Kadoa’s agent, it builds the schema for you.- If you name the fields in your prompt, for example “extract title, price, and rating”, the agent uses exactly those.
- If you don’t, the agent recommends fields based on the source.
If your workflow uses a template, the template manages its schema. Edit the schema in the template instead.
Field kinds
Every field gets its value in one of three ways.
In the Schema tab, a field Kadoa computes, with a function or a transformation, shows Code or AI to say how its value is made. Select the field to see the fields its value is made from.
In the SDK and API, each kind has its own shape:
Function fields
A function field holds a value Kadoa computes instead of reading it from the page. Each function has an output data type. Functions marked AI use a model on every record.- Custom categories puts each record into one of the categories you define, for example sentiment or priority.
- Unique ID gives each record a stable identifier. It works well as a key field.
Custom categories is available to every team. Other functions depend on your team. The editor lists only the functions your team can use.
Source fields
A source field keeps raw page content next to the extracted data. It holds the page URL, the full HTML, or the full Markdown of each page. The schema editor does not add source fields. Add them with the SDK or API, as shown in Add a source field. Every schema has key fields that identify a record across runs.Transformations
For batch workflows,GET /v4/workflows/{id} returns pendingFields, an array of customer field names added or changed relative to the published run. Key toggles and equivalent legacy schema formats do not count as changes. Before the first published run, all customer fields are pending. An empty array means no fields differ; the property is omitted for realtime workflows or when an existing published run has no schema snapshot. Changes apply to future runs and do not backfill historical rows.
Some workflows transform data after extraction, for example to categorize records or compute derived fields. A transformation reads input fields as context and produces output fields. Each output field has a summary of how it is computed, when one is available.
To review a workflow’s transformation:
- In the dashboard, open the Pipeline panel.
- With the API, read the
transformationobject from Get workflow by ID.
Create or edit fields
- Dashboard
- SDK & API
- MCP
To edit a field:
- Open the workflow and select the Schema tab.
- Select the field to see its details.
- Select the pencil icon to open the inline edit form.
- Change the field and select Done.
- Select Save changes.
- In the Schema tab, select Add field.
- Enter a Name, a Description that says what the value is, where to find it, and its format, and a Type. Then select Add field.
- Select Save changes.
Add a function field
- Dashboard
- SDK & API
- In the Schema tab, select Add field.
- Under Or use a built-in function, select a function, such as Custom categories or Unique ID. Functions marked AI use a model on every record.
- Configure the function and select Add field.
- Select Save changes.
Add a source field
You add source fields with the SDK or API. The dashboard schema editor does not add them. Add aSCHEMA field with params.sourceKey instead of an extraction instruction. These source keys are supported:
Reuse a schema
- Dashboard
- SDK & API
- MCP
To reuse a schema across workflows, save it in a template. A template packages a prompt, schema, data quality rules, and notification settings into one versioned unit.
- Open Templates and select Create template.
- Define your fields in the Schema tab.
- When you create a workflow, select the template to pre-fill its schema.
Manage saved schemas
You manage saved schemas with the SDK or API.Get a schema
Retrieve an existing schema by ID:Update a schema
Change a schema’s name, entity, or fields:Delete a schema
Remove a schema you no longer need:Deleting a schema does not affect existing workflows or extractions created with it.
Data types
Each extracted field has a data type. Kadoa uses it to extract and validate the value.Data type formats
Some data types return structured values:The
amount field is always in the smallest currency unit, for example cents for USD and pence for GBP.