Zum Inhalt springen
DeutschlandGPT

Slack

Send messages, search channels, manage Slack conversations from workflows

Connect Slack to send messages, search channels, and react to new messages or reactions from your workflows.

Authentication: OAuth 2.0. Connect your Slack workspace on the integrations page.

Triggers

New Message in Channel

Fires when a new message is posted in a specific channel.

OutputTypeDescription
messageTsstringMessage timestamp (unique message ID)
textstringMessage text
userstringSlack user ID of the sender
channelIdstringChannel ID
threadTsstringThread timestamp if the message is a reply
typestringMessage type

Fires when a new message matching a search query appears in any channel you have access to.

OutputTypeDescription
messageTsstringMessage timestamp
textstringMessage text
userstringSender's user ID
channelIdstringChannel where the message appeared

New Message in Conversation

Fires when a new direct message or conversation message arrives.

OutputTypeDescription
messageTsstringMessage timestamp
textstringMessage text
userstringSender's user ID
channelIdstringConversation ID

New Reaction in Channel

Fires when a reaction emoji is added to a message in a monitored channel.

OutputTypeDescription
reactionstringThe emoji name (without colons)
userstringUser who added the reaction
messageTsstringTimestamp of the reacted-to message
channelIdstringChannel ID

Actions

Send Message

Posts a message to a channel or conversation.

InputRequiredDescription
Channel IDYesThe channel or conversation ID to post to
TextYesThe message text (supports Slack mrkdwn formatting)
OutputTypeDescription
messageTsstringTimestamp of the posted message
channelIdstringChannel the message was posted to

Reply to Message

Posts a reply in a thread.

InputRequiredDescription
Channel IDYesChannel containing the original message
Thread TimestampYesThe messageTs of the message to reply to
TextYesReply text

Search Messages

Searches messages across channels you have access to.

InputRequiredDescription
QueryYesSearch query
OutputTypeDescription
messagesarrayMatching messages with text, user, channelId, ts

Get Channels

Returns a list of channels in the workspace.

OutputTypeDescription
channelsarrayChannel objects with id, name, isPrivate

Get Channels by Name

Finds channels whose name matches the search term. Partial matches count.

InputRequiredDescription
Channel NameYesName or part of a name to search for
Channel TypesNoAll Channels, Public Only or Private Only
OutputTypeDescription
channelsarrayMatching channels with their ID
totalCountnumberNumber of matching channels

Get People

Returns workspace members.

OutputTypeDescription
usersarrayUser objects with id, name, email, displayName

Search User by Email

Finds a Slack user by their email address.

InputRequiredDescription
EmailYesEmail address to look up
OutputTypeDescription
userobjectUser object with id, name, email

Get Current User

Returns the Slack account behind the connection: id, name, realName, email, teamId and teamName. No inputs.

List User Conversations

Lists the channels and direct messages a user belongs to.

InputRequiredDescription
User IDYesThe user whose conversations you want
Conversation TypesNoAll Types, Channels Only, Direct Messages Only or Group DMs Only
LimitNoMaximum number of conversations (1 to 1000, default 100)
OutputTypeDescription
conversationsarrayConversations with ID, name and type
totalCountnumberNumber of conversations returned

Get Conversation History

Retrieves recent messages from a channel or conversation.

InputRequiredDescription
Channel IDYesChannel or conversation ID
LimitNoNumber of messages to retrieve
OutputTypeDescription
messagesarrayMessage objects
Was this page helpful?