workflow_approve
ManagementApprove Workflow Node
Approve a pending human-approval node in a running workflow.
Args:
- workflow_id: required
- workflow_job_id: required — the workflow job awaiting approval
- node_id: required — the gate node to approve
- team_id, project_id: required for OAuth callers
Returns: the approval result.
Example: "Approve this workflow node" -> workflow_id="workflow_xxx", workflow_job_id="job_xxx", node_id="node_xxx"
open-world
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| workflow_id | string | ✓ | Workflow ID. |
| workflow_job_id | string | ✓ | Job ID. |
| node_id | string | ✓ | Node ID. |
| team_id | string | — | Team ID. Required if user belongs to multiple teams. |
| project_id | string | — | Project ID to scope the operation to. |
| response_format | enum(json | markdown) | json | Output format: 'json' for structured data, 'markdown' for human-readable text. |
Example Request
JSON
{
"workflow_id": "wf_hero_pipeline",
"workflow_job_id": "job_wf_001",
"node_id": "node_review_001",
"team_id": "team_abc123",
"project_id": "proj_xyz789"
}Example Response
JSON
{
"workflow": {
"id": "wf_hero_pipeline",
"status": "running"
}
}Common Use Cases
- Approve a human-in-the-loop node in a paused workflow
- Resume a paused workflow after reviewing intermediate results