workflow_approve

Management

Approve 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

NameTypeRequiredDescription
workflow_idstringWorkflow ID.
workflow_job_idstringJob ID.
node_idstringNode ID.
team_idstringTeam ID. Required if user belongs to multiple teams.
project_idstringProject ID to scope the operation to.
response_formatenum(json | markdown)jsonOutput 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