Create, list, update, and delete automation workflows via the RCB Automation REST API. Full request and response reference for all four workflow endpoints.
Workflows are the central building block of RCB Automation. Each workflow defines an automated process — a series of actions executed when a trigger fires. The Workflows API lets you manage the full lifecycle of workflows programmatically: create new ones, update their configuration, inspect their status, and remove them when they are no longer needed.
Create a new workflow. Newly created workflows default to draft status and will not run until they are activated and have at least one trigger attached.
curl --request POST \ --url https://api.rcbautomation.com/v1/workflows \ --header 'Authorization: Bearer rcb_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6' \ --header 'Content-Type: application/json' \ --data '{ "name": "Monthly invoice reconciliation", "description": "Pulls invoice data from Stripe and writes a summary to Google Sheets each month.", "status": "draft" }'
Response (201 Created)
{ "id": "wf_7pQrStUvWxYz", "name": "Monthly invoice reconciliation", "description": "Pulls invoice data from Stripe and writes a summary to Google Sheets each month.", "status": "draft", "created_at": "2026-04-20T10:15:00Z", "updated_at": "2026-04-20T10:15:00Z", "run_count": 0}
{ "id": "wf_7pQrStUvWxYz", "name": "Monthly invoice reconciliation", "description": "Pulls invoice data from Stripe and writes a summary to Google Sheets each month.", "status": "active", "created_at": "2026-04-20T10:15:00Z", "updated_at": "2026-04-20T10:48:33Z", "run_count": 0}
Permanently delete a workflow. This also deletes all triggers associated with the workflow. This action cannot be undone.
DELETE /workflows/{id}
Deleting a workflow permanently removes it and all its associated triggers. Any webhook registrations tied to this workflow’s runs will also stop receiving events.