Skip to content
Proud to collaborate with Microsoft for Startups

slack.channel.resolve ​

Resolve a Slack channel name, channel id, or DM target into a conversation id.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-slack
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization that owns the Slack connection
connection_uuiduuidYes—Slack CloudConnection UUID
channelstringYes—Channel id, #name, or DM target to resolve
allow_dmbooleanNo—Allow opening/resolving DMs when channel is a user id
workflow_run_idstringNo—Parent DAG run id (auto-injected by the engine when used as a DAG step)

Output Schema ​

FieldTypeRequiredDefaultDescription
channelstringNo—Resolved Slack conversation id
channel_namestringNo—Slack display name when available
channel_typestringNo—channel, group, im, or mpim
resolvedbooleanNo—True when an id was resolved
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.channel.resolve",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value",
    "channel": "value"
  }
}