addedInput schema / properties / automation / properties / steps / items
Added value: +{
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "send",
+ "type": "string"
+ },
+ "brand": {
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "if": {
+ "description": "Condition expression",
+ "type": "string"
+ },
+ "profile": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "recipient": {
+ "type": "string"
+ },
+ "template": {
+ "description": "Notification template ID or key",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "send-list",
+ "type": "string"
+ },
+ "brand": {
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "if": {
+ "type": "string"
+ },
+ "list": {
+ "description": "List ID to send to",
+ "type": "string"
+ },
+ "template": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "list"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "delay",
+ "type": "string"
+ },
+ "duration": {
+ "description": "ISO 8601 duration (e.g. \"PT1H\" for 1 hour)",
+ "type": "string"
+ },
+ "if": {
+ "type": "string"
+ },
+ "until": {
+ "description": "ISO 8601 timestamp to wait until",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "cancel",
+ "type": "string"
+ },
+ "cancelation_token": {
+ "description": "The token set when the original automation was invoked (single \"l\" spelling)",
+ "type": "string"
+ },
+ "if": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "cancelation_token"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "update-profile",
+ "type": "string"
+ },
+ "if": {
+ "type": "string"
+ },
+ "merge": {
+ "enum": [
+ "none",
+ "overwrite",
+ "soft-merge",
+ "replace"
+ ],
+ "type": "string"
+ },
+ "profile": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "recipient_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "invoke",
+ "type": "string"
+ },
+ "if": {
+ "type": "string"
+ },
+ "template": {
+ "description": "Automation template ID to invoke",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "template"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "fetch-data",
+ "type": "string"
+ },
+ "if": {
+ "type": "string"
+ },
+ "merge_strategy": {
+ "enum": [
+ "replace",
+ "overwrite",
+ "soft-merge"
+ ],
+ "type": "string"
+ },
+ "webhook": {
+ "additionalProperties": false,
+ "description": "HTTP request configuration",
+ "properties": {
+ "body": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "headers": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "method": {
+ "enum": [
+ "GET",
+ "POST",
+ "PUT",
+ "PATCH"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "action",
+ "webhook"
+ ],
+ "type": "object"
+ }
+ ]
+}