Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Nov 12, 2021 8:56:29 AM
Sep 6, 2021 9:01:06 AM
This article explains how Qlik Application Automation can be used to send files to a channel in Slack.
See this article for a basic introduction to sending messages to a channel in Slack
Before you can send a file to a channel, the app needs to be invited to the channel.
To add our app to a channel:
Sending text-based files
Use the block "Send Text Based File" from the Slack connector.
The following steps explain how to send a text-based file:
JSON file example:
Result JSON file:
Because Slack has its own markup language & rules, using Markdown can be confusing. See this site for more information about Markdown support in Slack.
Sending binary files
Use the block "Send Binary File" from the Slack connector.
The following steps explain how to send a binary file:
Example with a PNG file:
Result:
Advanced tip for binary files:
Instead of hard coding the file content, use a connector that has an endpoint that returns a base64 encoded string of a file. For example the "Get File Contents As Base64" from the Dropbox connector.