> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Snippets

> Save reusable replies with dynamic variables and insert them with a keystroke.

Snippets are reusable message templates that help your team reply faster, stay consistent, and avoid repetitive typing.

<Frame>
  <img src="https://mintcdn.com/plain/esnLSCL6AbjPxXFS/public/images/snippets.png?fit=max&auto=format&n=esnLSCL6AbjPxXFS&q=85&s=f1f078ed6838ef990eedafed4686f208" alt="Snippets in Plain" width="2400" height="1218" data-path="public/images/snippets.png" />
</Frame>

Manage your workspace snippets in **Settings → Snippets**.

## Use a snippet

1. Start typing a reply in any thread.

2. Press `[` to open the snippet menu.

3. Search by name or scroll to find the snippet you want.

4. Select it to insert it into your reply.

## Organize with groups

Snippets can be organized into groups to keep your library tidy as it grows. Groups appear in the snippet menu, so users can find the right template without scrolling.

To create a group, go to **Settings → Snippets** and click **New group**.

## Dynamic variables

Snippets support variables that automatically populate with thread or customer data when inserted.

| Variable                   | Inserts                     |
| -------------------------- | --------------------------- |
| `{{ customer.fullName }}`  | The customer's full name    |
| `{{ customer.shortName }}` | The customers first name    |
| `{{ customer.email }}`     | The customers email address |
| `{{ user.fullName }}`      | Your full name              |
| `{{ user.publicName }}`    | Your public display name    |
| `{{ thread.ref }}`         | The thread reference number |
| `{{ thread.id }}`          | The internal thread ID      |

Use variables to personalize replies without extra manual effort.
