> For the complete documentation index, see [llms.txt](https://docs.holium.com/ballot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.holium.com/ballot/custom-actions/introduction.md).

# Introduction

Custom actions are hoon code that is executed based on the outcome of a vote in the Ballot application. This feature gives Urbit developers a way to extend Ballot's base functionality. There is no limit to what a custom action can do. Anything that can be done within the Urbit platform using Hoon code can be done with a custom action.

Custom actions follow a strict standard to ensure interoperability with the Ballot application. This standard comes with configuration, file naming conventions, and specific gate/arm input parameter expectations and setup. All of this will be discussed in detail later in this manual.

Custom actions are defined per ship (master list) and therefore are available to all booths and proposals defined within the Ballot application on the ship.

Ships provide a list of custom actions they support using a configuration file stored within the ship's desk. When creating a new proposal, the list of custom actions supported by the ship are made available for selection. These custom actions are bound to a given voting outcome (choice). All of this is set using the proposal editor.

The custom action feature comes with two sample custom actions that developers/ships can leverage "out of the box":

1. invite-member - invites a member to a group in Landscape
2. kick-member - remove (kick) a member from a group in Landscape

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


---

# 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.holium.com/ballot/custom-actions/introduction.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.
