Best answer

Slack Private Channel: Only send message if user is in channel

  • 18 August 2021
  • 1 reply
  • 55 views

Userlevel 1

I have a very simple Zap that is triggered when my team’s CRM detects an issue with a customer (e.g. an automated email campaign bounced). Using the CRM data, the Zap finds the customer’s assigned consultant in Slack, then sends a private channel message to our bouncelog, @ mentioning the consultant and giving a link to the customer’s info. Unfortunately, we recently started having issues where the Zap is being triggered for customers with consultants that aren’t part of our team, and therefore aren’t members of this channel. The Zap still tries to @ mention them, which causes problems on the Slack channel.

Is there a way to look up the members of a Slack channel to use in a filter/code step? Or some other way to make sure this Zap doesn’t try to @ mention users who aren’t in the channel?

icon

Best answer by Troy Tessalone 18 August 2021, 17:12

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @mgarrett2767 

Try one of these Slack action steps in the Zap followed by a Filter step.

Filter: https://zapier.com/apps/filter/help