Slack as a destination
Send your data from the catalog a Slack channel.
1. Introduction
The Slack destination allows you to send data from your catalog directly into a Slack channel of your choice.
It allows for automated workflows to share data with your team in a flexible and efficient way. We allow you to customize a message using Slack’s markup language, and sending the input data attached as a CSV file.
The result would look like this:
In order to propertly use the connector, there are a few pre-requisites that need to be fullfilled:
- You should install the Nekt bot and grant permission for accessing and sending messages to your channels.
- You should add the Nekt bot to the channel you want to send messages to.
We explain it in more detail in the following section.
2. Configure the Slack destination
-
In the Destinations tab, click on the “Add destination” button located on the top right of your screen. Then, select the Slack option from the list of connectors.
-
Click Next and you’ll be prompted to add the connector configuration.
-
Authorization: first of all, authorize Nekt through the Slack Authorization button. You must be an App Manager to authorize the installation of our app into your workspace.
You’ll see the following warning when installing the app:
This app is not approved by Slack. Apps are reviewed to ensure a quality experience.
This occurs because our app is private and not yet available in the Slack marketplace.
-
Channel ID: the Slack channel ID to send messages to.
The channel ID can be found by clicking with the right button on the channel name and ‘View details’. The channel ID will be available at the bottom of the modal.
Note that the Slack app must be a member of the channel to be able to send messages. This is how to do it:
- Type the command
/add
in the message input box of the channel you want to add the bot. - Choose
Add apps to your channel
. - Select the
Nekt Destination
app. - You’re all set!
- Type the command
-
Message: The message to send along with the attached file. You can use Slack markup language to customize and style your message using Emojis, different font styles, breaking lines, and so on. Please check the official Slack documentation for more information.
-
-
Click Next.
3. Select your catalog data to send
-
The next step is letting us know which data you want to send on the Slack message. Select the layer and then the desired table.
The maximum allowed file size is 1GB for Slack. In case of large datasets, please limit the number of records from your input table to avoid hitting this constraint.
-
Click Next.
4. Define the trigger
-
Describe your destination for easy identification within your organization. You can inform things like what data it sends, to which team it belongs, etc.
-
To define your Trigger, consider how often you want this email to be sent to the list of recipients. This decision usually depends on how frequently you need the new table data updated (every day, once a week, only at specific times, etc.).
-
Click Done.
Check your new destination!
-
Once completed, you’ll receive confirmation that your new destination is set up!
-
You can view your new destination on the Destinations page. Now, for the email to be actually sent, you have to wait for the pipeline to run. You can monitor it on the Destinations page to see its execution and completion. If needed, manually trigger the pipeline by clicking on the refresh icon. Once executed, your email should be sent.
If you encounter any issues, reach out to us via Slack, and we’ll gladly assist you!