TLTan LeAI, cloud & automation for legacy systems · CalgaryLet’s talk
← All posts

Power Automate business case: Slack alerts from Azure SQL

Posting alerts to Slack with Power Automate when a stored procedure in Azure SQL finds rows that hit the criteria.

From the archive · a 2021 working note, kept for reference.

Business case

Automatically post an alert message to Slack when data hits the criteria, using a stored procedure in Azure SQL.

Solution

Assume we already have the data below, produced by the stored procedure.

Stored procedure results: events with quantity available, price filters and alert criteria to post as alerts

The flow:

Flow: recurrence trigger, execute the SQL stored procedure, then post a Slack message for each result row

The result in Slack:

Alert messages posted to the Slack auto_alerts channel with event, date, venue, quantity and price filter details

First published on tanldt.blogspot.com on Aug 3, 2021.