> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-automate/18.latest/add-ons/slack/connection.md).

# Create a Slack Connection

Before an automation can post to Slack, you must create a **Slack** connection and allow it on the workspace that will use it. The connection is authenticated with Slack via the OAuth flow.

## Create the Connection

1. Open the **Automate** section in the backoffice.
2. Switch to the **Settings** sidebar.
3. Right-click **Connections** and select **Create connection**.
4. Pick **Slack** from the connection type picker.
5. Enter a name, for example `Team announcements`.
6. Click **Authenticate**. A popup opens to the Slack authorization page.
7. Pick the workspace and approve the requested scopes.
8. After the popup closes, click **Test connection** to confirm the access token works.
9. Click **Save**.

## Allow the Connection in a Workspace

1. Open the workspace that will own the automation that uses Slack.
2. On the **Settings** tab, find **Allowed Connections** and pick the Slack connection.
3. Save the workspace.

The Slack connection now appears in the connection picker on any **Send Slack Message** step inside that workspace.

## Re-authenticate

Slack access tokens are refreshed automatically. If a token is revoked from the Slack side, **Test connection** will fail. Click **Authenticate** again to re-authorise.

## Next Steps

{% content-ref url="/pages/Y7rYIuw6YraTFc41XkGj" %}
[Actions](/umbraco-automate/18.latest/add-ons/slack/actions.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.umbraco.com/umbraco-automate/18.latest/add-ons/slack/connection.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
