Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI I have automation that load data from qlik sense SaaS Table to XlS file
in case if this automation fail i need to get notification
i have notification based on reload status but this case i just need message on slack based on automation status whether it run or any error
Hi @ChannaK
Obviously, you can build Slack blocks into your automation, so if there is an error that you can trap in the automation then you can use a Slack block to notify someone via Slack.
If there is an unhanded error, which just leads to the automation bailing out, that won't work.
What you will be able to do in that case is to call the Automations API from the load script of Qlik app and parse that for any failures. Details of that API can be found here:
https://qlik.dev/apis/rest/automations/#get-v1-automations-id-runs
This blog post gives more details on leveraging Qlik APIs:
https://www.quickintelligence.co.uk/sense-capacity-licence-notify/
If you parse the data and find there is a failure you can post a message to Slack by using a REST connector in the load script and calling a webhook to post to Slack:
https://api.slack.com/messaging/webhooks
I have a blog post on sending data from Qlik using webhooks in the load script, here:
https://www.quickintelligence.co.uk/ifttt-webhooks-qlik-cloud/
Hope those components allow you to put together what you need.
Cheers,
Steve