Skip to main content
A template is one configuration that many workflows share, such as a job postings setup for 50 career pages. You change the template once, then apply the change to all linked workflows at once, or to a few first.

What a template contains

A template can include any of these parts: Each part is optional. For example, a template can define only a schema, or a schema and notifications without a prompt. For what to put in each part and how to roll out changes safely, see Template best practices.

When to use a template

Use a template when you:
  • Extract the same kind of data, in the same structure, from many sources. The agent’s route through each site can differ. The schema and rules stay the same.
  • Want to roll out prompt, schema, data quality, notification, frequency, or record limit changes to many workflows at once.
  • Need versioned configurations that you can roll back.
  • Share standardized extraction setups across your team.
For a one-off extraction, define the schema on the workflow itself. It is simpler and needs no template management.

Versions

Every save publishes a new version. You cannot edit a published version. This lets you:
  • Roll out updates to linked workflows selectively
  • Roll back to a previous version if needed
  • See exactly what changed between versions
  • Preview the data impact of a new version on a linked workflow before applying it
Linked workflows don’t move to a new version on their own. You decide when to apply it.

Linked workflows

When you create a workflow from a template, or link an existing workflow through the API, Kadoa applies the template’s configuration to it. Every part the template owns becomes read-only on the workflow. In the dashboard, those panels show Controlled by with the template name. You change these parts in the template instead. To modify a template-managed field on a workflow, either update the template and apply the change, or unlink the workflow first. The setup prompt works differently. The agent reads it once, when it builds a workflow from the template. A new prompt version only affects workflows built after it. Existing workflows keep the instructions they started with. The other parts reach existing workflows when you apply the version.
Unlinking a workflow preserves its current configuration. The workflow keeps the prompt, schema, rules, notifications, and frequency it had. They become editable again from the workflow itself.

Create a template

  1. Select Templates in the sidebar, then select Create template.
  2. Enter a Name. To add a description, select Add note.
  3. Turn on each part you want the template to manage, and fill it in. Turn on at least one part.
    • Setup prompt: the instructions new workflows start with, such as domain rules, exclusions, and page quirks. Type $ to insert a variable.
    • Schema: the entity name and fields, in the schema editor.
    • Data quality: per-field validation rules. Turn on Schema first.
    • Notifications: event subscriptions and notification channels.
    • Frequency: how often linked workflows run, optionally on weekdays only.
    • Row limit: the maximum number of rows each run keeps.
  4. Select Create template. This publishes version 1. Template editor with the Name field and the Setup prompt and Schema sections turned on

Save a workflow as a template

Start a template from a workflow you already set up.
  1. Open the workflow.
  2. Open the workflow menu (…) and select Save as template.
  3. Enter a Template name.
  4. Under Include, select the parts to copy: Prompt, Schema, Data quality, Notifications, Frequency, and Row limit.
  5. Select Create template.
Kadoa links the workflow to the new template. Save as template appears only on workflows that aren’t linked to a template yet.

Create workflows from a template

A workflow created from a template inherits the selected version’s prompt, schema, validation rules, notifications, and frequency. Kadoa links it to the template. Template-managed settings stay read-only on the workflow until you update or unlink the template. You can add workflow-specific instructions. Kadoa adds them to the template prompt. They stay attached to that workflow when you apply a later template version.
  1. Select Add workflow in the sidebar.
  2. Select Template below the prompt box and choose a template. To search, type in Filter templates.
  3. Review the attached prompt, schema, data quality, notification, and frequency settings. The template’s setup prompt appears under Template setup.
  4. Complete the prompt under Workflow-specific instructions.
  5. Select the send button to create the workflow. Template selector open below the new workflow prompt box, with a filter field and a Job Postings template

Publish and apply a new version

Publishing a version doesn’t change any linked workflow. You then apply it to the workflows that should move to it.
To publish a version:
  1. Select Templates in the sidebar and open the template.
  2. Under Config, select Edit.
  3. Change any part. To stop managing a part, turn it off.
  4. Select Save v.N, where N is the next version number.
To apply it:
  1. Select Linked workflows. Workflows behind the latest version show Outdated and appear first.
  2. Select Update to v.N on a workflow. To update several, select their checkboxes or Select all. Then select the update button at the top, for example Update 3 to v.4.
  3. Review the affected workflows in the dialog. To see the data impact first, select Preview data changes.
  4. Select Update. Linked workflows list with two outdated workflows on v2, each with Update to v.3 and Unlink buttons
To update one workflow from its own page, open the template actions menu (…) next to Controlled by and select Update to latest version. This is unavailable while the workflow is running.

Preview data changes

Before you apply, the preview shows how each field changes for a linked workflow. Fields are grouped into Added, Updated, Removed, and Unchanged. If you update several workflows, choose which one to preview under Preview data for. Workflows with previous runs show existing data for unchanged and removed fields, plus grounded simulations for new and changed fields. Without a previous run, source-backed values remain empty. Preview data changes dialog with an added salary field and simulated salary values

What applying a version does

  • Changes take effect on the next run. Applying a version updates the configuration and doesn’t start a run. Data already collected is unchanged. To get data with the new configuration now, run the workflow manually.
  • Setup prompt changes reach only new workflows. Existing workflows keep the instructions they started with.
  • Active real-time monitors are skipped. Pause them first if you want them in the batch.
  • To roll back in the dashboard, open the template’s History, find an earlier version, and select Apply.
History lists every version with its publish date and who published it. Select Show changes or Show content on a version to switch between its changes and its full snapshot. Workflows are linked when you create them from a template or save them as one. The dashboard has no separate step to link an existing workflow. Use the API or MCP for that. Unlinked workflows keep their current configuration and stop receiving template updates.
  1. Open the template and select Linked workflows.
  2. Select Unlink on a workflow. To unlink several, select their checkboxes. Then select the unlink button at the top, for example Unlink 3.
  3. Select Unlink to confirm.
To unlink from the workflow’s own page, open the template actions menu (…) next to Controlled by and select Unlink workflow.

View templates and versions

  1. Select Templates in the sidebar. To filter the list, type in Search templates….
  2. Select a template to open it.
  3. Select Config for the latest version, History for all versions, or Linked workflows.

Duplicate a template

Duplicating is available in the dashboard.
  1. Select Templates in the sidebar.
  2. Open the actions menu (…) on a template and select Duplicate. The same menu is on the template’s own page.
  3. Optionally, enter a New template name. If you leave it empty, the copy gets the original name with a “(Copy)” suffix.
  4. Select Duplicate. The new template opens.
Template actions menu with Report a problem, Duplicate, and Delete template The copy is independent and starts at version 1. It takes the latest published version’s prompt, schema, data quality rules, notifications, frequency, and row limit. It doesn’t take the version history or the linked workflows.

Change a template’s name or description

Changing the name or description doesn’t publish a new version. To change the parts, publish a new version.
  1. Select Templates in the sidebar and open the template.
  2. Under Config, select Edit.
  3. Change the Name or the Note.
  4. Select Save.

Delete a template

Deleting a template archives it and unlinks all its workflows. The workflows keep their current configuration but stop receiving template updates.
  1. Select Templates in the sidebar.
  2. Select the checkbox of each template you want to delete, then select Delete. For one template, you can also open its actions menu (…) and select Delete template.
  3. Select Delete to confirm.

Version parameters

These are the parts you can set when you publish a version through the SDK or API. Leave a parameter out to keep the previous version’s value. If you replace the schema and leave out schemaValidationRules, the version keeps only the rules for fields that still exist. To remove a part from the template, set it to null. Record limit is the exception. Use recordLimitManaged: false to let workflows control their own limits. Setting recordLimit: null keeps the limit template-managed. Schema fields accept name, description, dataType, an optional instruction, an optional example (a JSON string for OBJECT and ARRAY), and isKey.

Limits

  • The dashboard applies a version to at most 100 workflows at a time. For more, contact support.
  • API requests that link, unlink, or apply take at most 2,000 workflow IDs each.
  • A template frequency can use only one timezone.