Write Email Templates with Variables and Spintax in FoxReach (1 min)
Two kinds of templates
The Templates page holds two types, and the Type toggle in the editor decides which one you are making. Email. A subject line plus a body. This is the kind that appears under Load from Template when you build a sequence step. Think first touches, follow-ups, breakups. Reply Macro. A body with no subject line: the answers you send over and over when a lead writes back. Macros do not show up in the sequence picker. The stat cards count each type, and the All, Email, and Macros buttons filter the list.Step 1: Open the Templates page
Click Templates in the sidebar. Each template is a card showing its name, an Email or Macro badge, the subject, the first line of the body, and how many variables it uses. Click a card to expand it.
The FoxReach Templates page listing saved email templates and reply macros with type badges, variable counts, and filters
Step 2: Name it and choose a type
The New Template sheet slides in. The first field is Template Name. This is the label you will see in the sequence picker later, so describe the job, not the content. The video calls this one “Founder intro”. Below the name is the Type toggle: Email or Reply Macro. Leave it on Email. Choosing Reply Macro hides the Subject Line field, because a reply goes out in an existing thread and keeps that thread’s subject. Name and body are required; the subject is optional.Step 3: Write the subject line and insert a variable
The Subject Line field comes with its own Variables button on the right. Type the fixed part of the subject first, for example “Quick question about ”, then click Variables.
The New Template sheet in FoxReach with the name Founder intro, a subject line, the body editor, and the Variables menu open showing standard, custom, and account fields
- Standard Fields: the columns every lead has.
- Custom Fields: any extra columns you mapped when you imported your list. This group only appears once at least one lead in the workspace has a custom field.
- Account Fields: values from the inbox that sends the email, such as the signature.
{{company}} and it is inserted at the cursor, so the subject reads Quick question about {{company}}. You can also type variables by hand.
Step 4: Write the body
The Body editor has two modes, Visual and HTML, with a Send as HTML checkbox underneath. Stay in Visual for a normal cold email. Write it the way the video does. Type “Hi ”, open the Variables button above the body, pick{{firstName}}, and add a comma. Then a line that shows you did some homework: “Saw that ” followed by {{company}} and ” is hiring SDRs.” Then the actual question and a one-line ask.
Anything on the lead record can go in here. The hint under the editor lists the two extra pieces of syntax you will use next: {{var|fallback}} for defaults and {opt1|opt2} for spin syntax.
Leave Send as HTML off unless the formatting earns its place. Off sends plain text; on shows a notice that HTML emails are more likely to land in Promotions or spam, which matters most on a first touch.
Step 5: Add a fallback and some spin
Fallbacks. Not every lead has a first name. If you insert{{firstName}} with no fallback and the field is empty, the variable is dropped and the email opens with “Hi ,”. The fix is the fallback input at the top of the Variables menu, labelled “If the lead has no value, use”. Type “there” in it before you click the variable and FoxReach inserts {{firstName|there}} instead. You can also type the pipe by hand inside any existing variable.
Spin syntax. Single braces with options separated by pipes, like {Worth|Open to|Up for} a quick call this week?, pick one option at random every time the email is sent. Across a few hundred sends, your emails are not word-for-word identical, which is one of the things that separates a person writing from a script running. Use it on phrasing, never on facts.
Spin blocks have rules: at least two options, no empty options, no block nested inside another, and every opening brace needs its closing brace. FoxReach does not check these when you save the template. It checks them when the content lands in a sequence step, so a broken block shows up as an error when you save the step, not now.
Step 6: Save the template
Click Create Template. A “Template created!” toast confirms it, the sheet closes, and “Founder intro” appears at the top of the list with its variable count. To change it later, hover the card and click the pencil, edit, and click Save Changes. Duplicate makes a copy named with “(Copy)” on the end, which is the quickest way to write a follow-up that shares the same opening.Step 7: Load it into a campaign step
Open Campaigns, open the campaign, and go to the Sequences tab. If the campaign is running you will see “Pause the campaign to edit sequences” with a Pause button; sequences are locked while a campaign is active. Click Add Step. The first thing in the new step form is a panel labelled Load from Template with a dropdown that reads “Choose a template…”. Each option shows the template name and its subject in brackets. Pick “Founder intro”.
A FoxReach campaign sequence step with the Load from Template dropdown open listing the workspace's email templates
Variables, fallbacks, and spintax: quick reference
- Standard Fields:
firstName,lastName,fullName,email,company,title,phone,linkedin,website - Custom Fields: every custom field key on your leads, exactly as it was named on import
- Account Fields:
signature,senderName,senderEmail
{{first_name}}, {{job_title}}, and {{sender_name}} resolve to the same values. Custom field names can contain spaces and are matched to the lead’s field verbatim.
At send time spin blocks are resolved first, then variables are substituted; a fallback inside a variable is safe from the spin pass. Subjects can be up to 500 characters and bodies up to 200,000.
Publish to the gallery, or clone from it
Every template can be shared to the public Email Template Gallery, and any gallery template can be copied into your workspace. Publishing. Hover a template and click the globe icon labelled Publish. The Publish to Gallery dialog asks for a Description (required) and a Category: Cold Outreach, Follow-up, Introduction, or Breakup. Click Publish. The template gets a Published badge and the Published stat card ticks up. Listings are reviewed before they go live, so expect a gap before it appears on the site. To take it down, click the globe again, now labelled Manage Gallery, and choose Unpublish from Gallery. Unpublishing kills the share URL for good; publishing again mints a new one and asks for a fresh description and category. Cloning. Browse the gallery, search, and open a template. Copy body puts the text on your clipboard. Use This Template clones it into your workspace as a new template named with “(Copy)” on the end and drops you on the Templates page. If you are signed out, you are sent to log in first and the clone completes after. The copy is yours: edit it, use it in steps, and it starts unpublished.Writing a template that gets replies
A few rules that hold up across most B2B lists:- Subject: short, lowercase, one variable at most. It should look like something a colleague would type.
- First line about them, not you. A specific observation beats an introduction.
- One ask, phrased as a question. Not a link, not a calendar, not three options.
- Fallback on every variable. Assume the list is dirty because it is.
- Spin the phrasing, never the facts. Greetings, transitions, and the ask are good spin candidates. Company names and numbers are not.
- Plain text for step one. Google’s email sender guidelines and Yahoo’s sender best practices both push senders toward messages that look like they were written for one person, and a text-only first touch is the simplest way to get there.
Troubleshooting
A variable renders blank. Either the lead has no value and there is no fallback, or the name does not match; custom field names must match the lead’s field key exactly. Check the “Lead missing data” side of the step preview; every blank there needs a fallback. I edited the template but the running campaign did not change. That is expected. Loading a template copies it into the step. Pause the campaign, click the pencil on the step, load the template again from Load from Template, and resume. Saving the step fails with a spin syntax error. Look for a brace you did not close, a block with only one option, an empty option like{a||b}, or a block inside another block. The template editor does not validate spin syntax, so the first place you will see the error is the step.
The sent email lost its formatting. Send as HTML was off, so the email went as plain text and bold, links, and styles were converted away. Turn it on if the formatting is worth the deliverability trade. Pasted HTML source switches the editor to HTML mode, which always sends as HTML.
My template is missing from Load from Template. Only Email type templates appear there, and the panel is hidden entirely when the workspace has none. Open the template and check its Type.
Next step
You have a template in the library and a step that uses it. Build the rest of the sequence with the guide to creating a cold email campaign in FoxReach, then split step one with the A/B testing guide so the subject line earns its place. When replies arrive, the unified inbox guide covers reply handling, which is where reply macros come in. Templates, variables, and spin syntax are available on every plan, including Free; the pricing page lists the limits for each.Frequently asked questions
What is the difference between an email template and a reply macro in FoxReach?
What is the difference between an email template and a reply macro in FoxReach?
Which variables can I use in a FoxReach email template?
Which variables can I use in a FoxReach email template?
What happens if a lead is missing the data a variable needs?
What happens if a lead is missing the data a variable needs?
If I edit a template, do the campaign steps that used it change too?
If I edit a template, do the campaign steps that used it change too?
How does spin syntax help cold email deliverability?
How does spin syntax help cold email deliverability?