@squidcloud/client
    Preparing search index...

    Interface UpsertAiAgentEventAutomationParams

    The definition of an event automation to create or update.

    interface UpsertAiAgentEventAutomationParams {
        enabled?: boolean;
        eventType: string;
        id?: string;
        integrationIds?: string[];
        maxRunsPerHour?: number;
        name: string;
        prompt?: string;
        type: "event";
    }

    Hierarchy

    • UpsertAiAgentAutomationBase
      • UpsertAiAgentEventAutomationParams
    Index
    enabled?: boolean

    Whether the automation runs. Defaults to its current state, and to true for a new automation.

    eventType: string

    The type of the events that start a run.

    id?: string

    The ID of the automation to update, or of the one to create. Generated when omitted.

    integrationIds?: string[]

    Restricts the automation to the events of these integrations. Omit for events of any origin.

    maxRunsPerHour?: number

    The most runs the automation starts within an hour.

    name: string

    A display name.

    prompt?: string

    The prompt for an event that carries none of its own. Without it, such an event starts no run.

    type: "event"

    The automation kind.