Update a Blueprint Step (this also moves the step if a new parent is specified) Run in API Explorer
Ask AI
Body
-
Name of the automation step
-
must be a verified action type or a condition
-
Configuration options for this step, requirements depend on type
-
Uuid of the step that run before this step, if the parent step is a condition type then a condition state must be given
-
Only required if parent step is a condition, the condition state will determine if this step runs in the true branch or the false branch of the parent condition
PUT
/api/v1/automation-blueprints/{automationBlueprint_uuid}/blueprint-steps/{blueprintStep_uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/automation-blueprints/dcf0-484e-a0c5-08590fe89a84-f6aa1670/blueprint-steps/aaf0-495f-a0c5-08590fe89a84-f6aa1670' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"name": "send an email",
"type": "mail.send",
"configuration": {
"params": {
"account_uuid": {
"type": "ref",
"value": "trigger.account.uuid"
}
}
},
"parent_step_uuid": "274ecf87-15fb-4646-8197-58687b31c886",
"condition_state": true
}'
Request examples
{
"name": "send an email",
"type": "mail.send",
"configuration": {
"params": {
"account_uuid": {
"type": "ref",
"value": "trigger.account.uuid"
}
}
},
"parent_step_uuid": "274ecf87-15fb-4646-8197-58687b31c886",
"condition_state": true
}
Response examples (200)
{
"data": [
[
{
"uuid": "9424ef4a-0e60-4e39-ba1e-b429e72a2ad0",
"created_at": "2026-09-17T15:11:00+01:00",
"updated": "2026-09-17T15:11:00+01:00",
"name": "create a new client",
"type": "client.create",
"configuration": {
"params": {
"account_uuid": {
"type": "ref",
"value": "trigger.account.uuid"
}
}
},
"condition_state": false,
"parent_step_uuid": "8bc145bc-410a-40c7-bd91-ae4a0ca64244"
}
]
]
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}