You can set up notifications within a Workflow (using the Notification Block pictured to the right), on a Workflow as a whole, or for changes in a Workflow's performance over time. Each notification type supports both Slack and Email notification.
Visit the Credentials tab, and click Add New Credential. Then select Slack, and click Next.
Give your new credential a name that will be easy for you to identify. For example “Team Slack - Development”. On the next screen click the authorize button, and you’ll be taken to the Slack application authorization flow. Follow the prompts to authorize your Modern Logic instance to send messages via Slack - once your done, save this new credential.
From inside a Workflow in Edit mode, drag out a Notification block. If the execution flow of your workflow reaches this block, a notification will be sent, so position the block accordingly (usually in a breakout path)
Once the Notification block is positioned on the Graph, click Save, and then select your new block. Choose a notification type (we’ll use Slack in this example), and then pick your Credential from the Slack Account drop down.
You should see channels populate here (note: we don’t yet support direct messages on Slack). Finally, you can create your message in the message box. You can use double curly brackets to include templated fields from the test input on the right.
When you’re ready, click Test to verify your message. Then click Save.
Click on the Output block of your Workflow. Then click on Notifications in the right hand configuration panel.
You can then set up notifications by clicking Add Notifications, and using the same message editor as the Notifications Block above.
You can also set up notifications at the overall workflow level, to notify you when there are changes in performance (number of daily executions, errors, warnings, and abnormal runtimes)
From the Analytics page, click the Performance tab and select your workflow. For each metric, you can configure a notification by clicking the Bell icon in the top right of your graph. From there you can configure the Threshold for when you’d like to be notified - for example in this graph, we’d notify you if the number or daily executions shifted by more than 40% up or down from the 7 day average.
Click next, and select a Slack credential, channel, and alert message just like in the Notification block section above. Alerts will only trigger once a day, so you may not see alerts appear immediately.
Updated 5 months ago