Respond to Workflow Gate
respond_to_workflow_gateSubmit a user response to a paused HITL gate in a running workflow. Only relevant when the segment was created with hitl=true. After responding, call wait_for_workflow again to continue monitoring. Requires 'creator' scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate_id | Yes | The gate_id from the paused_gate payload returned by wait_for_workflow or get_workflow_status | |
| response | Yes | The user's chosen response — must be one of the options listed in the gate payload | |
| workflow_run_id | Yes | The workflow run ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| guidance | No | Interpretation or recovery guidance for this result | |
| count_unit | No | ||
| page_count | No | Number of objects on this page, not the organization total | |
| count_state | No | Unknown means no count; available does not guarantee freshness. Recount for a current value. | |
| next_actions | No | Suggested next calls using returned IDs and available scopes. Not executed and not user consent. | |
| money_display | No | Currency amounts formatted once from source paths ending in _cents. Use verbatim; do not divide again. Null/missing source amounts are omitted, not zero. | |
| workflow_run_id | Yes | ||
| population_input | No | Population input used for the preview; IDs refer to their current saved definitions |