slack.webhook.dispatch ​
Route a verified inbound Slack webhook (event, command, or interaction) to its handler.
Receive every verified Slack webhook and route it to the right handler.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-slack |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_uuid | string | No | — | DAG-stamped parent run id (auto-injected by the engine) |
organization_uuid | uuid | Yes | — | Organization resolved by the api-core verification boundary |
connection_uuid | uuid | Yes | — | Slack connection resolved from team/enterprise id |
webhook_kind | string | Yes | — | Inbound shape: 'event', 'command', or 'interaction' |
payload | json | Yes | — | Raw verified Slack payload (parsed body / parsed interactivity payload) |
team_ref | string | No | — | Slack team id |
enterprise_ref | string | No | — | Slack enterprise id |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_uuid | json | No | — | — |
organization_uuid | json | No | — | — |
connection_uuid | json | No | — | — |
webhook_kind | json | No | — | — |
payload | json | No | — | — |
team_ref | json | No | — | — |
enterprise_ref | json | No | — | — |
event | json | No | — | — |
command | json | No | — | — |
interaction | json | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
failed_at_state | string | No | — | — |
failed_layer | json | No | — | — |
failed_step | string | No | — | — |
failure_reason | string | No | — | — |
compensation_trigger | json | No | — | — |
comp_queue | json | No | — | — |
comp_current_layer | json | No | — | — |
comp_retry_count | json | No | — | — |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | dispatch | slack.event.ingest, slack.command.dispatch, slack.interaction.dispatch | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
slack.event.ingest | event |
slack.command.dispatch | command |
slack.interaction.dispatch | interaction |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "slack.webhook.dispatch",
"initial_data": {
"organization_uuid": "value",
"connection_uuid": "value",
"webhook_kind": "value",
"payload": "value"
}
}