campaignstack_cancel_node_leads
Cancel the drainable leads at a workflow node (WAITING, WAITING_FOR_EVENT, PENDING_REVIEW entries are marked cancelled). PROCESSING leads have a live runner job and are left to finish on their own; the response reports how many remain. Use this to drain a node that campaignstack_update_workflow or a node deletion rejected with NODE_HAS_ACTIVE_LEADS, then retry the graph change. Use campaignstack_get_workflow to find node IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| workspaceId | Yes |