Create a new flow definition
Information about the flow to be created
Contains the flow definition
The flow name, it must follow the following regexp:
^[a-zA-Z_$][a-zA-Z_$0-9]*$
A brief description of what this flow is about
Contains information about the target endpoint that will be acting as a webhook
Key-Value pair object that contains the steps that will consist on this workflow, the object Key must follow the following regexp: ^[a-zA-Z_$][a-zA-Z_$0-9]*$
NOTE: If you want to define a step with no additional configuration you can just define the step name with a null value. Example:
"steps": {
"step_with_no_attributes": null
}The flow was successfully created, returns the id of the flow record
A simple response representation Successful response after creating or retrieving a flow definition
The response status returned from the server, it can be:
success, error The response exit code returned from the server, it can be:
success, validation_error, unauthorized, generic_error, service_unavailable, resource_not_found, step_already_executed, flow_disabled, service_plan_max_registered_flows_reached, service_plan_max_steps_per_flow_reached Schema that represents any serializable data Contains the flow definition