> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/configuration-client/licensable-features/visitor-management/command-centre-site-configuration/creating-macros.md).

# Creating Macros

### Introduction

A Macro needs to be configured in Command Centre if you require macros to be available to Receptionists.

**Note:** Any Macros which the Receptionist can run from buttons on the Visitor Management toolbar should be stored in the *Save Visitor in this Division* as the user must have the "Run Macro" privilege in order to run them.

### Procedure

1. Click **Configure** from the menu bar.
2. Click **Macros**.

   The **Macro** List Window opens.
3. **Right click** and select **New\...Macro**.

   By default the **General** tab displays.
4. Configure the new Macro as required.

   See [Creating a new Macro](https://help.security.gallagher.com/knowledge-hub/configuration-client/site-installation/macros/creating-a-new-macro.md) for further detail.

   **Notes:**

   * When naming macros, be aware that only 20 characters fit on the macro buttons in the Visitor Management application.
   * If you configure a macro to present a confirmation dialog prompt before the macro runs (on the **Operator Confirmation** tab), no confirmation dialog will appear when it is run from the Visitor Management application.


---

# 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://help.security.gallagher.com/knowledge-hub/configuration-client/licensable-features/visitor-management/command-centre-site-configuration/creating-macros.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.
