nylas
    Preparing search index...

    Interface CreateRuleRequest

    Interface representing a request to create a Nylas Agent Account rule.

    interface CreateRuleRequest {
        actions: RuleAction[];
        description?: string;
        enabled?: boolean;
        match: RuleMatch;
        name: string;
        priority?: number;
        trigger?: RuleTrigger;
    }
    Index

    Properties

    actions: RuleAction[]

    Actions to perform when the rule matches.

    description?: string

    Optional description of what the rule does.

    enabled?: boolean

    Whether the rule is active.

    match: RuleMatch

    Conditions that must be met for the rule to apply.

    name: string

    Human-readable name for the rule.

    priority?: number

    Execution order for the rule. Lower numbers run first.

    trigger?: RuleTrigger

    When the rule is evaluated.