Approve autopilot action
approve_autopilot_actionApprove a queued autopilot action and EXECUTE it. Depending on its type: a website batch enrols its sites and their cold first emails go out on the lane campaign's schedule; a sister-program intro, a welcome or a check-in is sent to that partner; a follow-up or a reply is sent into its thread; a campaign proposal reveals missing contacts (metered) and launches. The approval summary names what this one does, and an edit after it was shown needs a fresh approval. Same gated paths as the dashboard's approve button, including its edits: body replaces the drafted text, remove_ids drops sites from a website batch (they are flagged so autopilot never proposes them again). Guarded: without approval_token it returns {error:"approval_required", approval_token, summary} for the user to confirm; call again with the token. Every dashboard guardrail still applies: this is exactly what a user clicking the dashboard could do, no more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Your edited text for a drafted email, sent instead of the draft. | |
| action_id | Yes | An id from get_autopilot's queue. | |
| remove_ids | No | Sites to drop from a website batch (ids from get_autopilot_action). | |
| approval_token | No | Approval token from a previous approval_required response, after the user said yes. |