/workflows/:id/tools/:toolId/stage-gate
Gate a custom tool to specific funnel stages, so the agent only offers it once a lead reaches the right status.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | Agent ID |
toolId | string (uuid) | Yes | Tool ID |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
available_in_statuses | string[] | null | Yes | Funnel status keys where the tool is offered. null clears the gate, making it available in every status |