slack.channel.resolve ​
Resolve a Slack channel name, channel id, or DM target into a conversation id.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-slack |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization that owns the Slack connection |
connection_uuid | uuid | Yes | — | Slack CloudConnection UUID |
channel | string | Yes | — | Channel id, #name, or DM target to resolve |
allow_dm | boolean | No | — | Allow opening/resolving DMs when channel is a user id |
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 |
|---|---|---|---|---|
channel | string | No | — | Resolved Slack conversation id |
channel_name | string | No | — | Slack display name when available |
channel_type | string | No | — | channel, group, im, or mpim |
resolved | boolean | No | — | True when an id was resolved |
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.channel.resolve",
"initial_data": {
"organization_uuid": "value",
"connection_uuid": "value",
"channel": "value"
}
}