Use this endpoint to create a new workflow definition. New workflows are created in draft status.
API key for authenticating requests to the Flowker API. Provisioned via the API_KEY environment variable during deployment.
Request body containing the workflow definition.
Unique name for the workflow.
1 - 100"Payment Notification Flow"
Optional human-readable description of the workflow's purpose.
500"Receives a webhook trigger and logs the payment event."
Connections between nodes that define the execution flow. Each edge links a source node to a target node, optionally with a condition.
200Custom key-value pairs for tagging or categorizing the workflow.
{
"team": "payments",
"environment": "sandbox"
}The steps that make up this workflow. Each node is a unit of work — a trigger, an executor call, a conditional branch, or an action.
100Indicates that the resource was successfully created and the operation was completed as expected.
Timestamp when the workflow was created.
"2026-03-17T14:30:00Z"
Initial status of the workflow (always draft on creation).
"draft"
Version of the workflow definition.
"1.0.0"
Unique identifier of the created workflow.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"