Campaigns & content
Snippets: reusable message text
Save a footer, legal line or signature once and use it as {{ snippets.name }} in any campaign, journey step or SMS.
A snippet is a saved piece of message text, such as a footer, a legal line or a signature. Use it as {{ snippets.footer }} in any campaign, journey step or SMS, and change it in one place.
How it works
{{ snippets.name }} is replaced by the snippet's text before the template engine reads anything. The snippet is your own markup, so its HTML stays HTML, while merge values and Liquid inside it are filled and escaped like any other part of the message. {{unsubscribe_link}} inside a snippet is filled later in the normal way.
- A snippet can use another snippet, up to three levels deep. A loop, or a snippet that uses itself, is refused when you save (
snippet_loop). - Names start with a lower-case letter, then lower-case letters, digits and underscores, at most 40 characters, unique per account. Text is required, at most 20,000 characters, and must parse as Liquid. At most 200 snippets per account.
- A name cannot be changed, because messages use it. Change the text or the description instead.
Safety
A text that names a snippet that does not exist would go out with a hole in it, so it is blocked: the campaign pre-flight and estimate report snippet_missing, journey activation reports snippet_missing, and POST /v1/liquid/check names it.
A snippet that is in use by a campaign, template, journey or another snippet is not deleted without ?force=true; the 409 answer snippet_in_use lists who uses it.
Manage them
Use the Snippets page, or the API: GET and POST /v1/snippets, and GET, PUT and DELETE /v1/snippets/:id (reading needs read, the rest write). In the e-mail editor the side panel lists snippets with Insert (adds the tag at the end of the text) and Copy.
Snippets are not available in the older flows or in Shopify order messages, which do not use the Liquid renderer.
One platform. Every customer interaction.
Replace your patchwork of messaging APIs, CDP and automation tools with a single engagement platform built for scale.
No credit card required · EU data residency · 99.99% uptime SLA