Best answer

slack Limit action to only one emoji

  • 19 March 2021
  • 5 replies
  • 163 views

Userlevel 1

I created a Slack to Slack zap that each time a 📌 is clicked the message gets sent to a new slack channel called #Add_to_Wiki.

The problem is when someone else presses the 📌 emoji the same message gets sent again polluting the  wiki channel.

I tried looking but couldn't find anything to limit the reaction.

If that's not possible is there a way if the same message gets two reactions the second message  just threads to the first so it doesn't pollute the channel?

icon

Best answer by Troy Tessalone 21 March 2021, 17:36

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.

5 replies

Userlevel 7
Badge +14

@dovigz 

Unfortunately, a Zap can’t be made that simple, hence the need for additional Zap action steps to apply the logic.

Userlevel 7
Badge +14

Hi @dovigz 

You’d likely have to keep some sort of log to check against (e.g. in a GSheet)

Then you can check against the GSheet each time. (GSheets Lookup Row)

  • If match = TRUE, then don’t proceed, as that indicates a duplicate.
  • If match = FALSE, then “GSheet Add Row” and proceed, as that indicates no duplicate.
Userlevel 1

Thanks @Troy Tessalone  that sounds like it could work but sounds complicated…. is it possible on just two actions?

Userlevel 7
Badge +14

@dovigz 

What do you mean by “2 actions"?

Do you mean a Zap with 2 Steps? (1 trigger + 1 action)

Zap would require at least 5 Steps

Steps

  1. Trigger: Slack - New Reaction Added
  2. Action: GSheets - Lookup Row
  3. Action: Filter (if match = FALSE)
  4. Action: GSheets - Add Row
  5. Action: Slack - New Message in Channel
Userlevel 1

@Troy Tessalone \

I want something like this if possible

 

  1. Trigger: Slack - New Reaction Added
  2. Action: Slack - New Message in Channel and if the same message is there then thread it….