Built-in Operator & use cases

The in-app Operator is not limited to a single scenario. It applies deterministic plans (preview → apply) on top of the same CRM, workflows, and connectors you use from the REST API and external agents. You can drive any Ops workflow those primitives support—lead capture is one high-leverage example of an intake path, not the product boundary.

Instant quickstart (see results in minutes)

New users should start with Operator instant quickstart: Start guided setup → choose a built-in goal (intake, qualification, routing, nurture) → apply the plan → use the activity log (Edit, Re-run plan, View public form).

Example use cases

Operator and the shared platform work across typical workflows. Starting points:

Open Dashboard → Tools → Operator to verify defaults, preview/apply starter plans, and use CSV or Sheets import—regardless of which use case you are implementing first.

Coexistence (external agents + Operator)

Hosted lead capture form (example intake channel)

Each form has a public token. Endpoints on your API host:

GET  /public/lead_forms/:token   # minimal HTML form
POST /public/lead_forms/:token   # form POST, multipart, or JSON

Optional headers:

Configure HCAPTCHA_SECRET and HCAPTCHA_SITE_KEY on the API to enforce hCaptcha when hcaptcha_required is set on the form. Authenticated management: /api/v1/lead_forms (JWT or org API key).

Operator (dashboard)

Open Dashboard → Tools → Operator (/dashboard/operator). From there you can ensure the default opportunity pipeline, run Start guided setup (wizard: goal → intake → pipeline → configure → preview & apply), preview/apply deterministic plans, and jump to CRM import for CSV or Google Sheets.

Activity log & guided setup snapshot

The Operator page includes an organization-scoped activity log stored on the server (newest first). Typical row kinds include plan_apply, ensure_defaults, and lead_form_created.

Operator REST API (authenticated)

Same auth as the rest of the app: session JWT or organization API key in Authorization: Bearer …. Base path: /api/v1/operator/….

Secrets in plans/results are redacted in stored metadata. Full API surface for CRM and lead forms remains under /api/v1/crm/… and /api/v1/lead_forms.

Sources vs CRM import (batch data)

Sources (/dashboard/sources) stores CSV or Postgres settings and column mapping for agent batch runs—it does not import CRM records or run agents. After saving a source, open AI Agents → [agent] → Batch to load rows and submit the batch. Details: Sources & batch data.

Google Sheets

  1. Create a connection with provider: "google_sheets" and OAuth access_token (Sheets read scope) on CRM → Import & export (inline form) or Settings → Integrations in the dashboard—not under Sources (Sources is for agent CSV/Postgres data sources).
  2. POST /api/v1/crm/sheets_leads/preview with integration_connection_id, spreadsheet_id or URL, and A1 range.
  3. POST /api/v1/crm/sheets_leads/import with the same fields; optional mapping from lead attribute to column header slug.

First row must be headers. Rows without an email value are skipped.

Workflow auto-enroll

If a LeadForm references a workflow, new leads create an active WorkflowEnrollment with lead_ref set to the lead public_id, consistent with POST /api/v1/workflows/:id/enrollments/bulk.

← Documentation home