Fields the SDK accepts when creating or updating an automation. id is omitted here because the server mints it on creation and it cannot be changed later.

interface CreateAutomationInput {
    actions: AutomationActions;
    conditions: AutomationConditions;
    name: string;
    retrigger?: boolean;
    status?: AutomationStatus;
}

Hierarchy (View Summary)

Properties

name: string
retrigger?: boolean

Enable/disable flag stored inside the payload. Defaults to "enabled" when absent.