> For the complete documentation index, see [llms.txt](https://docs.mydbsync.com/cloud-workflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/slack.md).

# Slack

## Introduction

Slack is a communication platform for collaboration through direct messages, channels, and integrations. DBSync supports integrating chat notifications into your workflows, allowing relevant team members to be automatically alerted through Slack when specific conditions or events occur during your data synchronization processes.

## Prerequisites

To configure the Slack action, first configure the Slack connector as described [here](/cloud-workflow/connectors/slack.md).

## Steps to configure the Slack action

Follow these steps to configure the Slack action:

{% stepper %}
{% step %}
Drag and drop the **Slack** action onto the flow board.
{% endstep %}

{% step %}
On the **Slack** action, click **Configure**.
{% endstep %}

{% step %}
In the **Select App** list, select **Slack**.
{% endstep %}

{% step %}
{% tabs %}
{% tab title="Channel setting" %}
In the **Operation** list, select **Send Channel Message**.

<div align="left" data-with-frame="true"><figure><img src="/files/MX581qMLMPZGrLqyAfTg" alt="" width="375"><figcaption></figcaption></figure></div>

Select a channel from the **Channel** drop-down menu.
{% endtab %}

{% tab title="Direct setting" %}
In the **Operation** list, select **Send Direct Message**.<br>

<div align="left" data-with-frame="true"><figure><img src="/files/IvZxC87QTZ03T2UlQUZE" alt="" width="375"><figcaption></figcaption></figure></div>

In the **User** field, enter a username.
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}
In the **Message Text** field, enter your message. You can use `{{step.field}}` tokens from the data stream to interpolate flow variables into your text.
{% endstep %}

{% step %}
Optional: In the **Card payload** field, enter a custom JSON-formatted card payload. For example:&#x20;

{% code expandable="true" %}

```json
{
  "blocks": [
    {
      "type": "header",
      "text": {
        "type": "plain_text",
        "text": "🚀 New Lead Assigned"
      }
    },
    {
      "type": "section",
      "text": {
        "type": "mrkdwn",
        "text": "John Smith has been assigned to you.\nPlease review the details below."
      }
    },
    {
      "type": "section",
      "fields": [
        {
          "type": "mrkdwn",
          "text": "Company:\nAcme Corp"
        },
        {
          "type": "mrkdwn",
          "text": "Deal Value:\n£25,000"
        },
        {
          "type": "mrkdwn",
          "text": "Stage:\nQualified"
        },
        {
          "type": "mrkdwn",
          "text": "Priority:\nHigh"
        }
      ]
    },
    {
      "type": "divider"
    },
    {
      "type": "actions",
      "elements": [
        {
          "type": "button",
          "text": {
            "type": "plain_text",
            "text": "View in CRM"
          },
          "url": "https://example.com/deals/12345",
          "style": "primary"
        },
        {
          "type": "button",
          "text": {
            "type": "plain_text",
            "text": "Assign to Someone Else"
          },
          "value": "reassign_lead"
        }
      ]
    },
    {
      "type": "context",
      "elements": [
        {
          "type": "mrkdwn",
          "text": "Created on 28 Jul 2026 • Lead Score: 92/100"
        }
      ]
    }
  ]
}
```

{% endcode %}
{% endstep %}

{% step %}
Click **Save**.
{% endstep %}

{% step %}
Check your Slack channel or the destination user's messages.
{% endstep %}
{% endstepper %}
