# Slack

{% hint style="info" %}
The Slack integration requires Gradient Works Cloud authentication. If you're not authenticated with GWC, see the [getting started](/kb/integrations/getting-started.md) guide for instructions.
{% endhint %}

### Connecting to Slack

Go to the "Settings" tab in the [Routing](https://github.com/Gradient-Works/salesforce/blob/main/docs/gitbook/integrations/broken-reference/README.md) module.

<figure><img src="/files/buOU1dgtqBcRsPw1vpUF" alt=""><figcaption></figcaption></figure>

Click "Add to Slack" in the Integrations section. You'll be redirected to Slack to continue the process of authorizing Gradient Works.

### Sending messages

Use the [Send Slack Message](/kb/automation-builder-kit-abk/actions/next-steps/sendchatnotificationaction.md) ABK action to easily send Slack messages from any Gradient Works automation.

#### *Security Notes*

For the security minded, the Slack integration requests the following scopes:

* app\_mentions:read
* channels:read
* chat:write
* chat:write.public
* groups:read
* users.profile.read
* users:read
* users:read.mail


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gradient.works/kb/integrations/slack.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
