How to export HTML emails from Figma to Drip using Emailify
Follow along with this step by step Figma tutorial video.
Steps
- Open Emailify from Figma by searching it in Resources, then run or save the plugin and add a template frame.
- Before exporting, go to the footer tab and select the Drip footer preset so the required unsubscribe link, viewing browser URL, and HTML postal address tag are included.
- Preview the email in Emailify, then open export HTML, choose the Drip platform, and enter the subject line and preheader text.
- Click export for Drip, download the ZIP file, unzip it, and use the index.html file inside the exported folder.
- In Drip, create a new text/html campaign, switch to custom HTML, and open the code editor.
- Open the exported index.html in a browser, view page source, copy all the code, delete the existing code in Drip, and paste in the copied HTML.
- Save the campaign, review the preview and plain text options if needed, then click done editing when finished.

Published
Used in this video
Emailify
ć”ć¼ć«
Stop hand-coding HTML emails.
Design responsive emails in Figma and export production-ready HTML for popular email platforms.
135k+ installs
Video Transcript
Today Iām going to be showing you a quick tutorial on how to upload your HTML email templates from Figma to the Drip email marketing platform using the Emailify Figma plugin. To get started, all we need to do is go to our Figma file, click on the āResourcesā icon at the top, and then if you search for Emailify and under the Plugins tab, if you click on the Emailify item, you can run that by clicking on the āRunā button here, or Iād recommend clicking on this little āSaveā icon here, and that will allow you to run the Figma plugin from your Figma plugins list later. Iāve already clicked on the save icon so Iām going to go to my canvas. Iām just going to right-click anywhere, go down to āPluginsā, then go down to āSaved pluginsā and click on Emailify, and thatās just going to run the Figma plugin we saved a second ago.
If youāre new to the Figma plugin, the way that it works is it helps you to design HTML emails in Figma which you can then customize to your own brand and then export to production-ready responsive HTML code automatically. So today Iām just going to be a really simple template. Iām just going to call this one template Drip example, and once we add that to our page we will then be able to start adding some preset components.
Iām not going to be going through all of these design features today. If you want to check those out, please feel free to check out some of the other YouTube tutorials on the channel or go to the Emailify documentation site and thereāll be heaps of resources there that will show you how to design your emails and customize them and basically do whatever you want to them for your own brand and content. So today Iām just going to be giving it really simple, spinning up a few components without customizing them at all.
Assuming that youāve designed your HTML email in Figma using the Emailify Figma plugin, the last thing you want to do before we export this for the Drip platform is to go to the footer tab in the Figma plugin. Then, if you scroll down to the letter āDā, youāll find a Drip footer preset. So you want to make sure that you click on the Drip footer there, and thatās going to automatically add this footer preset to your Emailify template which automatically prepopulates the required tag.
Youāve got the unsubscribe link which you can check out by clicking on the settings button in the Figma plugin with that link layer selected. So that will pre-populate the unsubscribed URL. Itās going to pre-populate the viewing browser URL, and itās also going to give you the HTML postal address tag, which again, these are required in order for the custom HTML template to be accepted into the Drip platform.
If you donāt include this footer, you will get a message later saying that you basically need to have these tags. So itās just easiest to go into the footer tab, click on the Drip item, and then you can add that to your template and customize the colors and styles as you like with those links already added.
Now that weāve got our footer added, we can preview the HTML in the Figma plugin just by clicking on the preview button. And thatās going to allow us to see a live preview of what the HTML is going to look like when it gets exported. So we can check that out on mobile and desktop. So we can see what that looks like on larger screens. You can also override some of these styles for mobile.
For example, weāve got our hero text here. If you click on the settings panel in the Figma plugin and then click on any of the Emailify layers, you can see here that youāve got a bunch of options to override these styles for mobile-specific designs. And thatās going to allow you to do things like shrink font sizes or change paddings, change spacings, and all different kinds of things show and hide on mobile, etc.
So Iāll leave those to you to play around with. Today Iām just going to be leaving everything as default and Iām fairly happy with how itās looking already. Assuming that youāre ready to go and youāre happy with your HTML preview, you can close that off now.
To get this into the Drip platform, all we need to do is go to our Figma plugin then click on the export HTML button in the top of the Figma plugin window. And then what you want to do is change this HTML email option, which is the default option, and scroll down to the platforms list and then find the Drip item. So you want to go ahead and click on the Drip select item. And thatās going to select the Drip platform for exporting.
And then you can go ahead and do things like add your subject line. So Iām just going to add my subject line here and preheader text. So the preheader text is what shows up after the subject line when someoneās opening up your email theyāll see it next to or under your subject line. So you can add that text in there, and just be mindful that you will need to read this subject line in Drip later.
The one that weāre adding in here is going to get automatically added to your HTML template itself. So for example, if you click on the viewing browser Link in the email and that opens up a new browser tab showing the email, it will use this line here, which gets added to your title tag as the title of that tab or the title of that window. So you can mirror the subject line in here but then also be mindful that youāll have to upload that or read that subject line when we upload the template in a moment.
Now that weāve got our subject line and preheader added, Iām just going to go ahead and click on the export for Drip button. So click on export for Drip, and this is going to automatically generate the HTML and upload all the images and get all that code packaged up for you in a zip file.
Now that weāve finished the export, you can go ahead and click on the download your zip file button in the Figma plugin, and then just save that anywhere to your computer like your desktop. And then just double click on that zip file to unzip it, and then youāll get a folder that looks like this. This folder contains the production-ready HTML code and itās going to be inside of a folder that has the same name as your frame in Figma.
You can see weāve called ours template Drip example and inside the zip file we just exported thereās a folder called template Drip example. So the file that you want is this index.html file, and this contains all of the code for our email that we can now add to Drip.
What we need to do is log into our Drip account. So Iām logged in over here and depending on what workflow youāre using, you can pick any of those today. Iām going to keep it simple and assume youāre using a single email campaign. So Iām going to click on the single email campaign item or you can also get to that from the campaigns list over here and clicking on the single email item. So Iām just going to click on that now.
Then just go ahead and click on the create button at the top of the page. And you want to make sure that you select the new text/html campaign option. So we donāt want the visual Builder we want the new text HTML Campaign which is going to allow us to add custom HTML. So Iām just going to click on the new text HTML campaign button and then give that a name.
Weāre just going to call this new campaign Figma upload test and Iām going to create campaign by clicking on the create campaign button. And thatās going to spin up a new Drip campaign a blank Drip campaign and what we want to do is click on this switch to custom HTML button over here.
You can see on the right-hand side if I click that itās going to say you know a warning do we want to switch to using custom HTML and we want to say yes I understand so just go ahead and click on I understand and thatās going to switch the editor from this wysiwyg style Editor to a proper code editor that we can actually drop proper HTML code into.
Now that weāve got that set up, what you want to do is copy the code from this index.html file. In this case, the easiest way to do that would be to open up a new browser tab. Open up a new browser tab or a new window, drag and drop the index.html file in there, and you can see that it loads up the HTML. Then, just go ahead and right-click anywhere, go down to āView Page Source,ā and you want to copy and paste all of that code to your clipboard. Copy every single thing from that āView Page Sourceā window that we just got to in our index.html file.
Then, go back into Drip and you want to highlight all of the code thatās already in the email editor and delete all of it. Weāre just going to delete everything, so itās completely blank, and then weāre going to paste in our code that we just copied from the index.html file. Iām just copying that in now, and thatās been copied in. You can see here that itās now adding all of our content in here. We can switch to the preview tab to verify it. You can see itās all in there now.
We can select all of that HTML. Itās looking the same as it did in our Figma preview. Donāt worry about this warning in my window over here; thereās a thing saying that the link is invalid because I didnāt add a link onto this button. I just left it as default. Yours wonāt have that if youāve got the correct links added everywhere. That just currently has a placeholder link, so itās just giving a warning about that. But it recognizes the links down here. You can see that weāve got our address, our unsubscribe link, our āviewing browserā link; those are all being recognized and populated by Drip, which is great. So, weāve got those in there.
Again, you want to go ahead and change this email subject line to be whatever you want. For example, in our email, we had it as āsubject testā or something like that. So, whatever you added in the Emailify subject line field, you basically want to do that in your email subject in Drip as well. You can customize that as you need to. But once youāve added in your text, you can go ahead and click on the āsaveā button. Thatās just going to save the email template for you. And youāll notice thereās also an option here to autogenerate the plain text version. Thatās on by default, and youāre welcome to leave that on if youāre happy with that. Alternatively, if you want to add your own, what you can do is go to the āpl textā tab over here. You can see here that weāve got our plain text version .txt file over here. This is something thatās generated by Emailify automatically, and youāll notice that itās also got the content from our email rendered as plain text. I think Drip does a really good job of adding this automatically, so you probably donāt need to use the one exporter from the Figma plugin. But if you do want to customize that plain text, that tab is the way you can do it and feel free to play around with that as you like.
Thatās basically it. Thatās how you can get your custom HTML emails from Figma into the Drip email marketing platform and use those for your campaigns. And once youāre happy with your campaign setup, you can just go ahead and click on the ādone editingā button in the top right, and that will bring you back to the campaigns list where you can then again preview this or add an audience and schedule it, and do everything that you would expect to be able to do with that custom HTML email.
Weāll leave it there for today. I hope thatās been helpful. If youāre a Drip user and youāve been wanting to add custom HTML designs from Figma, in this case using the Emailify Figma plugin to design those, this is a really quick way of going about it, and hopefully, it improves your workflow if you are using the Drip campaign manager with Figma as well. Thank you, as always, for watching, and weāll be back with more Figma tutorials like this one very soon.

Adam Brock
Founder & CEO of Hypermatic


