Build what a step suggestion names
compass_step_suggestions_buildBuilds a step suggestion the way Compass's Build button does: makes its change if it isn't one yet, then the thing in Workbench — a flow drafted from the step itself (who does it, its times, systems, write-up, attachments, interview notes) and its checklist; a shim named for the decision; or a task whose sentence is the steps. Use this, not workbench_flows_scaffold, whenever the work came from a step suggestion. Returns what was built and, for a flow, what the draft still needs. Fails if something's already built for it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The WORKFLOW page id the suggestion is on. | |
| 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 | ||
| suggestionId | Yes | The suggestion id, from compass_step_suggestions_list. |