Skip to main content
Solved

How to break send Slack Message with conditional?

  • June 28, 2021
  • 1 reply
  • 20 views

I have a Automatoin to send Slack message.
But, in some conditional(like last step’s output put a null value for “Send a Slack message Action”), I will not send the message? How can i do?

Best answer by Justin_Barrett

Consider splitting this into two automations. The one that sends the Slack message would be triggered by a webhook, and could be designed to be generic enough to work for multiple situations. Your existing automation would then either call this webhook-triggered automation to send the Slack message, or just end without doing anything.

1 reply

Justin_Barrett
Forum|alt.badge.img+21

Consider splitting this into two automations. The one that sends the Slack message would be triggered by a webhook, and could be designed to be generic enough to work for multiple situations. Your existing automation would then either call this webhook-triggered automation to send the Slack message, or just end without doing anything.