Create a new workflow with the given UUID.
put/transform/v1/workflows/{id}
Path parameters
idstring required
UUID (any version) of the workflow to create.
Example:186522a6-e697-4e34-8498-eee961bcb845
UUID (any version) of the workflow to create.
Request body
Example request
{
"country": "ES",
"rescue": [
{
"action": "email.send",
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"next": [
{
"step_id": "186522a6-e697-4e34-8498-eee961bcb845"
}
]
}
],
"schema": "bill/invoice",
"steps": [
{
"action": "email.send",
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"next": [
{
"step_id": "186522a6-e697-4e34-8498-eee961bcb845"
}
]
}
]
}Response
OK
Example response
{
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"rescue": [
{
"action": "email.send",
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"next": [
{
"step_id": "186522a6-e697-4e34-8498-eee961bcb845"
}
]
}
],
"steps": [
{
"action": "email.send",
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"next": [
{
"step_id": "186522a6-e697-4e34-8498-eee961bcb845"
}
]
}
]
}