# Macros

## Setup <a href="#setup" id="setup"></a>

Visit the Settings Page and look for Macros to set up new macros.

1. Set up a templated response using dynamic variables. When a macro is used, this text will be pre-filled in the editor, and all you’ll have to do is hit send!
2. Set up actions that will be executed when the macro is used, such as adding a certain tag to an issue (for tracking and [Analytics](/pylon-docs/broadcasts/analytics.md)) or setting the state to closed.
3. Set up filters to determine when a macro will be available. For example, you can have different macros available for your team to use on Slack vs. Chat Widget questions.
4. Create macros for your whole organization, your team, or just yourself.

## Organization

Macros can be placed into different groups for better organization. When executing macros from an issue, you'll be able to click into groups as well to find a specific macro.

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

## [​](https://docs.usepylon.com/platform/macros#usage)Usage <a href="#usage" id="usage"></a>

Once you set up some Macros, you can access them from inside your text editor on an issue by hitting the lightning bolt or with the shortcut `m` .

Here you can search for macros by name and also see a preview of the macro before hitting send. This gives you the opportunity to make any tweaks that might be needed before it's sent.

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


---

# 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.usepylon.com/pylon-docs/platform/macros.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.
