# Slack, Google Chat and webhooks

> Ask the Data Agent from Slack or Google Chat and get answers in the thread, and send dashboards and insights to a channel, once or on a schedule.

Source: https://orcabase.co/docs/workspace/integrations

**Integrations** connect Orcabase to the chat apps your team already works in. Ask the [Data Agent](https://orcabase.co/docs/agent) a question from Slack or Google Chat and get the answer in the thread, and send dashboards and insights to a channel, once or on a schedule. Everything lives under **Settings → Integrations**.

| App | Ask the agent | Send messages and digests |
| --- | --- | --- |
| Slack | Mention @Orcabase in a channel, or send it a direct message. | To any channel the app can post in. |
| Google Chat | Mention @Orcabase in a connected space. | To the space, through its webhook. |
| Webhook | — | Signed JSON to any URL: Microsoft Teams, Discord, Zapier, Make, n8n or your own service. |

## Connect Slack

1. In **Settings → Integrations**, click **Add to Slack**. Only workspace admins can.
2. Slack asks you to allow Orcabase in your workspace. Click **Allow**.
3. Back in Orcabase, open the connection’s menu and choose **Set default channel**: where messages go when nobody names a channel.

The app can post to public channels on its own. For a private channel, invite it first: `/invite @Orcabase`. One Slack workspace connects to one Orcabase workspace.

## Connect Google Chat

1. In the Google Chat space, open **Apps & integrations → Webhooks**, add a webhook named Orcabase and copy its URL.
2. In **Settings → Integrations**, click **Connect a space**, paste the URL and click **Connect space**. Orcabase posts a hello in the space to check it works.
3. To ask questions there, add the Orcabase app to the space too, then mention it.

## Add a webhook

For any other app, click **Add a webhook** and give it an `https://` URL. Orcabase sends each message as a `POST` with a JSON body: `event` (`"message"`), `message` with its `title`, `text` (Markdown), a `table` of rows when there is one and a `link` back to Orcabase, the whole message as one Markdown string in `text` for apps that only show text, and `sent_at`.

Each request is signed. `X-Orcabase-Timestamp` is when it was sent and `X-Orcabase-Signature` is `sha256=` followed by the HMAC-SHA256 of `timestamp.body` with the webhook’s signing secret. Check it to know a request came from Orcabase.

> **Important: You’ll only see the secret once**
>
> Copy the signing secret when the webhook is added. To get a new one, remove the webhook and add it again.

## Ask the agent from a chat app

Mention **@Orcabase** with a question, like “@Orcabase how did revenue do last week by region?”. It shows it’s on it (a 👀 in Slack, a short reply in Google Chat), then answers in the thread: the key numbers, a small table of the result it charted, and a link to continue the conversation in Orcabase. Reply in the same thread to ask a follow-up.

- Only members of your workspace can ask. Orcabase matches the email of your Slack or Google account to a member, and the conversation shows in that member’s **Chat** list.
- From a chat app the agent only reads: it can’t save queries, change dashboards or set up schedules. Ask in Orcabase’s Chat for those.
- Questions use your workspace’s [agent setup](https://orcabase.co/docs/agent/setup) and count toward its usage, shown as **Chat apps** in **Settings → Usage**.
- An admin can turn asking off for a connection with the **Ask the agent** switch; it can still receive messages.

## Send a dashboard on a schedule

A **digest** sends a dashboard to a channel every day, every weekday or once a week, at an hour in your workspace’s time zone. It lists each chart’s latest number, re-running the charts first unless you turn that off, and links to the dashboard.

1. In **Settings → Integrations**, click **New digest**.
2. Pick the dashboard, where to send it (and the Slack channel), and when.
3. Turn on **Add an AI summary** to have the Data Agent open the digest with a few lines on what stands out. It uses the agent’s credit or key.

Each digest’s menu can send it now, edit, pause or delete it. If a send fails, the reason shows under **Last sent**. You can also ask the agent in Orcabase: “send the Sales dashboard to #sales every Monday at 9”.

## Who can do what

| Action | Who |
| --- | --- |
| See connections and digests | Every member |
| Connect, change or disconnect an app | Admins |
| Set up, send and change digests | Every member |
| Ask the agent from a chat app | Every member, from an account with the same email |

## Disconnect

Open the connection’s menu and choose **Disconnect**. Its digests stop and nobody can ask from it. To remove the app on the other side too, uninstall it in Slack’s app settings or delete the webhook in the Google Chat space. Uninstalling the Slack app also disconnects it in Orcabase.

---

Previous: [API tokens](https://orcabase.co/docs/workspace/api-tokens.md) · Next: [Workspace and account](https://orcabase.co/docs/workspace/settings.md)

All docs: https://orcabase.co/llms.txt
