---
title: "Send a Slack Message"
description: "Send Slack messages with ease using customizable templates in Cloud CMS. Perfect for streamlined team communication. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/behaviors/actions/slack-message"
---

# Send a Slack Message

ID: `slackMessage`

Sends a Slack Message to a configured channel. For information on how to connect Slack and Cloud CMS, see [Slack Integration](/documentation/gitana/4.0/engine/integrations/slack.md).

## Configuration

| Property | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| url | text | true |  | The webhook URL provided by slack that will send messages to the configured channel. |
| message | text | false |  | Markdown message template of message that will be sent when action is fired. Required if template node is not provided. |
| message | text | false |  | Markdown message template of message that will be sent when action is fired. Required if template node is not provided. |
| messageRepositoryId | text | false |  | ID of repository where message template node is stored. Required if no message is provided. |
| messageBranchId | text | false |  | ID of branch where message template node is stored. Required if no message is provided. |
| messageNodeId | text | false |  | ID of node that the message template is attached to. Required if no message is provided. |

## Basic Example

```
{
    "url": "https://hooks.slack.com/services/A/SLACK/HOOK",
    "message": "Hello slack!"
}
```

## Example with Template Node

```
{
    "url": "https://hooks.slack.com/services/A/SLACK/HOOK",
    "messageRepositoryId": "<repId>",
    "messageBranchId": "<branchId>",
    "messageNodeId": "<nodeId>"
}
```

## See Also

- The [Slack Message](/documentation/gitana/4.0/engine/workflow/workflow-handlers/slack-message.md) workflow handler
