Template syntax
Formatting, merge fields, Drone slots, buttons and images in email templates.
This is the syntax the text view uses. The visual editor writes exactly the same thing, so you only need it if you prefer typing.
Formatting
Section titled “Formatting”| You write | You get |
|---|---|
| A blank line between blocks | A new paragraph |
**words** |
Bold |
*words* |
Italic |
[link text](https://example.com) |
A link. Addresses start with https://, http:// or mailto: |
Lines starting with - |
A bulleted list |
Lines starting with 1. |
A numbered list |
[Book a call](https://example.com){.button} on its own |
A button |
That’s all on purpose: no headings, tables or custom HTML, so every email looks right in every mail app.
To keep a character as text, put a backslash before it: \*, \[, \{, \- or \\. In the subject, only { and } need it (\{, \}).
Merge fields
Section titled “Merge fields”Merge fields fill in each recipient’s details. Write the field’s name in double braces:
Hi {{contact.firstName}},| Field | What it's filled with |
|---|---|
{{contact.name}} | The contact's full name |
{{contact.firstName}} | The first word of the contact's name |
{{contact.email}} | The contact's email address |
{{contact.role}} | The contact's role or title |
{{engagement.name}} | The engagement's name |
{{engagement.clientName}} | The engagement's client name |
{{engagement.stageName}} | The engagement's current stage |
{{workspace.name}} | The workspace's name |
{{sender.name}} | The sending member's name |
{{sender.firstName}} | The first word of the sending member's name |
{{sender.email}} | The sending member's email address |
Fallbacks
Section titled “Fallbacks”When a value might be missing, give a fallback:
Hi {{contact.firstName | default: "there"}},Without a fallback, beekeep won’t send an email that’s missing the value. That way nobody gets “Hi ,”. A field name that doesn’t exist is caught when you save.
Drone slots
Section titled “Drone slots”A Drone slot is a place where Drone writes plain text for each recipient, following guidance you give it:
{{drone.personalNote}}Each slot has:
- A name, starting with a lowercase letter and using letters, digits or
_(personalNote). - A label, shown to whoever fills it in by hand.
- Guidance for Drone, up to 500 characters. For example: “one friendly sentence about what they asked for”.
- A maximum length, 500 characters unless you change it (up to 2000).
- Single line or multiline. A single-line slot folds line breaks into spaces.
Slots are filled with plain text only: they never become links or formatting, and everything outside them goes out exactly as you wrote it. When you send by hand, you fill the slots yourself. Automatic sends without Drone (a Send template action) can’t use templates that have slots.
A template can have up to 10 slots.
Images
Section titled “Images”Images come from your workspace’s image library (Insert → Image). An image is a block of its own:
To make it a link, wrap it: [](https://example.com).
Header image
Section titled “Header image”Add {.header} to an image at the very top of the body to use it as the email’s header, in place of your workspace’s name:
{.header}A wide image runs edge to edge. A narrower one, such as a logo, shows at its own size.
What images work
Section titled “What images work”- PNG, JPEG or GIF, up to 5 MB and 8000 pixels on a side. SVG and WebP aren’t supported because many mail apps can’t show them.
- beekeep shrinks photos to 1200 pixels wide before uploading, which also removes location data and other metadata. GIFs upload as they are.
- Removing an image from your library hides it from the library only. Templates and emails that already use it keep working.
- Images are served from one address for every recipient, so beekeep can’t track who opened an email.
How much space the library has depends on your plan: see Plans & billing.
Limits
Section titled “Limits”| Limit | |
|---|---|
| Subject | 200 characters |
| Body | 20,000 characters |
| Link address | 2,000 characters |
| Image description (alt text) | 300 characters |
| Drone slots | 10 per template |