Approve Automation Proposal
approveAutomationProposalApprove the automation proposal of a Module automation being set up, the same as the setup's Approve and build in the web app: it opens an Ask Duvo conversation that reads the proposal and the Policy, proposes which Agents, Queues and dashboards change, makes the changes once the user agrees there, and finishes the setup. Give the user the conversation's url; they answer Duvo's plan in it. proposal_snapshot_id, when given, must be the live proposal. A build already started is returned with status already_started rather than started twice. Refused with 409 when there is no live proposal, required Policy questions are open, or Ask Duvo isn't available to the team, and with 403 below Builder. Confirm with the user before calling: approving starts the build.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| automation_id | Yes | Automation ID | |
| proposal_snapshot_id | No | The automation proposal being approved. Must be the live proposal; leave out to approve whichever proposal is live. |