Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Qlik Application Automation and Slack: Send notifications based on app successful or failed reload

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
PietMichielRappelet
Former Employee
Former Employee

Qlik Application Automation and Slack: Send notifications based on app successful or failed reload

Last Update:

Jan 23, 2024 1:19:53 AM

Updated By:

AfeefaTk

Created date:

Sep 7, 2021 10:55:32 AM

Attachments

With the Qlik Application Automation feature, you are able to send custom notifications after an app reload, based on the result.

This article shows you: 

  • a basic example of how to use Slack to send out a notification after you've triggered a reload through Qlik Application Automation,
  • and additionally, an alternative example where we use a trigger after reload has failed (webhook). 

 

The full automation:

full-automation.png

 

Step-by-step description

  1.  Start a reload with the 'do reload' block and select or put the right app id in the configuration pensuree right. Also, make sure you configure the block to wait until the reload has been completed. 


    do-reload.png

  2. Use the block 'Get App Information' to retrieve more data about your app that you can, later on, include in your slack message.  Hint: use the output of the 'Do reload' block for your app Id input field on this block to ensure you're looking at the same app. 

    get-app-information.png

  3. With the 'condition' block, you can differentiate the message you want to send out to, e.g. Slack based on the reload status:

    condition-block.png

  4. With the 'Send Message' block in the Slack connector, you can post your message to the desired channel. You have many different options and even some advanced 'Send Message' blocks, please review some focussed articles on these blocks. 

    send-message-block.png

Async approach for long-running reloads

Note that using webhooks is only possible for tenant admins.

For long-running reloads, you might want to use an Async process where you trigger a reload manually or schedule it via Qlik Application Automation and listen to the webhook events to communicate through Slack. 

 

           screenshot1.png

 

Attached to this message you'll find a JSON file containing the above automations. See How to import a blend from a JSON file for information on how to use JSON files.

Related Content:

Environment

Qlik Cloud  
Qlik Application Automation  

 

The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.

Labels (2)
Version history
Last update:
‎2024-01-23 01:19 AM
Updated by: