Prerequisites
- A Kadoa account
- The Kadoa CLI installed (see Installation)
Authentication
The CLI authenticates with OAuth. Atk-... API key is not a CLI token. kadoa login opens your browser, signs you in via Kadoa SSO, and stores the access + refresh tokens in ~/.kadoa/config.json (mode 0600). Tokens refresh automatically; you stay logged in until you kadoa logout.
For non-interactive use, provide both KADOA_ACCESS_TOKEN and KADOA_REFRESH_TOKEN so the CLI can refresh the OAuth session.
Quick Start
1
Log in
Authenticate via your browser — no API key required.
2
Create a workflow
Describe what to extract in natural language and point it at a URL.
3
Run it and fetch results
Trigger a run, then read the extracted data.
4
Export the dataset
Stream the full dataset to a file.
Commands
Global Options
Auth & Team
Workflows
kadoa create accepts the full flag set: --name, --entity, --description, --tag, --limit, --schedule, --cron, plus --notify-email/--notify-webhook/--notify-slack-channel/--notify-websocket to wire notifications at creation time.
The list and get status field shows the computed workflow status, such as Complete, Running, Failed, Paused, or Scheduled. Although the filter flag is named --state, it filters this computed status rather than the API response’s persisted state field.
Data
export is the right choice for large workflows — it streams the full dataset rather than paginating.
Real-time Monitors
Real-time monitors watch a page and alert on changes. Each detected change is captured in thechanges log.
Notifications
Notifications are split into channels (where alerts are delivered: email, webhook, Slack, WebSocket) and settings (which events route to which channels).notifications is aliased as notify. channels create flags depend on --type:
EMAIL→--recipient <addr>(repeatable; omit for account default),--name <name>WEBHOOK→--url <url>,--method <method>,--auth-bearer <token>or--auth-basic <user:pass>SLACK→--slack-channel-id <id>or--slack-channel-name <name>(OAuth) or--slack-webhook <url>(legacy)WEBSOCKET→ no extra flags
configure mirrors the MCP configure_notifications tool — accepts --workflow, repeatable --event (or --event all), and the same --notify-* flags as kadoa create.
Variables
Variables are key/value pairs you reference in workflow prompts as@key.
vars is aliased as variables.
Templates
Templates are reusable, versioned workflow configurations (prompt + schema + notifications).Shell Completion
Tab-complete subcommands, flags, and workflow IDs:kadoa get <TAB> displays abc123 -- My Workflow.
Output Formatting
The CLI auto-detects the right format: tables in interactive terminals, JSON when piping or redirecting. Override with--json or --format.