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

# Snippets

> Replace trigger phrases with predefined text.

## What it does

Snippets replace your trigger phrase with predefined text. It's the simplest trigger type — say a short phrase, get a longer text.

## Configuration

| Setting | Description |
| - | - |
| **Output Text** | The text to insert when triggered |

## Examples

| Trigger Phrase | Output Text |
| - | - |
| "my email" | [john.smith@company.com](mailto:john.smith@company.com) |
| "my address" | 123 Main Street, City, State 12345 |
| "my phone" | (555) 123-4567 |
| "regards" | Best regards, John Smith |
| "meeting link" | [https://zoom.us/j/123456789](https://zoom.us/j/123456789) |

***

## Creating a snippet

**1. Open Triggers**

Go to **Triggers** in Hermes.

**2. Create new trigger**

Click **+** or **New Trigger**.

**3. Set the phrase**

Enter what you'll say (e.g., "my email").

**4. Choose matching mode**

Select **Exact** for simple replacements.

**5. Select Snippets**

Choose **Snippets** as the action type.

**6. Enter output text**

Type the text you want inserted.

**7. Save**

Click **Save**.

***

## Multi-line text

You can include line breaks in your output text. This is useful for:

* Email signatures
* Code snippets
* Template responses
* Formatted addresses

### Example: Email signature

**Trigger phrase**: "my signature"

**Output text**:

```
Best regards,

John Smith
Senior Developer
john@acme.com
```

***

## Use cases

### Contact information

Quick insertion of emails, phone numbers, addresses.

### Canned responses

Pre-written replies for common questions or situations.

### Code snippets

Frequently used code patterns or boilerplate.

### Templates

Meeting notes, status updates, report formats.

***

## Tips

* **Keep trigger phrases short** — "addr" is faster than "my home address"
* **Use exact matching** — Prevents accidental triggers
* **Test your output** — Make sure formatting looks right in your target apps

***

## Related

> [card] [Variables](https://docs.hermesvoice.com/triggers/variables.md)
>
> Add dynamic content to snippets.

> [card] [AI Calls](https://docs.hermesvoice.com/triggers/types/ai-calls.md)
>
> Generate dynamic text with AI.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.