CAIN-42 CAIN Studio

API reference · schema

CreateAutomationRequest

4 fields · used by 0 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
name requiredstringmin length 1 · max length 255
trigger_type requiredstringpattern ^(schedule|event|manual)$
trigger_configobject
action_configobject

Smallest valid example

{
  "name": "name",
  "trigger_type": "trigger-type"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Name"
    },
    "trigger_type": {
      "type": "string",
      "pattern": "^(schedule|event|manual)$",
      "title": "Trigger Type"
    },
    "trigger_config": {
      "additionalProperties": true,
      "type": "object",
      "title": "Trigger Config"
    },
    "action_config": {
      "additionalProperties": true,
      "type": "object",
      "title": "Action Config"
    }
  },
  "type": "object",
  "required": [
    "name",
    "trigger_type"
  ],
  "title": "CreateAutomationRequest"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem