> This page is for Remediation Orchestrator.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/remediation-orchestrator/llms.txt.

# slack

**Experimental.** For evaluation. Interfaces, configuration, and behavior may change incompatibly.

Sends Slack notifications through configured webhooks or the Slack Web API.

### Prerequisites

* Slack incoming webhook URL for the destination channel.
* Outbound access to Slack.

### Setup

* Set `SLACK_ALERTS_WEBHOOK_URL` and add:

```toml
[modules.slack.channels]
alerts = "{env:SLACK_ALERTS_WEBHOOK_URL}"
```

* Send with `slack.send_message("Health check complete", channel="alerts")`.

> **Note**
>
> This module must be enabled in your Remediation Orchestrator config before it is available to scripts.

This module provides functionality for interacting with Slack.

## Members

* [send_message](#send_message)

## send_message

Send a message to Slack.

The message to send.

The channel to send the message to.

The thread timestamp to reply to (for threaded messages).

Whether to broadcast threaded replies to the channel (only applies when thread_ts is set).

Automatically manage threading per workflow and channel. When true, messages to the same channel in the same workflow will be threaded together.

The thread timestamp of the sent message (use this to reply in a thread).