Capture an opportunity
compass_opportunities_createRecord a change — a fix, a chore, a new step, or an experiment worth trying. Anchor it to a workflow page when one fits (compass_pages_list); leave unanchored otherwise. It lands in the board's first status unless you name another (compass_statuses_list). Set experiment only when the user wants it measured against the Ledger. May return needs_confirmation — summarize and wait for approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags to file it under. | |
| label | Yes | ≤200 chars, the change in one line. | |
| links | No | Where the work also lives — issue, ticket, PR or doc URLs. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Approval id from a prior needs_confirmation response, after the user has approved. Omit on the first call. | |
| experiment | No | Measure it against the Ledger. Default false. | |
| statusName | No | Start in this status (a name from compass_statuses_list). | |
| description | No | What the change is, and why it's worth doing. | |
| workflowPageId | No | Workflow page to anchor to, when one fits. |