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.
| Output | Type | Description |
|---|---|---|
messageTs | string | Message timestamp (unique message ID) |
text | string | Message text |
user | string | Slack user ID of the sender |
channelId | string | Channel ID |
threadTs | string | Thread timestamp if the message is a reply |
type | string | Message type |
New Message by Search
Fires when a new message matching a search query appears in any channel you have access to.
| Output | Type | Description |
|---|---|---|
messageTs | string | Message timestamp |
text | string | Message text |
user | string | Sender's user ID |
channelId | string | Channel where the message appeared |
New Message in Conversation
Fires when a new direct message or conversation message arrives.
| Output | Type | Description |
|---|---|---|
messageTs | string | Message timestamp |
text | string | Message text |
user | string | Sender's user ID |
channelId | string | Conversation ID |
New Reaction in Channel
Fires when a reaction emoji is added to a message in a monitored channel.
| Output | Type | Description |
|---|---|---|
reaction | string | The emoji name (without colons) |
user | string | User who added the reaction |
messageTs | string | Timestamp of the reacted-to message |
channelId | string | Channel ID |
Actions
Send Message
Posts a message to a channel or conversation.
| Input | Required | Description |
|---|---|---|
| Channel ID | Yes | The channel or conversation ID to post to |
| Text | Yes | The message text (supports Slack mrkdwn formatting) |
| Output | Type | Description |
|---|---|---|
messageTs | string | Timestamp of the posted message |
channelId | string | Channel the message was posted to |
Reply to Message
Posts a reply in a thread.
| Input | Required | Description |
|---|---|---|
| Channel ID | Yes | Channel containing the original message |
| Thread Timestamp | Yes | The messageTs of the message to reply to |
| Text | Yes | Reply text |
Search Messages
Searches messages across channels you have access to.
| Input | Required | Description |
|---|---|---|
| Query | Yes | Search query |
| Output | Type | Description |
|---|---|---|
messages | array | Matching messages with text, user, channelId, ts |
Get Channels
Returns a list of channels in the workspace.
| Output | Type | Description |
|---|---|---|
channels | array | Channel objects with id, name, isPrivate |
Get Channels by Name
Finds channels whose name matches the search term. Partial matches count.
| Input | Required | Description |
|---|---|---|
| Channel Name | Yes | Name or part of a name to search for |
| Channel Types | No | All Channels, Public Only or Private Only |
| Output | Type | Description |
|---|---|---|
channels | array | Matching channels with their ID |
totalCount | number | Number of matching channels |
Get People
Returns workspace members.
| Output | Type | Description |
|---|---|---|
users | array | User objects with id, name, email, displayName |
Search User by Email
Finds a Slack user by their email address.
| Input | Required | Description |
|---|---|---|
| Yes | Email address to look up |
| Output | Type | Description |
|---|---|---|
user | object | User 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.
| Input | Required | Description |
|---|---|---|
| User ID | Yes | The user whose conversations you want |
| Conversation Types | No | All Types, Channels Only, Direct Messages Only or Group DMs Only |
| Limit | No | Maximum number of conversations (1 to 1000, default 100) |
| Output | Type | Description |
|---|---|---|
conversations | array | Conversations with ID, name and type |
totalCount | number | Number of conversations returned |
Get Conversation History
Retrieves recent messages from a channel or conversation.
| Input | Required | Description |
|---|---|---|
| Channel ID | Yes | Channel or conversation ID |
| Limit | No | Number of messages to retrieve |
| Output | Type | Description |
|---|---|---|
messages | array | Message objects |