Slack
Posts messages, threads and file uploads to channels in workspaces you authorise.
Connection note
Connects a Slack workspace channel via Slack OAuth 2.0. Invite the bot to private channels before posting.
Specification summary
- Text limit
- 4,000 charactersUnicode graphemes (Intl.Segmenter)
- Media attachments
- up to 10 images, up to 10 videos, up to 10 documents (mixed kinds allowed)
- Threads and parts
- Post plus follow-up comments (up to 15 parts)
- Authentication
- OAuth 2.0Cloud shares a platform app once reviewed; self-hosters register their own app.
- Approvals and autonomy
- Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish)Default publish:
in_the_loop· Ceiling:on_the_loop - Analytics and API cost
- Allowed for analytics and learningIncluded (no per-call platform API surcharge)
Authentication and token lifecycle
Credentials are encrypted at rest and scoped to the connected channel. You can revoke and scrub stored tokens immediately via POST /v2/channels/disconnect or from the web app; see Data deletion for full revocation and deletion details.
| Variant | Flow | Refresh policy | Platform scopes |
|---|---|---|---|
| Sign in with SlackMulti-step: Select a channel | OAuth 2.0 | none | channels:readchannels:joingroups:readchat:writechat:write.customizefiles:write |
Content and media constraints
Editor mode: markdown. Minimum text length: 0. Polls: not supported. AI content disclosure: no API disclosure field.
| Kind | Accepted MIME types | Max count | Max file size | Additional bounds |
|---|---|---|---|---|
image | image/jpegimage/pngimage/webpimage/gif | 10 | 20 MiB | None |
video | video/mp4video/quicktime | 10 | 50 MiB | None |
document | application/pdf | 10 | 20 MiB | None |
Guardrails, rate limits and compliance
Manifest validation rules
- Hard rule
slack.message_limitKeep each Slack message within 4,000 characters; Slack splits longer messages automatically.
- Hard rule
slack.external_uploadAttach up to 10 images, videos, or PDFs per part; files upload via Slack's external upload flow and share into the channel or thread.
Queue and rate-limit windows
Worker queue: slack (max 4 concurrent jobs).
| Scope | Operation | Window | Max operations |
|---|---|---|---|
channel | publish | 1 minute | 50 |
Shipped platform guardrails
- forbidApplies to: agent, oauth_client, api_key, user
Honeloop does not reply to other members' Slack messages (26 R4-N1); thread replies stay on posts Honeloop published.
- forbidApplies to: agent, oauth_client, api_key
Automated third-party replies are out of scope on closed platforms (26 R4-N1).
- forbidApplies to: user, api_key, oauth_client, agent
Direct messages are out of scope (constitution §1).
Manifest helper tools
Invoke via POST /v2/providers/invoke_tool or MCP invoke_provider_tool:
- List Slack channels
list_channelschannels:readLists up to 50 active public and private channels in the connected Slack workspace. Example: {} returns [{"id":"C0123456789","name":"#announcements","is_private":false}].
Publish to Slack
Every call passes the same 12-stage policy gate, manifest preflight check and audit trail. Under the default in_the_loop policy, scheduling returns HTTP 202 ApprovalDiversion until a reviewer approves.
# Draft and schedule for your Slack channel (provider: slack) hl posts create --channels "$CHANNEL_ID" --text "Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00." hl posts schedule "$POST_ID" --version 1 --at 2026-11-26T09:30:00Z hl posts status "$POST_ID"
curl -sS -X POST "https://api.honeloop.example/v2/posts/create" \
-H "Authorization: Bearer $HONELOOP_AGENT_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: create-slack-0001" \
-d '{
"channel_ids": ["0197e3a0-0000-7000-8000-0000000000a5"],
"parts": [
{ "kind": "text", "text": "Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00." }
]
}'Common questions
How does Honeloop count characters for Slack?
Slack allows up to 4,000 characters by default using Unicode graphemes (Intl.Segmenter). Honeloop validates text length before scheduling and rejects over-limit drafts with 400 validation_failed instead of failing after approval.
What media and multi-part formats does Slack support?
up to 10 images, up to 10 videos, up to 10 documents (mixed kinds allowed). Post plus follow-up comments (up to 15 parts).
How do authentication and approvals work on Slack?
Slack connects via OAuth 2.0. Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish). Disconnecting the channel immediately revokes and scrubs stored credentials.
What compliance guardrails apply to Slack?
Analytics AI posture is allowed. Cost model: Included (no per-call platform API surcharge). Access status: development access while platform review is pending.