Skip to content
Proud to collaborate with Microsoft for Startups

slack.interaction.dispatch ​

Dispatch verified Slack Block Kit interaction payloads, including approval callbacks.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-slack
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization resolved by the HTTP verification boundary
connection_uuiduuidYes—Slack connection resolved by team/enterprise/signing secret lookup
interaction_typestringYes—Slack interaction type
callback_idstringNo—Slack callback id or block action id
action_idstringNo—Slack action id
user_refstringYes—Slack user id
channelstringNo—Slack channel id
message_tsstringNo—Original Slack message ts
response_urlstringNo—Ephemeral Slack response URL; do not persist
payloadjsonYes—Verified interaction payload
workflow_run_idstringNo—Parent DAG run id (auto-injected by the engine when used as a DAG step)

Output Schema ​

FieldTypeRequiredDefaultDescription
interaction_typestringNo—Interaction type handled
actionstringNo—Internal action selected
actor_uuiduuidNo—Resolved Orkestia actor when mapping succeeds
response_payloadjsonNo—Slack response/update payload
workflow_run_idstringNo—Parent DAG run id (auto-injected by the engine when used as a DAG step)
failure_reasonstringNo—Human-readable failure reason (engine-stamped)
failure_typestringNo—Failure category (engine-stamped)
failed_actionstringNo—Action that failed (engine-stamped)
failed_at_statestringNo—State where the workflow failed (engine-stamped)
failed_stepstringNo—DAG step that failed (engine-stamped)
failed_layerstringNo—DAG layer that failed (engine-stamped)
errorstringNo—Error message (engine-stamped)
error_typestringNo—Error class name (engine-stamped)

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "slack.interaction.dispatch",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value",
    "interaction_type": "value",
    "user_ref": "value"
  }
}