Snippets
Reuse common blocks of content across newsletters, campaigns, and messages.
The Snippets screen is where you manage reusable content fragments for your workspace. Use it when you want one shared block of content that can be referenced across multiple emails instead of copying the same HTML or text into each send manually.
Open the Snippets screen
From the dashboard sidebar, go to Content -> Snippets.
This opens the workspace-wide snippets table.
Create a snippet
Use the Snippet button in the top-right corner to create a new snippet.
The create form includes:
- Name
- Content
The content field uses a code editor, so snippets are well-suited for reusable HTML fragments or other structured content blocks your team wants to maintain centrally.
What the snippets table shows
Each row in the snippets table includes:
- the snippet name
- the snippet's Event Syntax
- the created date
The snippet name links directly to the snippet detail page, where you can edit the content.
Search and sort snippets
From the table view you can:
- search snippets by name
- sort by Name
- sort by Created
This is useful when your workspace contains many reusable content blocks for different campaigns, newsletters, or brands.
What Event Syntax means
Each snippet exposes a token you can reference elsewhere.
Leadpush shows that token in the Event Syntax badge:
- if the snippet name has no spaces, the syntax is
{{ snippet.name }} - if the snippet name includes spaces, the syntax is
{{ snippet['name with spaces'] }}
This helps your team copy the correct reference without having to guess the format.
Edit a snippet
Click a snippet name in the table to open its detail view.
The snippet detail page includes:
- the snippet's Event Syntax badge
- a code editor for the content
- an Update button to save changes
Use this screen when you need to revise a shared block after the snippet has already been created.
Delete a snippet
Each row in the snippets table includes a Delete action.
Use this when a snippet is no longer valid or has been replaced by a newer shared block. Because snippets are meant to be reused, confirm that the content is no longer needed before deleting it.
When to use Snippets instead of other content tools
Use Snippets when you need reusable content fragments such as:
- disclaimers
- repeated footer copy
- standard headers
- shared promo or compliance blocks
Use other tools when the job is broader:
Best practices
- Use stable, descriptive names so the snippet token stays easy to understand.
- Keep one snippet focused on one reusable block instead of packing unrelated content together.
- Reuse snippets for repeated compliance or brand language instead of pasting the same block into multiple sends.
- Review the event syntax badge before using a snippet reference, especially when the snippet name contains spaces.
Troubleshooting
Related guides
Teams often pair snippets with: