Skip to content
Proud to collaborate with Microsoft for Startups

ticket.ingest.alert-rule ​

Map a Lumen alert-rule firing into an incident ticket.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-tickets
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
alert_rule_uuidstringYes——
rule_namestringYes——
titlestringNo——
conditionstringYes——
severitystringNo——
subject_typestringNo——
subject_uuidstringNo——
error_group_uuidstringNo——
error_group_titlestringNo——
fingerprintstringNo——
error_typestringNo——
primary_projectstringNo——
valuefloatNo——
thresholdfloatNo——
fired_atdatetimeNo——
dedup_keystringNo—Explicit collapse key. Firings sharing it append to one ticket instead of opening a new one. Defaults to the fault signature.
last_releasestringNo——
first_releasestringNo——
affected_projectslistNo——
group_statusstringNo—Upstream group lifecycle state (open/resolved/regressed). 'regressed' vetoes any automatic retirement.

Output Schema ​

FieldTypeRequiredDefaultDescription
ticket_uuidstringNo——
createdbooleanNo——
occurrence_countintegerNo——
organization_uuidstringNo—Input field preserved in workflow state.
alert_rule_uuidstringNo—Input field preserved in workflow state.
rule_namestringNo—Input field preserved in workflow state.
titlestringNo—Input field preserved in workflow state.
conditionstringNo—Input field preserved in workflow state.
severitystringNo—Input field preserved in workflow state.
subject_typestringNo—Input field preserved in workflow state.
subject_uuidstringNo—Input field preserved in workflow state.
error_group_uuidstringNo—Input field preserved in workflow state.
error_group_titlestringNo—Input field preserved in workflow state.
fingerprintstringNo—Input field preserved in workflow state.
error_typestringNo—Input field preserved in workflow state.
primary_projectstringNo—Input field preserved in workflow state.
valuefloatNo—Input field preserved in workflow state.
thresholdfloatNo—Input field preserved in workflow state.
fired_atdatetimeNo—Input field preserved in workflow state.
dedup_keystringNo—Input field preserved in workflow state.
last_releasestringNo—Input field preserved in workflow state.
first_releasestringNo—Input field preserved in workflow state.
affected_projectslistNo—Input field preserved in workflow state.
group_statusstringNo—Input field preserved in workflow state.
failed_atstringNo—ISO-8601 timestamp when action_fail recorded the failure
failure_reasonstringNo—Human-readable failure reason from action_fail
failure_typestringNo—Engine-stamped failure category
failed_actionstringNo—Engine-stamped action that raised
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerstringNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—executeAccepted
executingNoNo—completeApplying the mutation
completedNoYesYes—Done
failedNoYesNo—Failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedexecuteexecutingRun the mutation
executingcompletecompletedFinalize
* (any state)failfailedCatch-all failure

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "ticket.ingest.alert-rule",
  "initial_data": {
    "organization_uuid": "value",
    "alert_rule_uuid": "value",
    "rule_name": "value",
    "condition": "value"
  }
}