> ## Documentation Index
> Fetch the complete documentation index at: https://docs.matrices.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How do approvals work?

> Some actions need your approval in Slack. Only you can give it.

Before some actions, your agent stops and asks for your approval. You get a card
in your DM. The card shows the action before it occurs:

> **Approval needed** — `gmail.send_email`\
>
> *(the email, post, or event, as it will go out)*\
>
> **Approve** · **Allow again in this thread** · **Deny**

* **Approve** lets the agent do the action one time.
* **Allow again in this thread** lets the agent do the action. In this
  conversation, the agent can then use the same tool again without approval. All
  built-in checks show this button. A custom check from your owner possibly does
  not show it.
* **Deny** stops the action. Your agent does not try the action again. It asks
  you what to change.

After you decide, the buttons change to the result, for example "✓ Approved by
@you" or "Denied by @you".

In a channel, the card also goes to your DM. In the thread, you see a note that
only you can see:

> I need your approval to use `slack.post_message` — check your Matrices DM, or
> approve it in Matrices: open

## Only you decide

Only the person who sent the request can approve it. If a teammate selects a
button, the teammate sees "Only @you can decide this request." You can also
decide in **Needs you** on your web home at
[beta.matrices.com](https://beta.matrices.com).

If nobody decides in 12 hours, the request expires. An expired request is the
same as a denial:

> Expired — no decision within 12 hours.

## Actions that need approval

Your workspace owner sets the list. By default, all Slack agents ask for
approval before these actions:

* **Sending email**
* **Publishing to Slack channels.** DMs to you do not need approval.
* **Publishing sites and artifacts**
* **Deleting calendar events**
* **Adding toolsets by URL**
* **Writing workspace skills**
* **Writing workspace memory.** This is the set of notes that all agents share.

By default, these actions do not need approval: other calendar changes, writes
to Drive, and edits to Docs and Sheets.

## Add an approval

Tell your agent to ask you before a different action. For example: "always check
with me before you accept a meeting". Your agent keeps this in its notes about
you. After that, it asks you before that action.

You can add actions to the list. Only your workspace owner can remove actions
from the list.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.