Update a Blueprint Step (this also moves the step if a new parent is specified)

PUT /api/v1/automation-blueprints/{automationBlueprint_uuid}/blueprint-steps/{blueprintStep_uuid}

Path parameters

  • automationBlueprint_uuid string Required

    The UUID of the automation blueprint.

  • blueprintStep_uuid string Required

    The UUID of the blueprint step.

application/json

Body

  • name string

    Name of the automation step

  • type string

    must be a verified action type or a condition

  • configuration array[string]

    Configuration options for this step, requirements depend on type

  • parent_step_uuid string

    Uuid of the step that run before this step, if the parent step is a condition type then a condition state must be given

  • condition_state boolean

    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

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • uuid string
      • created_at string
      • updated string
      • name string
      • type string
      • configuration object
        Hide configuration attribute Show configuration attribute object
        • params object
          Hide params attribute Show params attribute object
          • account_uuid object
            Hide account_uuid attributes Show account_uuid attributes object
            • type string
            • value string
      • condition_state boolean
      • parent_step_uuid string
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":"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 (200)
{
  "data": [
    {
      "name": "create a new client",
      "type": "client.create",
      "uuid": "ef63e75c-ddf6-4863-904e-04fcbb76f157",
      "updated": "2025-06-25T15:10:46+01:00",
      "created_at": "2025-06-25T15:10:46+01:00",
      "configuration": {
        "params": {
          "account_uuid": {
            "type": "ref",
            "value": "trigger.account.uuid"
          }
        }
      },
      "condition_state": false,
      "parent_step_uuid": "7dbcc9bb-66f0-4b22-b859-d5d5d9d14c2b"
    }
  ]
}