Skip to main content
A Task is an AI worker you schedule once and let run on its own. This recipe creates a recurring Task that uses live web research to find leads, drafts personalized outreach email, and surfaces each run for your approval before anything goes out.
Tasks are your AI workforce. Each scheduled execution is a Task Run you can inspect. With approval_mode: "supervised", runs that want to act pause as needs_input and show up in your dashboard for sign-off. See Tasks.

Recipe

1

Create the outreach Task

The prompt is the agent’s standing instructions. trigger_type: "cron" plus a cron_expression schedules it; approval_mode: "supervised" means it won’t send anything without you.
agent: "business" is the default operator agent (use engineering only for code/site builds). The cron 0 9 * * 1 runs every Monday at 09:00 in the given timezone.
2

Read the Task's runs

Every execution creates a Task Run. List them to see what the agent did and what’s awaiting you.
A status of needs_input means the supervised run is paused for your review.
3

Approve a supervised run

Supervised runs are reviewed and resumed in the dashboard — that’s where the drafts and the agent’s reasoning are shown for interactive approval. To resolve a run’s state programmatically, PATCH /task_runs/{id}:
Interactive input (editing a draft, approving a send) happens in the dashboard and via notifications. The API PATCH resolves the run’s status; it doesn’t carry an approval payload.

Variation: trigger on an event instead of a schedule

Instead of cron, fire the agent when something happens in your account. Use trigger_type: "event" with event_conditions — for example, kick off a follow-up sequence whenever an order is paid.
Event-triggered Tasks and Webhooks both react to platform events, but they’re different tools: a webhook notifies your server so your code acts; an event Task wakes up Crevio’s AI to act on your behalf. See Events for the subscribable event list.

Next steps

Tasks

Full Task model — triggers, agents, approval modes.

Events

Internal and third-party triggers for event Tasks.

AI content generation

The web research tools your agent uses under the hood.

Usage & billing

How Task runs consume credits.