Create and edit email templates
The template editor in Customers > Campaigns: blocks, variables, catalog products, unsubscribe footer, languages, starter templates, versions and preview by provider.
On this page
- The template editor
- The template editor
- Save and find your template
- Start from a template and blocks
- Start from a starter template
- The blocks
- Insert products from your catalog
- Insert products from your catalog
- Variables, unsubscribe footer and languages
- Variables: personalize each email
- The unsubscribe footer and the address
- Languages
- Preview and what to do if…
- Preview by provider
- Versions
- What to do if…
The template editor
The template editor
A template is the design of the email you will send in your campaigns: the header, the text, the buttons and the legal footer. You create it once and reuse it in as many sends as you want. This guide explains how to use the editor; for the full flow see Email campaigns: what they are and what you need to get started.
Templates are in Customers > Campaigns > Templates. The New template button opens the full-screen editor.
⚠️ Do not confuse it with the templates for automatic order emails (in Communications) or with WhatsApp ones: they are something else. See Email settings in Lueira.

At the top you have:
Internal name: how you see it in the list (customers do not see it).
The language selector (Catalan, English, Spanish).
The Editor / Preview switch.
The Create template button (it becomes active when there is a name and a subject) and the X to exit. If you exit with changes it asks whether you want to discard them.
Below, a bar with the email subject (it says "You can use {{nombre}}"). Above the canvas you have the undo and redo buttons, Templates (starter templates), Products (insert cards from your catalog), Lueira Intelligence (AI help), the switch between desktop and mobile view and Code. On the left, the panel with the Blocks, Layers and Variables tabs; on the right, the Style and Settings panel of the selected element.
Save and find your template
When you click Create template the notice Template saved appears. The button changes to Save new version and the Version 1 indicator appears next to the bar. When you exit, the template appears in the Templates tab, with its Name and the date it was created (Created). Click a row to open it and keep editing.

Start from a template and blocks
Start from a starter template
You do not have to start from scratch. Click Templates in the editor bar and choose one of the four starter templates:
Promotion: featured image, offer and button.
Newsletter: news in two columns.
Announcement: colored band, message and button.
Simple message: just text and signature.

Then change the texts, the image and the button to your liking.
The blocks
The left panel (Blocks) has the pieces you drag into the email. The Layers tab lets you see and reorder the structure. The available blocks are:
Marketing: Header with image, Product card, Social networks and Signature.
Content: Text, Button and Image.
Structure: 2 columns, 3 columns, Image + text, Divider and Spacer.
Click an element on the canvas to see its options in the right panel: Style (dimensions, typography, decorations) and Settings. With the desktop and mobile icons in the canvas bar you see how it looks on each screen, and the Code button shows the email's code for anyone who needs it. With the arrows you undo and redo changes.
💡 Most readers open the email on their phone: always check the mobile view, use images with good contrast and a single main button.
Insert products from your catalog
Insert products from your catalog
If you want to show your activities or items in the email, you do not need to build the cards by hand: click Products in the canvas bar and the Add products panel opens. The products you choose are added as cards linking to your online shop.

Choose the product type in the tabs: Group lessons, Private lessons, Packs, Rental, Rental packs or Shop.
Use Search by name if you have many products and tick the ones you want. The counter shows how many you have ("0 of 12 selected"): the maximum is 12 per insertion.
In Cards per row choose 1, 2 or 3.
Optional: tick Add "View full catalog" button.
The Tag links as visits from the email (UTM) checkbox is on by default: it lets you see in your analytics that the visit came from the email.
Click Insert into email (or Cancel to close without changes).
💡 Some products show the No image label: their card will appear without a photo. Add an image to the product first if you want the email to look better. Always check the result in the Preview and in the test send.
Variables, unsubscribe footer and languages
Variables: personalize each email
Variables are replaced with each customer's data when sending. In the left panel, the Variables tab groups them and explains each one. Click one to insert it where your cursor is; if no text is selected, a new block is added.
Customer:
{{nombre}}(first name),{{apellidos}}(last name) and{{email}}(the customer's email).Company:
{{empresa}}, the name of your business.Required in the footer:
{{direccion_empresa}}(your business's postal address) and{{enlace_baja}}(the unsubscribe link). Both are already in the footer and you do not need to insert them.
Example: "Hi {{nombre}}, take advantage of this promotion at {{empresa}}".
💡 The test send and the Preview fill the variables with sample data (for example, "Hi Marta"), so they do not confirm that your customers' names arrive correctly (see Send an email campaign step by step). Before sending to a whole group, make a first real send to a small group (for example, yourself) and check the greeting. If the name arrives empty ("Hi ,"), contact support giving the name of the send; in the meantime, write the greeting without depending on the name.
The unsubscribe footer and the address
Every commercial email must include the unsubscribe link and your company's address. The editor already has them in the footer: the Unsubscribe me link and {{direccion_empresa}}. The {{enlace_baja}} variable is replaced by the provider with its own unsubscribe link, so the unsubscribe is always respected. The editor itself reminds you of this at the bottom of the screen.
⚠️ Do not remove or change the unsubscribe link or the address: without them Lueira will not let you send (pre-send check "Valid template (variables, unsubscribe and address)"). The address comes from Settings > Company details.
Languages
The selector at the top (Catalan, English, Spanish) lets you write the template in each language. You can limit a group to one language with the Customer language condition (see Create customer groups by rules).
Preview and what to do if…
Preview by provider
Click Preview (at the top) to see the email as it will be sent. You can choose how to view it:
Sample data: with a fictitious customer and the real data of your business (the subject is shown with a sample name).
Brevo, Mailchimp and GoHighLevel: how the email looks once adapted to each provider. With a provider chosen, the View the code the provider receives checkbox appears if you want to see the exact code.

Versions
Every time you click Save new version, Lueira saves a new version of the template. Click the Version N button in the top bar to see the history: each version shows its subject and the date and time it was saved.
With Load into editor you recover a previous version. The version you are editing appears as Loaded in the editor.
If you load an old version and save it, a new version is created: the old one is not overwritten.

💡 The panel itself reminds you: sends already created keep the version they were prepared with. Editing the template does not change the sends you had already prepared.
⚠️ Deleting a template: today there is no button to delete a template, neither in the list nor inside the editor. If you need to remove one, ask support.
What to do if…
"Create template" is greyed out. The internal name or the subject is missing: write both.
A screen "An error has occurred. Please try again" appears when opening the editor. Sometimes the editor does not load the second time you open it without reloading the page. Click Try again; if it persists, reload the page (and enter again from Customers > Campaigns). Your saved templates are not lost.
The Brevo preview shows an "unknown variable" notice about the unsubscribe variable. It is a technical notice in Brevo's preview (it does not appear in Mailchimp): do not change the unsubscribe link in the footer. If it prevents you from sending, contact support.
I lost my changes when exiting. The editor asks before discarding; if you clicked "Discard changes", they cannot be recovered.
It says the unsubscribe link or the address is missing. Restore the footer with Unsubscribe me and
{{direccion_empresa}}and check the address in Settings > Company details. See Common errors and questions about email campaigns.
Related guides
- Communications in LueiraThe Communications module brings together everything you need to talk to your customers by email and WhatsApp: templates, the WhatsApp Agent, the unified inbox and the knowledge base that feeds the WhatsApp Agent.
- Before connecting WhatsApp: prerequisites in MetaStep-by-step guide to preparing your Meta business portfolio, business verification, display name and number, and to choosing between the WhatsApp Business app (coexistence) and a dedicated number (Cloud API).
- Connect WhatsApp in LueiraHow to connect your WhatsApp Business number to Lueira: choose between connecting the WhatsApp Business app or a dedicated number, and complete the process in Meta in under 2 minutes.
- One WhatsApp number per locationIf your account has several locations, each one can have its own WhatsApp number. Requirements, how to connect them and what is shared between numbers.
- WhatsApp AgentSet up the WhatsApp Agent, which automatically replies to your customers' WhatsApp messages, uses your articles as its source of information and can create orders directly from the chat.
- What the WhatsApp Agent sells and what it does when it can'tThe WhatsApp Agent only books what exists as a product in your store. For everything else it sends the customer the purchase link from your website. Here you can see how it works and how to set it up.