> For the complete documentation index, see [llms.txt](https://docs.siit.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.siit.io/guides/ai/approve-ai-agent-actions.md). Agents can also search and read this documentation through its [MCP server](https://docs.siit.io/~gitbook/mcp).

# Approve an AI Agent's actions

Who receives an AI Agent's approval, where to answer it in Siit, Slack, Teams or email, and what happens when it is approved, rejected or left unanswered.

When an AI Agent wants to run an action set to **Needs approval**, it stops and asks. The approval goes to an admin whose own role allows the action, and the agent picks the work back up as soon as someone answers.

This guide is for admins who assign requests to agents or work in an inbox where agents do. To choose which actions need an approval, see [Set up an AI Agent](https://docs.siit.io/guides/ai/set-up-an-ai-agent.md).

## Who receives the approval

Siit picks the approvers for you:

1. **The admin who assigned the agent**, when their role allows every action in the approval.
2. **Otherwise, the members of the request's inbox** whose role allows every action in it. The admin who assigned the agent is not asked for an approval they could not give.

Two rules always apply:

* **The requester never approves an action on their own request**, even when they are an admin or a member of the inbox.
* **Approving never gives anyone more than their role allows.** Siit checks the approver's role again at the moment they answer.

So an agent never does more than the people around it could do themselves.

## What the approval shows

The approval reads "{Agent} (Agent) wants to run:", followed by one short sentence per action, written by the agent. When there are several actions, they are numbered.

One approval can cover one action or several. Your answer applies to all of them: you approve or reject the whole approval.

## Where to answer

| Where           | What you see                                                                                                                     |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| **The request** | An **Approval** card in the timeline, sent by the agent, with **Approve** and **Reject** next to your name                       |
| **Slack**       | A direct message from the Siit app with the actions, the request and its requester, and **Accept** and **Reject** buttons        |
| **Teams**       | A card with the same content and the same two buttons                                                                            |
| **Email**       | An email with **Accept** and **Reject** links. With Slack or Teams, it arrives only if you have not answered after a few minutes |

Pending approvals also appear in the Siit app's home tab in Slack.

To find every request that waits for an approval, use the **Approval** filter with **Is pending** in the requests list, or the **Pending approval** view. While the agent waits, the request timeline shows "{Agent} is waiting for an approval".

Siit does not send reminders for these approvals on its own. From the approval card in the request, an admin can send one with the bell icon, or cancel the approval.

## When several admins can approve

The first answer applies, whether it approves or rejects. The other approvers see who answered, and their buttons stop working.

## What happens next

| Outcome                          | What the agent does                                                                                                                  |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| **Approved**                     | It runs the action and carries on with the request                                                                                   |
| **Rejected**                     | It does not run the action. It carries on without it, and resolves the request another way or hands it off                           |
| **Cancelled**                    | Same as rejected. An approval is also cancelled when the request is resolved or archived                                             |
| **No answer**                    | The approval expires. The agent adds an internal note saying it did not run the action, then hands the request off                   |
| **Nobody is allowed to approve** | No approval is sent. The agent adds an internal note saying nobody is allowed to approve the action, does not run it, and carries on |

An approval expires after 24 hours. When the admin who assigned the agent has a business calendar on the request's inbox, only its working hours count.

After an expiry, the request goes back to the admin who assigned the agent when they are a member of the request's inbox. Otherwise it stays unassigned in its inbox.

If you reject with a reason in Slack, the reason is kept on the approval for admins. The agent only learns that the action was refused.

## What is recorded

The approval card stays in the request timeline with each approver's answer and its date, and the timeline records who answered and from where: Siit, Slack, Teams or email. The agent's internal notes cover the cases where the action did not run.

## How this differs from your other approvals

An agent's approval looks and behaves like any approval in a request, with these differences:

* **Approvers are chosen by Siit**, from the roles that allow the action. Approval policies do not apply.
* **The first answer always applies.**
* **Approvers are not added as followers** of the request.
* **It expires after 24 hours**, and the agent then hands the request off.

## Need help?

Contact <support@siit.io>, or see the [AI Agents FAQ](https://docs.siit.io/guides/ai/ai-agents-faq.md).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.siit.io/guides/ai/approve-ai-agent-actions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
