# Slack integration

Slack validates the application ok marker as well as HTTP status. chat.update exposes ts at the response root; history/replies use conservative 15-item pages.

Canonical URL: https://opennodeflow.dev/wiki/integration-slack/
JSON reference: https://opennodeflow.dev/wiki/integration-slack/index.json
Source snapshot: 2026-10-23

Slack contributes **12 operations** in the current source catalog. Its implementation family belongs to the **Slack** pack. Add that pack to the chosen workspace before authoring with its definitions.

## Capabilities and boundaries

Slack validates the application ok marker as well as HTTP status. chat.update exposes ts at the response root; history/replies use conservative 15-item pages.

A bot token can support DM/MPIM replies; channel threads require the documented authorized token scopes. Membership, commercial history restrictions and rate limits still apply. A timestamp is a string identity; preserve it exactly for thread correlation.

## Configure the connection

Use an authorized bearer credential stored under the secret name `SLACK_BOT_TOKEN` or a deliberate override.

The source default base origin is `https://slack.com`. Domains under example.com/example.net are placeholders for your own API, not running public services. Use the exact provider API origin and trusted certificate chain. A connection profile can supply credentials and repeated target defaults; profile credentials take precedence over node secret-name overrides. These developer nodes do not obtain tokens or refresh grants.

Required account permissions depend on the operation: channels:read/groups:read/im:read/mpim:read for permitted conversations; history scopes for history; chat:write, reactions:write and users:read for corresponding methods. Membership and commercial history limits still apply.

## First bounded read

Start with **Slack List Conversations**, which is declared as a read. Its synthetic argument fixture is:

```json
{}
```

Replace the synthetic resource identifiers with an explicitly authorized target before any real read. An example is not an installed workflow and contains no credential values.

Set `maxPages:1` initially and inspect the result, `status`, selected direct fields and any `request_id`. Lists return `count`, `has_more` and optional `continuation`; not every provider resource is paginated. Keep the same resource/query scope when resuming. Optional outputs remain absent when the provider does not supply them. Wire only the fields present on the selected branch.

## Available operations

| Operation | Effect | API route |
| --- | --- | --- |
| [Slack List Conversations](/wiki/reference-dev-slack-list-conversations/) | read | `GET /api/conversations.list` |
| [Slack Get Conversation](/wiki/reference-dev-slack-get-conversation/) | read | `GET /api/conversations.info` |
| [Slack Read Conversation History](/wiki/reference-dev-slack-history/) | read | `GET /api/conversations.history` |
| [Slack Read Thread Replies](/wiki/reference-dev-slack-thread-replies/) | read | `GET /api/conversations.replies` |
| [Slack Post Message](/wiki/reference-dev-slack-post-message/) | write | `POST /api/chat.postMessage` |
| [Slack Update Message](/wiki/reference-dev-slack-update-message/) | write | `POST /api/chat.update` |
| [Slack Delete Message](/wiki/reference-dev-slack-delete-message/) | write | `POST /api/chat.delete` |
| [Slack Add Reaction](/wiki/reference-dev-slack-add-reaction/) | write | `POST /api/reactions.add` |
| [Slack Remove Reaction](/wiki/reference-dev-slack-remove-reaction/) | write | `POST /api/reactions.remove` |
| [Slack List Users](/wiki/reference-dev-slack-list-users/) | read | `GET /api/users.list` |
| [Slack Get User](/wiki/reference-dev-slack-get-user/) | read | `GET /api/users.info` |
| [Slack Get Message Permalink](/wiki/reference-dev-slack-message-permalink/) | read | `GET /api/chat.getPermalink` |

Each linked reference contains exact source arguments, named socket contracts, configuration schema, response shape and synthetic data. Source keys must be resolved to the installation's actual definition/version before graph editing.

## Bounds, changes and recovery

The shared developer adapter defaults to a 15-second request timeout, a 1 MiB response bound, one page and 1,000 accumulated items. Configurable maxima are 120 seconds, 3,000,000 response bytes, 20 pages and 5,000 items. Choose smaller limits where appropriate; an excessive response fails rather than becoming a silently complete list.

Read HTTP status and provider-specific success markers. Rejected authentication, permission failures and invalid requests need configuration correction. Rate limiting needs deliberate later scheduling. Same-origin/API-root continuation checks prevent sending credentials to an unrelated next link.

Write/delete operations require `confirmWrites:true` and ONF runtime `$retries:0`. Inspect the target and body before running. A timeout or lost response can follow a successful external action; reconcile the provider resource before repeating. HTTP 202 records acceptance, not completed work.

The reference is source-derived. Synthetic fixtures and isolated worker proof do not establish your account permissions, API availability or live delivery. See [shared setup](/wiki/integration-setup/) and [pack behavior](/wiki/library-packs/).

## Provider contract references

- [Provider reference 1](https://docs.slack.dev/reference/methods/)
- [Provider reference 2](https://docs.slack.dev/apis/web-api/pagination/)

---

## Documentation provenance

- `../OpenNodeFlow-Library/docs/DEVELOPER-PACKS.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/CONTRACT.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/collaboration-research.md`

This page describes maintained source, not a live inventory or an authorization to perform actions.
