Skip to content

SentryWorkflow

Defined in: workflows/workflows.ts:65

What a workflow (an alert rule in Sentry’s Monitors → Alerts) is made of, as sent when creating or updating one.

actionFilters: object[]

Defined in: workflows/workflows.ts:77

The condition groups with the actions each runs, with the ids Sentry gave them.

actions: SentryWorkflowActionRead[]

conditions: SentryWorkflowConditionRead[]

optional id?: string

logicType: string

SentryWorkflowInput.actionFilters


config: object

Defined in: workflows/workflows.ts:42

frequency is minutes between notifications for one issue.

frequency: number

Minutes between notifications for one issue.

SentryWorkflowInput.config


detectorIds: string[]

Defined in: workflows/workflows.ts:47

The detectors it is attached to; an issue stream detector per project covers that project’s issues.

SentryWorkflowInput.detectorIds


enabled: boolean

Defined in: workflows/workflows.ts:38

Whether the workflow is active.

SentryWorkflowInput.enabled


environment: string | null

Defined in: workflows/workflows.ts:40

The environment it is limited to, or null for all.

SentryWorkflowInput.environment


id: string

Defined in: workflows/workflows.ts:67

The workflow id.


name: string

Defined in: workflows/workflows.ts:36

The workflow’s name.

SentryWorkflowInput.name


triggers: object

Defined in: workflows/workflows.ts:68

The conditions that start the workflow.

conditions: SentryWorkflowConditionRead[]

The trigger conditions, with the ids Sentry gave them.

optional id?: string

The id Sentry gave the trigger group.

logicType: string

How conditions combine.

SentryWorkflowInput.triggers