Skip to main content
Question

Zapier to trigger Slack message for post/replies with certain keywords and/or tags

  • November 14, 2022
  • 5 replies
  • 739 views

tiffany.oda
Forum|alt.badge.img
  • Contributor ⭐️⭐️⭐️⭐️⭐️
  • 59 replies

I’m looking for a way to send an alert in Slack when there is a post or reply in the community that has a keyword and/or specific tags added to it. Unfortunately it doesn’t look like either of those are trigger events in Zapier. 

Does anyone have any workarounds, or is there a way to get these added as triggers? 

 

 

5 replies

DannyPancratz
Forum|alt.badge.img+7
  • VIP ⭐️⭐️⭐️⭐️⭐️
  • 961 replies
  • November 14, 2022

I think you can do this via Webhooks

  1. Catch hook
    • App: Webhooks by Zapier
    • Event: Catch Hook
    • Webhook URL: Support can help you set this up 
  2. Filter
  3. {Your slack actions}

You’re going to get the content in the payload for sure. Not sure about tags though (not seeing them in the example here)


DannyPancratz
Forum|alt.badge.img+7
  • VIP ⭐️⭐️⭐️⭐️⭐️
  • 961 replies
  • November 14, 2022

Edited the original reply above to give you more specificication.

Also, I realized why tags don’t come through: Tags sit on the Topic, not on the reply. 

So if you want tags on from the reply, you could add a few steps (but they’ll eat up your Zap actions totals)

  • PUT request to authenticate with the API
  • GET request to get the additional info from original topic

DannyPancratz
Forum|alt.badge.img+7
  • VIP ⭐️⭐️⭐️⭐️⭐️
  • 961 replies
  • November 14, 2022

Reading this again…

The New Reply Trigger probably takes care of your trigger, not webhooks. Then the filter option to stop the Zap unless it meets your conditions. 

It could also be paired well with another Zap where the initial New Topic trigger only goes through with specific tags. 

(sorry for the spam replies 🙃, I think I misread the original goal)


  • 0 replies
  • November 16, 2022

@tiffany.oda I think you could do this using Zapier and the inSided trigger today, then use a Zapier filter to determine whether or not to post in Slack.

Trigger: inSided

Filter: Filter by Zapier, choose the relevant field from inSided that you want to filter on (likely the ‘Content’, the condition, and the text

Action: Slack (if true based on the filter), send channel message or direct message


bas
Forum|alt.badge.img+1
  • Helper ⭐️⭐️⭐️
  • 87 replies
  • November 17, 2022

I think Danny and Scott are on the mark indeed. You’d run Zaps for all topics, but stop the Zap if the content of the post does not contain the keyword

You’d use the “contains” filter option: https://help.zapier.com/hc/en-us/articles/8496014252301


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings