
JacksonK.52224 (Customer) asked a question.
hi there,
I have several workflows and I was wondering if any of them fails, can the error message be sent to a slack channel or email?
I already have seen this article:
But this requires me to put my entire worfklow in "try" and then set up an "if error" slack/ email alert.
I was wondering if there is simple a function I can put into the end of the workflow that would trigger when any part of the workflow fails and sends an alert/ message?

@JacksonK.52224 (Customer) I used that exact article you mentioned and create one specifically for Successes and Failures > created a completely new private channel for this.
It's becomes like an audit channel that you can use to search to see the history - if you include loads of info, like the email, name if you're using it for custom LCM. You can put the Flow History error URL in a Failure card.
Use https://app.slack.com/block-kit-builder - to make your Slack messages stand out and customised.
I put a Success Message at the end of a WF > pass to child flow to post the Slack message. If it gets to the end of the WF, then everything before it must have worked.
Use the If/Error and create your failure message in the Error part > pass to your "Post Failure" Slack child flow.