# Slack

Send Youniton events to Slack channels. An Admin connects Slack from Administration › Integrations. The connection is opt-in and off by default.

> **Opt-in, off by default, outside the EU**
>
> Youniton hosts and stores data in the EU. Slack processes data outside the EU. Youniton shows a clear notice of this before an Admin turns the connection on. A tenant that does not turn it on sends nothing to Slack.

## How an Admin connects Slack

1. Open **Administration › Integrations › Slack**.
2. Read the notice and turn the switch on.
3. Select **Connect Slack** and approve the Youniton app in your Slack workspace.
4. Add rules. A rule names a project, an event and a public Slack channel.

## The events of a rule

| Event | When Youniton posts |
|---|---|
| New help-desk request | A client or a client system created a request in the project. |
| Ticket assigned | A ticket of the project got an assignee. |
| Ticket moved | A ticket of the project changed its stage. |
| Comment | A member or a client commented on a ticket of the project. |
| Approval decided | A client approved or asked for changes. |
| Mention | A member was mentioned. |

## What a message holds

- A message carries the title of the record and a link to it in Youniton. It carries no description, no comment text and no file.
- The reader opens the link and signs in to Youniton. The roles of Youniton decide what the reader sees there.
- Youniton retries a failed delivery and keeps to the rate limits of Slack.
- Connect, disconnect and each rule change are in the audit log.

## Disconnect

**Disconnect** revokes the access of Youniton to your Slack workspace at once and stops every rule. When you remove the Youniton app in Slack, Youniton disconnects too.

## The API

An Admin sets up the Slack connection in the administration. It has no operation in the public API. To send Youniton events to your own systems, use [outgoing webhooks](https://docs.youniton.com/api/webhooks.md). To start automation flows from another system, use [inbound webhooks](https://docs.youniton.com/api/guides/automation-inbound-webhooks.md).
