Slack and Zapier connect to automate team communication. You can trigger actions when new messages are posted and send channel messages or direct messages.
Prerequisites
To use the Slack app on Zapier, you must have:
- A Slack account (free or paid plan).
- If your workspace's apps are managed or restricted, you'll need a Slack workspace owner or admin permissions to install the Zapier app .
- Available app installation slots (free Slack plans are limited to 10 apps total per workspace).
Connect Slack to Zapier
To create an app connection to Slack on Zapier:
- Go to the Apps page.
- Click + Add connection.
- A new dialog box will appear. Search for and select Slack.
- Click Add connection.
- A new browser tab or window will open.
- Log into Slack to authenticate.
- Grant Zapier permission to access your account if prompted to.
Your Slack account is now successfully connected to Zapier.
About Slack's app
Triggers, searches, and actions
Triggers
- New Public Message Posted Anywhere (Instant) - Triggers when a new message is posted to any public channel.
- New Message Posted to Channel (Instant) - Triggers when a new message is posted to a specific #channel you choose.
- New File (Instant) - Triggers when a new file is uploaded to your workspace.
- New Message From Query (Polling) - Triggers when a new message is found that matches the query.
- New Message Posted to Private Channel (Instant) - Triggers when a new message is posted to a specific #private-channel or multi-dm.
- New Saved Message (Instant) - Triggers when you save a message.
- New Channel (Instant) - Triggers when a new #channel is created.
- New Team Custom Emoji (Instant) - Triggers when a custom emoji has been added to a team.
- New Mention (Instant) - Triggers when a username or highlight word is mentioned in a public #channel.
- New Reaction Added (Instant) - Triggers when a reaction (reactji) is added to a message.
- New Pushed Message (Instant) - Triggers when a Message is pushed from Slack.
- New User (Instant) - Triggers when a new Slack user is created / first joins your org.
Searches
- Get Message - Gets a particular Slack message using its IDs.
- Get Message Reactions - Returns a Message and its list of Reactions.
- Find Message - Finds a Slack message using the Slack Search feature.
- Find User by ID - Finds a user by their ID.
- Find User by Username - Finds a user by their username.
- Get Conversation - Retrieves information about a Conversation (e.g., public channel, private channel, DM, or group DM).
- Get Message Permalink - Gets the permalink for a particular Slack message.
- Find User by Email - Finds a user by matching against their email instead of their username.
- Find User by Name - Finds a user by matching against their real name instead of their username.
Actions
- Add Reminder - Adds a reminder for yourself or a teammate, just like the /remind command.
- Invite User to Channel - Invite an existing User to an existing Channel. You must be a member of the channel to invite someone to it.
- Send Direct Message - Sends a direct message to a user or yourself from the Slackbot. Can also schedule a message for later.
- Send Private Channel Message - Post a new message to a private channel you choose. Can also schedule a message for later.
- Set Channel Topic - Sets the topic on a selected channel.
- Set Status - Sets your Slack status to the given text and emoji.
- Remove User from Channel - This action removes a specified user from a specified channel in Slack.
- Edit Message - Edits a message.
- Find Public Channel - This action will find a public channel in Slack using either the channel's ID or name.
- Delete Message - This action deletes an existing message in a specific channel on Slack. You need to provide the channel ID and the message timestamp as inputs.
- Cancel Scheduled Message - Cancels a message that has been scheduled to be posted.
- Send Channel Message - Posts a message or thread reply to a channel. You can also schedule it to send later.
- Create Channel - Creates a new channel.
- Request Approval - Sends a message requesting approval. Includes buttons to submit "Approve" or "Decline" responses. Zap will be held until a submission is made, when it will continue to execute subsequent steps.
- Update Profile - Update basic profile fields such as name or title.
- API Request (Beta) - This is an advanced action which makes a raw HTTP request that includes this integration's authentication.
- Get Message by Timestamp - This action retrieves a specific message from a conversation history in Slack using the message's timestamp.
- Retrieve Thread Messages - This action retrieves all the messages sent to a specific thread in a selected channel.
- Create Private Channel - This action creates a private channel in Slack.
Limitations
- Message posting rate limits apply. Apps may post no more than one message per second per channel, with short bursts allowed but sustained exceeding can result in rate limiting.
- Messages that are preceded by indentation (message attachments) usually sent by bots, slash commands, or other integrations cannot trigger your workflows. However you can extract an attachment to use in your workflows.
- If you enter a slash command in an action, it will appear as text instead of running the actual slash command.
- You must use special formatting to include mentions and notifications in your workflows for them to work correctly.
- Test record data for new Slack messages will always include the
threads_ts
field, even if it's not in a thread. You can use this field to filter your Zaps to only trigger on new messages, not in Slack threads. - On a Zap run, the
threads_ts
field will only appear if it's a message within a thread.
Templates
View all of Slack's templates.
Use cases
- 7 Slack automation ideas
- Automatically set your Slack channel topic
- How to automatically summarize Slack threads
- Automatically send a Slack message for new Google Sheets activity
- How to format a Slack message in Zapier
Additional Slack resources
0 comments
Article is closed for comments.