Send an Slack alert when an last statement of sql query evalutes to true. Uses Jinja Templates from results to render messages.
If an SQL statement evalulates to True, send an alert
Variables
Database where you want to run the script on.
Token used to Authenticate with slack and determine the workspace channels are in.
Channel the message is being sent to.
Message to be sent to slack channel
SQL Query/Queries to run. Last statement can return multiple rows and columns. Must have a "sendalert" column which returns True/False. Email will be sent when "sendalert" evaluates to True
SQL Script or steps to run after sending of e-mails. Does not send alerts.
If in your sql you use any parameters then you need to create a parameter list here. Case Sensitive.