> For the complete documentation index, see [llms.txt](https://docs.copia.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.copia.io/docs/git-based-source-control/integrations/slack.md).

# Slack

## Overview

The Slack webhook is a popular Copia integration. You can integrate Copia with Slack to receive custom notifications for Copia activity.

## Configure Slack

Start by configuring Slack to receive notifications via a webhook from Copia. A detailed guide on this process can be found [here](https://api.slack.com/messaging/webhooks).

Once you have created an App, enabled *Incoming Webhooks*, and selected a Channel to post to, you should have access to Slack's Webhook URL. Copy the URL to your clipboard by clicking the *Copy* button.

![](/files/bdR0UeNGZXipHezEuUDE)

## Create a DeviceLink Webhook in Copia

To create a DeviceLink Site webhook in Copia using the Slack URL, see the [DeviceLink Webhooks](/docs/devicelink/additional-features/webhooks.md) topic.

## Create a Repository Webhook in Copia

From the Repository settings, navigate to the *Settings* tab and choose the *Webhooks* section. Click on the *Add Webhook* button and select the *Slack* option.

![](/files/MjNeKzYjIhW2C8DZR3E6)

Paste the URL into the *Target URL* field. Be sure to choose which events you want to trigger a notification. When complete, click the *Add Webhook* button.

![](/files/kd8a2UAY3uXsqrIbyqOZ)


---

# 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.copia.io/docs/git-based-source-control/integrations/slack.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.
