# Slack Destination

## About this integration

This integration helps you send messages to your Slack Workspaes based on events from your app or website.

[Mode How we forward source data to the destination: through Customer.io's servers or directly from our JavaScript client.](/cdp/destinations/getting-started/#connection-mode)

[Web sources Indicates whether or not this integration supports our the JavaScript client.](/cdp/sources/getting-started/#types-of-sources)

[API sources Indicates whether or not this integration supports our server libraries (Go, NodeJS, Python), API, Mobile SDK, and other data sources.](/cdp/sources/getting-started/#types-of-sources)

[Supported calls The API methods this integration supports.](/cdp/sources/source-spec/source-events/)

[Integration name The name of this integration if you want to enable or disable it in the `integrations` object.](/cdp/sources/source-spec/common-fields/#the-integrations-object)

Standard

N/A

Slack

## Getting started[](#getting-started)

Setting up your Slack integration is trivial. To take advantage of it, you’ll have to set up the [*Post Message* action](#actions).

1.  Go to **[Data & Integrations > Integrations](https://fly.customer.io/workspaces/last/journeys/integrations/all/directory)** and select the **Slack** entry in the *Directory* tab.
    
2.  (Optional) Select the data sources that you want to connect to your outbound integration. You can always connect data sources later. We’ll only show you data sources that work with your integration.
    
3.  Configure your integration.
    
4.  Click **Enable Destination**.
    

## Post Message action[](#post-message-action)

To use your Slack integration, you’ll need to set up at least one **Post Message** action. This action posts a message to a channel in your Slack workspace based on an incoming data trigger.

1.  Go to **Actions** for your Slack integration and click **Add Action** to set up the *Post Message* action.
2.  Set up the *Trigger* for the action. This determines when we’ll post to Slack.
3.  Under *Data Structure*, enter the *Webhook URL* that we’ll use to post to your Slack workspace and channel. See [Slack’s documentation](https://docs.slack.dev/messaging/sending-messages-using-incoming-webhooks) for help creating an incoming webhook.
4.  Enter the *Message* you want to send. You can include variables in your message!
5.  Enter the *Channel* you want to send your message to.
6.  Set your *User*. This is who your message is attributed to.
7.  (Optional) Enter the *Icon URL* for the user. This is the “profile picture” for your integration.

[![A slack action showing all of the available fields, including a trigger](https://docs.customer.io/images/cdp-slack-action.png)](#7c1188c165829cd91f6aacd9249855df-lightbox)