nylas
    Preparing search index...

    Interface Rule

    Interface representing a Nylas Agent Account rule.

    interface Rule {
        actions: RuleAction[];
        applicationId?: string;
        createdAt?: number;
        description?: string;
        enabled?: boolean;
        id: string;
        match: RuleMatch;
        name: string;
        organizationId?: string;
        priority?: number;
        trigger?: RuleTrigger;
        updatedAt?: number;
    }
    Index

    Properties

    actions: RuleAction[]

    Actions to perform when the rule matches.

    applicationId?: string

    The ID of the application that owns the rule.

    createdAt?: number

    Unix timestamp when the rule was created.

    description?: string

    Optional description of what the rule does.

    enabled?: boolean

    Whether the rule is active.

    id: string

    Globally unique identifier for the rule.

    match: RuleMatch

    Conditions that must be met for the rule to apply.

    name: string

    Human-readable name for the rule.

    organizationId?: string

    The ID of the Nylas organization that owns the rule.

    priority?: number

    Execution order for the rule. Lower numbers run first.

    trigger?: RuleTrigger

    When the rule is evaluated.

    updatedAt?: number

    Unix timestamp when the rule was last updated.