Templates
Create templates with dynamic variables
Variables mark the parts of a snippet that change. SnippetCraft can ask for text or resolve supported values when the template expands.
Updated August 3, 2026
Add a variable
Open a snippet
Select the reusable text in Main and edit its Snippet Text.
Place the cursor
Click where the changing value should appear, then choose Insert Variable.
Select a variable type
Choose the kind of value the template needs, such as text, date, time, date-time, or clipboard content.
Set a useful label or default
For a fill-in value, use a clear field name. A default keeps common responses one Enter away.
Expand and complete
Run the snippet and provide any requested values before the final text is inserted.
Hi {{first_name}},
Your review is scheduled for {{date}}.
Please reply if the time needs to change.
Your review is scheduled for {{date}}.
Please reply if the time needs to change.
Choose the right variable
- Text: names, ticket numbers, versions, project names, or any fill-in value.
- Date and time: values calculated from the current moment.
- Clipboard: content you copied immediately before using the template.
Use defaults deliberately
A default is helpful when one value is common but not universal. Do not use a default that is easy to overlook and dangerous to send unchanged.