What Slack Triggers and Actions are Supported?#

Supported Triggers#

  • New Mention - Triggers when a username or highlight word is mentioned in a public #channel.
  • New User - Triggers when a new Slack user is created / first joins your org.
  • New Team Custom Emoji - Triggers when a custom emoji has been added to a team.
  • New Reaction Added - Triggers when a reaction (aka reactji) is added to a message in a public #channel.
  • New Starred Message - Triggers when you star a message.
  • New Message Posted to Channel - Triggers when a new message is posted to a specific #channel you choose.
  • New Public Message Posted Anywhere - Triggers when a new message is posted to any public channel.
  • New Message Posted to Private Channel - Triggers when a new message is posted to a specific #private-channel or multi-dm.
  • New Channel - Triggers whenever a new #channel is created.

Supported Actions#

  • Set Channel Topic - Sets the topic on a selected channel.
  • Send Direct Message - Send a direct message to a user or yourself from the Slackbot.
  • Send Channel Message - Post a new message to a specific #channel you choose.
  • Set Status - Sets your Slack status to the given text and emoji.
  • Update Profile - Update basic profile fields such as name or title
  • Add Reminder - Adds a reminder for yourself or a teammate, just like the /remind slash command.
  • Send Private Channel Message - Post a new message to a private channel you choose.
  • Create Channel - Creates a new new channel.

Supported Searches#

  • Find Message - Finds a Slack message using the Slack Search feature.
  • Find User by Email - Finds a user by matching against their email instead of their username.
  • Find User by Username - Finds a user by their username.
  • Find User by Name - Finds a user by matching against their real name instead of their username.

How to Get Started with Slack on Zapier#

The first thing you'll need to do to get started with hooking up Slack with Zapier and the hundreds of apps we work with is adding your Slack account to Zapier. When the time is right, we'll ask you to add your Account:

Get started with adding your account!

You should then get a pop-up window from Slack asking you which Slack Team account you'd like to connect:

Team

You'll then be asked to authorize the connection between Slack and Zapier.

Authorize

After authorizing, you'll get sent back to Zapier where you now have your Slack account connected!

Success

↑ Was this documentation useful? Yes No (Suggest Edits)

Popular Things to do with Slack#

Tips for Formatting Slack Messages.#

Message Text Formatting#

To format your message's text with styling (such as bold, italic, block quotes, code blocks and lists) you'll simply need to enter these in the same way you would do on Slack.

For example entering this:

Slack formatting in Zapier

Will look like this in Slack:

Slack formatting in Slack

You can read more on formatting the text on messages on Slack's formatting help guide here.

Formatting Links#

Slack will recognise normal links and make sure they're clickable on your post.

If you want to make text into link, simply enter your link in the following format into the text field:

<http://www.zapier.com|Text to make into a link>

Like this:

link in Zapier

Which will look like this in Slack:

link in Slack

Slack Announcements.#

For special announcements such as @channel, @group, @here and @everyone, you'll need to enter those in the following format:

<!channel>, <!group>, <!here> and <!everyone>

Like this:

Announcements in Zapier

Which will look like this in Slack:

Announcements in Slack

Emoji#

If you want to pass on an Emoji as part of your message, you'll just need to use the colon version of it for example:

:smile: :white_check_mark: or :simple_smile:

Like this:

emoji on Zapier

Which will look like this in Slack:

emoji on Slack


This is just a basic overview of what is possible. For more detailed information on formatting your Slack's messages, you can refer to their formatting guide here.

Please don't hesitate to drop us a message if you get stuck or need a hand at all.

↑ Was this documentation useful? Yes No (Suggest Edits)

Common Problems with Slack#

Attachments#

Right now sending attachments within Slack messages through Zapier are not supported.

My triggers aren't picking up the messages I need!#

The message you're looking to trigger off of might be sent as a message attachment in Slack. If the message is proceeded by an indent, then it's a message attachment:

Slack Message Attachment Example

Normally these are messages sent by bots, slash commands, or other Slack integrations. Unfortunately, none of our triggers are currently able to trigger on content in message attachments.

Sending direct messages as a user#

This only applies to the legacy app (named Slack (Legacy). If you're creating a new zap, you can safely ignore this

Right now it is not possible to send direct messages to one user, from another user. Direct Messages will always be sent to the recipient via their Slackbot direct message.

Sending channel messages as a user#

There are no special actions needed to send messages as yourself. If you're seeing errors, please write in at contact@zapier.com.

Slash commands are not executing#

Unfortunately, it's not possible to post slash commands to Slack via their API, so if you send /giphy cute cats it'll just show up with that text.

If you'd like to use Zapier to build a slash command, check out this helpful guide.

Error: Could Not Add Service#

If you see this error, it means that your team's free Slack account is at the limit of 10 integrations. You'll need to upgrade your Slack account or disconnect another integration.

Channel names are posting as text rather than link#

If you see this:

But want this:

Make sure that the "Send @mentions notifications?" field is set to "Yes."

My New Mention trigger is not finding any messages#

You must specify either a User Name or a Highlight Word for this zap to work. If you specify both, then both the user name and the highlight word will need to be included in a single message in order to trigger the zap.

If you've specified one or both and the trigger, click the Continue button, then click "Connect & Continue". Once you see the spinning wheel, go into Slack and post a message with the trigger criteria in any public channel. Zapier will receive that message and you'll see the trigger marked as Test Successful:

When testing a "new message" trigger, the test says it can't find any messages even though there are plenty!#

When testing message triggers, we only look for messages from humans (not apps or bots). Human users have profile information that you might want to map (while bot users don't), so we want that to be available in the editor. If Listen for Bots is true, then we'll trigger properly during actual runs.

↑ Was this documentation useful? Yes No (Suggest Edits)
Get Help