Schemas and Templates
What is a schema?
Every workflow at Kadoa needs a schema. It tells Kadoa:
- what entity to look for in source data (such as products, jobs, news)
- what fields to extract for the selected entity (such as title, price, description)
What if you need the same schema for many workflows? The answer is templates.
How to create templates
Kadoa offers two ways to create and manage templates:
1. Create a template from scratch
- Create a new workflow using Auto-detect
- Configure the workflow schema
- Go to My Templates tab on your dashboard and click ‘Add New Template.’ You can now reuse a template from an existing workflow. Note: This option is currently not available for workflows that already use a pre-defined template.
- Give your template a name and description
- That’s it! You can now create workflows with this template, and the data will be automatically extracted and transformed into your desired format, regardless of the source.
- Note: you can also do this via the Dashboard or workflow plage.
2. Customize a pre-defined template
- Navigate to My Templates page on your dashboard
- Click “Add new template”
- Choose a pre-defined template as a starting point, based on your use case (e.g., products, jobs, news)
- Customize the template by adding, removing, or modifying fields
- Save your customized template
Using your templates
When you create a new workflow, you can choose to use one of your templates.
Ready-made templates
Kadoa provides ready-made templates for popular web sources. These templates come with a set of standard fields that Kadoa will extract, but you can still customize them based on your specific needs.
There are also generic templates, not limited to any specific source:
More to come soon!
Job postings
We offer a dedicated API endpoint optimized for fetching structured job posting data. When you create a new workflow using this template, Kadoa will extract the following common fields:
Ecommerce
When you create a new workflow using this template, Kadoa will extract the following common fields:
Name | Description | Example |
---|---|---|
link | URL link to the product page | https://example.com/product/samsung-galaxy-s23 |
name | Name of the product | Samsung Galaxy S23 256GB |
brand | Brand name of the product | Samsung |
price | Price of the product | 999.99 |
priceCurrency | Currency code for the product price | USD |
specs | Technical specifications of the product | {"Processor": "Snapdragon 8 Gen 1", "RAM": "8GB"} |
description | Full product description | The latest Samsung Galaxy S23 comes with a Snapdragon 8 Gen 1 processor, 8GB RAM, and a 256GB storage. |
sku | Stock Keeping Unit identifier for the product | SGS23-256GB-BLK |
gtin | Global Trade Item Number for the product | 00012345678905 |
ean | European Article Number for the product | 1234567890123 |
images | Array of image URLs of the product | [“https://example.com/images/product/samsung-galaxy-s23-front.jpg”, “https://example.com/images/product/samsung-galaxy-s23-back.jpg”] |
reviews | Number of reviews for the product | 102 |
News article
When you create a new workflow using this template, Kadoa will extract the following common fields: