Remove a workflow node
The normal way to delete a step. Remove one action node from its outcome chain and re-link around it — the node before it is joined to the node after it, so the chain survives. That re-linking is why deleting a node by omitting it from a PUT is not the same operation. Branch (if) and fan-out nodes must be removed in the canvas.
Required API key scope: campaign_workflows:write.
Authorizations
Send your API key as Authorization: Bearer YOUR_API_KEY.
Path Parameters
Agent id.
1Id of the node to edit or remove, as it appears in the nodes map. Read it from GET /api/agent-builder/agents/{id}/campaign/workflow.
1Query Parameters
Pair with campaignId; omit both for primary campaign.
1Pair with locationId; omit both for primary campaign.
1Response
The updated workflow.
