# Running RunBooks with Approvals

When a RunBook with advanced privileges needs to be run, it makes sense to have another pair of eyes double check the execution. &#x20;

Using [Role Based Access Control](/unskript-documentation/tooling/role-based-access-control.md), this is possible.  In our example, we'll be looking at a RunBook that Drops all tables:

<figure><img src="/files/X7xJBysemFnQ4ATHXy9A" alt="The Drop all Tables Runbook"><figcaption><p>Drop all Tables Runbook</p></figcaption></figure>

Step 1: Move your RunBook to a new folder.  In this case, the Runbook is in the NuclearOptions folder:

<figure><img src="/files/B3Px4QXasBNERbfueq9F" alt=""><figcaption></figcaption></figure>

Step 2: open the RunBook details (in the right menu), and choose the  "requires approval" checkbox.

<figure><img src="/files/3kIZLCnWNq4wJwhvAl6c" alt=""><figcaption><p>Click this checkbox to require approvals</p></figcaption></figure>

Step 3: Return to the list of Runbooks, and the "Run" button has changed to "Request":

<figure><img src="/files/KZEnmyTqDN9IpdNmitlo" alt=""><figcaption></figcaption></figure>

When you click this button, you will enter the input values, and your Runbook will be placed in the approver queue.

### Approving a RunBook

Under "Requests" in the top navigation, there is a page listing all RunBook requests:

![](/files/AGqg3TrafVCcKROJ95kW)

An [authorized approver](/unskript-documentation/tooling/role-based-access-control/rbac-roles.md) must approve (or reject) the RunBook execution.  Using the User Management, add users to a group with "Approver" permissions for the directory with the RunBook.  Those users will be able to approve the execution


---

# Agent Instructions: 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:

```
GET https://docs.unskript.com/unskript-documentation/runbooks/xrunbooks/running-xrunbooks/running-runbooks-with-approvals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
