slack.event.ingest ​
Ingest a verified Slack Events API envelope and normalize it for dispatch.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-slack |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization resolved by the HTTP verification boundary |
connection_uuid | uuid | Yes | — | Slack connection resolved by team/enterprise/signing secret lookup |
event_id | string | Yes | — | Slack Events API event_id |
event_time | integer | No | — | Slack event_time timestamp |
team_ref | string | No | — | Slack team id |
enterprise_ref | string | No | — | Slack enterprise id |
event_type | string | Yes | — | Slack event type |
payload | json | Yes | — | Verified Slack event payload |
workflow_run_id | string | No | — | Parent DAG run id (auto-injected by the engine when used as a DAG step) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
event_id | string | No | — | Slack event id |
event_type | string | No | — | Slack event type |
duplicate | boolean | No | — | True if event_id was already processed |
dispatch_target | string | No | — | Internal dispatch route selected for this event |
normalized_event | json | No | — | Normalized event envelope |
workflow_run_id | string | No | — | Parent DAG run id (auto-injected by the engine when used as a DAG step) |
failure_reason | string | No | — | Human-readable failure reason (engine-stamped) |
failure_type | string | No | — | Failure category (engine-stamped) |
failed_action | string | No | — | Action that failed (engine-stamped) |
failed_at_state | string | No | — | State where the workflow failed (engine-stamped) |
failed_step | string | No | — | DAG step that failed (engine-stamped) |
failed_layer | string | No | — | DAG layer that failed (engine-stamped) |
error | string | No | — | Error message (engine-stamped) |
error_type | string | No | — | Error class name (engine-stamped) |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "slack.event.ingest",
"initial_data": {
"organization_uuid": "value",
"connection_uuid": "value",
"event_id": "value",
"event_type": "value"
}
}