Creating a promotional email template with Kombai
This guide covers a real-world example of how Kombai can be used to create a promotional email template for Klaviyo.
It includes each step from loading the design in Kombai to editing the campaign in Klaviyo.
The template used in the guide contains:
- Brand-specific fonts.
- Two design versions - one for desktop and one for mobile.
- Klaviyo-replaceable header & footer.
- Klaviyo-editable texts for coupons & text variables.
For those who want to watch, here's the step-by-step video:
Load the design
Here's how to load the design in the Kombai’s plugin:
- Open the Figma design.
- Go to Resources -> Plugins.
- Search Kombai and select Kombai - HTML email code from ANY design in a click.
- Select the section of the designs to load it in Kombai.
Mark elements & sections as Klaviyo-editable
Once the design is loaded in Kombai, follow the steps below to mark Klaviyo-editable elements & sections in the design:
Mark coupons & text variables as Klaviyo-editable
To mark coupons & text variables as Klaviyo-editable:
- Go to and select Mark Elements to Edit in ESP.
- In the Texts section, mark all the Figma layers that belong to coupon codes or text variables.
- Now, choose Mobile Design from the dropdown in the Viewing Design Settings for.
- Again, in the Texts section, mark all the Figma layers that belong to coupon codes or text variables to make them editable for the mobile version of the design.
- Click Confirm.
Mark header & footer as Klaviyo-editable
To mark header & footer sections as Klaviyo-editable:
- Go to and select Mark Sections to replace in ESP.
- Select the header & footer sections.
- Now, choose Mobile Design from the dropdown in the Viewing Design Settings for.
- Again, select the header & footer sections to make them editable for the mobile version of the design.
- Click Confirm.
Export the code to Klaviyo
Now all the Klaviyo-replaceable elements & sections are marked and custom font is added. It is time to export the template and create an automated campaign for Klaviyo. Here's how to do it:
-
Hover on Export Code, and go to Export to ESP -> Klaviyo.
-
Select Upload template via integration.
-
Name the template.
-
Select Also create a template in draft state in Klaviyo.
-
Name the campaign, add campaign audience, and click Export to Klaviyo.
Edit the template in Klaviyo
This section will cover how to edit a Kombai-generated template directly in Klaviyo.
Make sure custom fonts are added to Klaviyo
Importing the custom fonts used in the design is an essential preliminary step in loading the template in Klaviyo. Follow the steps below to add the custom font to Klaviyo:
- Open the Klaviyo dashboard.
- In the left sidebar, go to Content -> Images & brand -> Fonts.
- Select the font used in the design under the Font name dropdown in the Google Fonts section.
- Select a web safe font under Fallback font and click Add Font.
Load the template in Klaviyo
Follow the steps below to open the Kombai-uploaded campaign in Klaviyo’s drag-and-drop editor:
- Open the recently created campaign in Klaviyo and click Continue to Content below.
- Click Edit email on the top right of the Campaign Content section.
- Click the Save button on the top of the email template editor.
- Click Back to Content after saving the template.
- Again, click Edit email on the top right of the Campaign Content section.
Note: The template should now open in Klaviyo’s drag-and-drop editor. Please reload the page if you see any error while loading the template in the editor.
Edit the coupons & text variables
-
Select the text block that you have marked as editable.
-
Go to the content section in the left sidebar.
-
Edit the text.
-
Repeat steps 1-3 for all Klaviyo-editable text.
Replace default header & footer with universal header & footer in Klaviyo
Now comes the final step of our template editing process - replacing the default header & footer of the design with a universal header & footer in Klaviyo:
Follow these steps to replace the existing header in the design with a universal header:
-
Click on Universal in the left sidebar.
-
Drag the earlier created universal header on top of the template's header.
Note: To replace the marked sections, the header needs to be a Block instead of a Layout (Columns and sections) (opens in a new tab).
- Delete the old header.