This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Post message to Slack

Demo app showing how to post message to Slack from Qlik Sense load script.

Load script

Assuming the .qvs helper subs are used, only one line of script is needed to send a Slack message:

// -------------------------------------------
// Post messsage to Slack
// -------------------------------------------
// Post a basic message to Slack
Call PostToSlack('#general', 'Butler the Bot', '👽 Greetings, we come in peace.' , ':ghost:')

Note how emojis can be used in the message and a message specific icon can be used (":ghost:" above).

The Slack message looks like this:

Slack message created from Qlik Sense load script.

The demo app is available in the GitHub repository.