Skip to content
Proud to collaborate with Microsoft for Startups

notification.incident.create-and-escalate ​

Create an incident notification thread, notify primary responders, escalate after timeout, and record acknowledgement state.

Create an incident notification thread, notify primary responders, escalate after timeout, and record acknowledgement state.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-slack
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—DAG-stamped parent run id.
organization_uuiduuidYes—Organization UUID for tenant isolation.
actorstringNo—User or service actor initiating the workflow.
idempotency_keystringNo—Caller-supplied idempotency key for safe retries.
dry_runbooleanNo—Validate and plan without mutating external resources.
incident_titlestringYes—Incident title.
severitystringNo—Incident severity.
descriptionstringNo—Incident description.
primary_channelslistYes—Primary notification channels.
escalation_channelslistNo—Escalation notification channels.
ack_timeout_secondsintegerNo—Acknowledgement timeout.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization uuid.
workflow_run_uuiduuidNo—Workflow run uuid.
statusstringNo—Status.
summaryjsonNo—Summary.
resource_refsjsonNo—Resource refs.
warningslistNo—Warnings.
completed_atstringNo—Completed at.
compensation_triggerstringNo—Compensation trigger.
compensation_resultsjsonNo—Compensation results.
notification_route_create_multi_channeljsonNo—Output state_data from DAG step notification_route_create_multi_channel.
slack_message_sendjsonNo—Output state_data from DAG step slack_message_send.
slack_approval_requestjsonNo—Output state_data from DAG step slack_approval_request.
identity_user_queryjsonNo—Output state_data from DAG step identity_user_query.
slack_message_send_5jsonNo—Output state_data from DAG step slack_message_send_5.
failure_reasonstringNo—Failure reason.
failed_stepjsonNo—Failed step.
failed_layerjsonNo—Failed layer.
failed_at_statestringNo—Failed at state.
errorstringNo—Error.
error_typestringNo—Error type.
failed_atstringNo—Failed at.

DAG Layers ​

#LayerStepsCompensation
101_notification_route_create_multi_channelnotification.route.create-multi-channel—
202_slack_message_sendslack.message.send—
303_slack_approval_requestslack.approval.request—
404_identity_user_queryidentity.user.query—
505_slack_message_send_5slack.message.send—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
notification.route.create-multi-channelnotification_route_create_multi_channel
slack.message.sendslack_message_send
slack.approval.requestslack_approval_request
identity.user.queryidentity_user_query

API Usage ​

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

{
  "workflow_type": "notification.incident.create-and-escalate",
  "initial_data": {
    "organization_uuid": "value",
    "incident_title": "value",
    "primary_channels": "value"
  }
}