# Running XRunBooks

Click Close to save the contents (unSkript saves automatically as well!) of the xRunBook. You will be dropped into the xRunBook listing page. From here you can run the xRunBook you created interactively or non-interactively. Choose the mode you want to start the execution.

![unSkript can run xRunBooks interactively or non-interactively](/files/nMkceu51D5BR2pPhJVDM)

This creates an execution of the xRunBook which will then prompt for the parameters to be used along with the environment(s) in which it has to execute.&#x20;

![xRunBooks needs parameters](/files/4ZBXcjlzNALCJYi9ok1y)

You can enable/disable environment selection by clicking on the xRunBook details page (xRunBook ->Open Details)

![Check/ Uncheck for Environment Selection](/files/WJqfw7UJBcDsnX3XRwof)

Once the parameter values are filled in, an execution will be triggered and the user will be notified.

![](/files/G2FBBMwMCicW8vWrbclO)

Congrats! You have created and run your first xRunBook!


---

# 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.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.
