Overview
Create workflows programmatically using the Kadoa SDK, CLI, MCP Server, or REST API:- Create workflows with natural language prompts
- Use existing schemas or define custom ones
- Configure monitoring and scheduling options
Prerequisites
Before you begin, you’ll need:- A Kadoa account
- Your API key
- For SDK:
npm install @kadoa/node-sdkoryarn add @kadoa/node-sdkoruv add kadoa-sdk
Authentication
Extraction Methods
Choose how you want to extract data from websites:Auto-Detection
Auto-detect uses AI to detect and extract what’s on the page. If you’re using the REST API directly, auto-detection isn’t available and you need to pass a data schema.
Custom Schema
Define exactly what fields you want to extract for precise control:STRING, NUMBER, BOOLEAN, DATE, DATETIME, MONEY, IMAGE, LINK, OBJECT, ARRAY
See all data types →
Classification
Automatically categorize content into predefined classes:Prompts
Every workflow is driven by a prompt: a plain-language description of what to extract and how to get there. The AI agent handles navigation, pagination, clicking, and forms automatically. For details, see Prompts.Navigation is handled automatically when you provide a prompt.
Using a Prompt
For multi-step or complex extractions, write a prompt in plain language. The AI agent follows your prompt to navigate, interact, and extract:Complex multi-step extractions can take significantly longer to complete (usually around an hour). We recommend avoiding waiting for results synchronously.
Writing Prompts
Write clear, step-by-step prompts for complex extraction tasks. The AI agent follows your prompt autonomously, handling clicks, forms, pagination, and file downloads. Learn how to write effective prompts →Create from a Template
If your team has templates set up, you can create a workflow and link it to a template. The template’s prompt, schema, and notification settings are applied to the workflow.Next Steps
- Manage Workflows → - List, retrieve, pause, and delete workflows
- Schedule & Run Workflows → - Configure intervals, manual execution, and check status
- Writing Prompts → - Write effective prompts for complex extraction tasks
- Working with Schemas → - Create and manage reusable schemas
- Templates → - Reuse configurations across workflows
- Data Delivery → - Retrieve extracted data
- API Reference →