API reference · schema
CreateAutomationRequest
4 fields · used by 0 operations
Last reviewed 2026-10-02
Fields
| Field | Type | Meaning |
|---|---|---|
name required | string | min length 1 · max length 255 |
trigger_type required | string | pattern ^(schedule|event|manual)$ |
trigger_config | object | |
action_config | object |
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