> For the complete documentation index, see [llms.txt](https://docs.unskript.com/unskript-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unskript.com/unskript-documentation/runbooks/xrunbooks/add-an-action.md).

# Add an Action

**Built-In Actions**

{% hint style="info" %}
The screenshots below are from the Sandbox/SAAS, but addition a built in Action with the Open Source Docker works the same way.
{% endhint %}

To get started quickly, we'll use one of the built-in unSkript Actions to create your xRunBook (you can write your own [Actions](/unskript-documentation/actions/create-custom-actions.md)). From within the xRunBook editor interface, use the search bar on the right to search the available actions.

![Searching for mongo returns all relevant results](/files/cvNqRBdk2qP2A12K5Kjh)

You can scroll through the results if needed. Once you find an Action that you would like to include in the xRunBook, drag and drop it in the left pane. This will insert the Action into your xRunBook.

![Include an action by dragging it into the left pane](/files/E5TrPsIijlS6y5LOJeBo)

**Custom Actions**

{% embed url="<https://youtu.be/gorMpBJVFxU>" %}

You can also create a custom Action. Click on the Add button and select Action from the drop-down. This will generate an empty Action in your xRunBook that you can use to create your own custom Action.

![](/files/eWA1sF0YWmjC4tY657zK)

Name the Action and configure it as per your workflow process.&#x20;

![](/files/647sJfYkizt3dvkjzTBi)

Read more on [Custom Actions](/unskript-documentation/actions/create-custom-actions.md) on our dedicated page.


---

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.unskript.com/unskript-documentation/runbooks/xrunbooks/add-an-action.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
