Slack notification policy parameters and customization options

Last updated: December 19, 2025

When configuring Slack notification policies, you have limited customization options available. Here's what you need to know about the supported parameters and formatting.

Supported Parameters

For Slack notification policies, only the following parameters are supported:

  • channel_id - The Slack channel where the notification will be sent

  • message - The text content of the notification

Message Formatting

The message field only supports plain text content. Advanced Slack formatting options such as:

  • Slack blocks

  • Color customization (e.g., color parameter)

  • Rich text formatting

  • Interactive elements

are not supported in custom Slack notification policies.

Default Notifications vs Custom Messages

There's an important distinction between notification types:

  • Custom message notifications: When you specify a message parameter, only plain text is sent

  • Default notifications: When you don't specify a custom message, the system uses built-in formatting that may include interactive buttons and enhanced formatting

Example Configuration

Here's a basic example of a Slack notification policy:

slack contains {
    "channel_id": "C1234567890",
    "message": "Your deployment has completed successfully"
}

Remember that additional parameters like color, blocks, or other Slack API features will not work in this context.