跳转到内容
Agentic Workflowdocs
v0.8.2免费安装

节点 / builtin / integration

Slack

Integrate with Slack to perform operations on channels, messages, users, and files.

集成 扩展程序网页应用 — 不可用

此内容尚不支持你的语言。

Post, read, edit and search Slack messages, look up channels and people, and share files, from a workflow.

The Slack node works on four kinds of things (Resource), each with its own Operation:

  • Channel: list the channels the token can see, or get one channel’s details.
  • Message: send, read, update, delete or search messages.
  • User: list workspace members, or get one person’s profile.
  • File: upload a file to channels, or get a file’s details.

It cannot create or archive channels, or manage members.

Channel, User and Message fields are lists loaded from your workspace once a credential is set, so you can pick instead of typing ids. You can still type an id or use an expression.

  • Post an alert when something changes: a price drop, a new form entry, a failed run.
  • Send a daily digest built by earlier nodes to a channel.
  • Upload a screenshot or a generated file to a channel.
  • Search past messages and pass them to an AI node.
适用于所有选项
设置项类型作用
Credential (必填)CredentialThe Credential to use to make the request.

11 个选项 · 选择“Resource and Operation”以查看其设置

Channel
Message
User
File

Channel · Get many 的设置

设置项类型作用
Limit NumberNumber of results to return (1-1000). 默认值:100

正在显示 Channel · Get many 的设置

To reply in a thread, put the parent message’s timestamp in Thread Timestamp (Slack’s ts, for example 1712345678.123456). For File → Upload, the file comes from the incoming item’s $binary data (the key named in Binary source, data by default), as produced by Http Request, Screenshot Page or Convert to File.

  • Output

Get many and Get (messages) return a list, one item per channel, user or message. Send returns the posted message, including its ts, which you can reuse to update, delete or reply to it. Search returns the matching messages.

  • Credential (connection, Bearer Token): required. See Connect Slack.

Use a Slack bot or user token. The token’s scopes decide what works: for example chat:write to send, channels:read to list channels, search:read (user token) to search, files:write to upload. See Create a credential.

  1. A Schedule trigger runs every weekday at 9:00.
  2. RSS Feed Read and Limit pick the 3 newest posts.
  3. Aggregate puts them in one item.
  4. Slack, Message → Send, to #news, with a Text listing the titles and links.
  • The run is blocked in the web app. Slack runs through the browser extension. Install the extension and allow Slack for this workflow when asked, or run the workflow from the extension.
  • “missing_scope” or “not_allowed_token_type”. The token lacks the scope for this operation. Add the scope in your Slack app settings, reinstall the app to the workspace, and update the credential.
  • “not_in_channel”. Invite the bot to the channel (/invite @your-bot) before sending to it.
  • “Slack file upload: no binary found on the incoming item”. The previous node did not produce a file under the key in Binary source. Check the key, or add a node that produces a file.
  • The channel list is empty. Set the credential first; the list loads from Slack with it.
编辑此页

最近更新:

Was this page useful?
向 Aria 询问“Slack”