Create a Blueprint Step 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
POST
/api/v1/automation-blueprints/{automationBlueprint_uuid}/blueprint-steps
curl \
--request POST 'https://api.plannrcrm.com/api/v1/automation-blueprints/6ff8f7f6-1eb3-3525-be4a-3932c805afed/blueprint-steps' \
--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": "string",
"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": "string",
"condition_state": true
}
Response examples (201)
{
"data": [
[
{
"uuid": "cb716145-2495-4332-bdd6-5e929679cbac",
"created_at": "2026-09-18T09:00:12+01:00",
"updated": "2026-09-18T09:00:12+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": "8061aa78-bc80-4883-aeea-19e4d0280d19"
}
]
]
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}