Zum Inhalt springen
Agentic Workflowdocs
v0.8.2Kostenlos installieren

knoten / builtin / integration

Slack

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

Integration ErweiterungWeb-App — nicht verfügbar

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

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.
Für jede Auswahl
EinstellungTypWas es bewirkt
Credential (erforderlich)CredentialThe Credential to use to make the request.

11 Auswahlmöglichkeiten · wählen Sie Resource and Operation, um die Einstellungen zu sehen

Channel
Message
User
File

Einstellungen für Channel · Get many

EinstellungTypWas es bewirkt
Limit NumberNumber of results to return (1-1000). Standard: 100

Einstellungen für Channel · Get many werden angezeigt

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.
Seite bearbeiten

Zuletzt aktualisiert:

Was this page useful?
Aria zu Slack fragen