Get Channel History
slack.get_channel_history
ActionChat & messagingconnection required
Calls Slack's conversations.history.
Read recent messages from a Slack channel via a bot token.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Slack
- Secret shape
- the Slack bot token (xoxb-…)
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
channel Channel id (e.g. C012AB3CD). Supports {{ }}. | string | Yes | — | — | — |
limit Max messages (1-1000). | number | No | 20 | ≥ 1 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"limit": 20
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
messages | array | — |
count | number | — |
has_more | boolean | — |
{
"count": 0,
"has_more": false,
"messages": []
}Templates that use Slack
See Get Channel History run in a workflow.
In a technical demo we add the Slack connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.