> ## 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.

# Variables

> Use dynamic values in your trigger actions.

## What are variables?

Variables let you insert dynamic values into your trigger actions. Instead of hardcoding text, you can use placeholders that get replaced when the trigger runs.

***

## Available variables

| Variable          | Description                |
| ----------------- | -------------------------- |
| `{transcription}` | What you said              |
| `{selected_text}` | Currently highlighted text |

***

## Using variables

### In AI Calls

```
Summarize this text:

{selected_text}

Keep it under 50 words.
```

### In Web Search

```
{transcription}
```

***

## Related

<CardGroup cols={2}>
  <Card title="AI Calls" icon="robot" href="/triggers/types/ai-calls">
    Using variables in AI prompts.
  </Card>

  <Card title="Web Search" icon="magnifying-glass" href="/triggers/types/web-search">
    Using variables in search queries.
  </Card>
</CardGroup>
