How to export HTML emails from Figma to Braze using Emailify
Follow along with this step by step Figma tutorial video.
Steps
- Open your Figma file, find Emailify from the Resources icon, and save or run the plugin from the Plugins tab.
- Run Emailify from Saved plugins and prepare your email template in Figma, including the Braze footer so the unsubscribe link is included.
- Click export HTML, switch from standard HTML email export to Platform Integrations, and choose Braze.
- In Braze, find your API endpoint region and set the matching endpoint in Emailify, then create a new API key with the templates.email.create permission.
- Copy the Braze API key, paste it into the Emailify REST API key field, add a subject line, and click upload to Braze.
- In Braze, open Templates > Email templates and select the HTML editor tab to refresh and view the uploaded template.
- Open the uploaded template to confirm the subject line and email body, then use preview and test or the mobile HTML view if needed.

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 how to automatically upload your HTML email designs from Figma to the Braze 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 here, and if you search for Emailify, and if you click on the Emailify results under the āPluginsā tab, you can run the Figma plugin by either clicking on this āRunā button here, or Iād recommend clicking on this little āSaveā icon here, which will save it to your Figma plugins list for easy access.
Iāve already done that, so Iām going to go to my canvas. Iām just going to right-click anywhere, go down to āPlugins,ā go down to āSaved plugins,ā and then click on the āEmailifyā item, 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 basically helps you to design HTML emails directly in Figma, which you can then export to production-ready HTML code with one click when youāre finished.
Iām not going to go through all of the design features of the Figma plugin today. Iām just going to be assuming that youāve already familiarized yourself with that with some of the other Figma tutorials on the YouTube channel for Emailify, and Iām just going to assume youāve got your template ready to go.
The last thing Iām going to add to mine here is just go to the footer tab. Iām just going to click on the Braze footer, and thatās just going to make sure that the unsubscribe link is included automatically. So weāve got our little navigation component, the link setting. If you click on the HTML and mobile settings, you can see that the clickable link is set to the Braze unsubscribe URL.
Now weāre ready to go. Once weāre ready to export it to HTML, you can just click on this little export HTML button up here, and weāre going to change the platform from just HTML email, which just downloads it to your computer, to the āPlatform Integrationsā section.
And then weāre just going to click on Braze. So click on the Braze item, and then itās going to ask for your Braze API key and your Braze endpoint. So you can click on this link to find out some more details about that. But basically, if youāre already logged into Braze, the way you can find these is if you just go to your dashboard, you can see down here that youāve got your API endpoint. So the endpoint region is what weāre after. So you can see ours is fra-02.
In our Figma plugin, weāre just going to change this little endpoint selector and go down to fra-02. And then weāre going to go to our manage API Keys section. So if you click on manage API keys in Braze, thatās going to take you to a new page to create a new API key. So we donāt have any set up yet, so weāre going to click on the create new API key button over here.
And then all you need to do is give it a name. So in the API key name field in Braze, just put in Emailify or whatever label you want to give it. And for the permissions or scopes, weāre just going to scroll all the way down to templates and click on ātemplates.email.createā. So this is going to allow the API key to create a new template on your Braze dashboard. So weāre going to keep that one checked, and thatās all we need to select for now. So weāre going to go ahead and click on Save API key.
Once that creates your API key, you can see that itās given the new listing with the Emailify name, and weāve got our API key here. So all you need to do is click on this little copy button. So Iām just going to click copy. Thatās going to copy it to my clipboard. And Iām also just going to preemptively go to our templates page. So if you go to templates, email templates, weāre going to leave that page open for when we come back in a second to check on it.
You can see here at the moment, I donāt have anything uploaded. So if I click on my HTML editor button up here, Iāve got no saved templates. So weāll refresh that in a second. So with our copied API key, weāre just going to go to this little rest API key field in the Figma plugin, paste in your key there, and then you can either give the email a subject line. So we can give this a test subject. And then once youāre happy with that, just click on the upload to Braze button.
Once you click upload to Braze, this is going to automatically generate all of the HTML. Itās going to upload all of the images, and itās going to now tell us that our Braze templates have been uploaded. So we can access them by going to our Braze account, going to this template sidebar item, which we just did, and click on email templates. So this is the page weāre on now, the email templates page, and then you just want to click on the HTML editor tab up here. So where it says select your editing experience, make sure youāve got the HTML editor tab selected.
And you can see when we click that, itās refreshing our saved HTML templates, and you can see that our test template, which is what we called it in Figma, the frame over here, has been uploaded. So if we click on that, that will load up the template. So you can see weāve got our test template up here, and weāve got our test subject. So thatās the subject line we added a minute ago in the Figma plugin. So itās included the subject line, and of course, itās also included the email body. So you can see here that itās uploaded the email. Weāve got a bit of a screenshot of it, and now you can go ahead if you wanted to. You can preview and test that. So if you click on preview and test, thatāll let you preview it.
You can see this is all inline HTML, real HTML. Itās been uploaded, and youāre able to now test that to yourself or send a test to somebody else with pre-populated information from a certain user if you had any placeholder fields and stuff like that. So this is basically what it looks like. And yeah, if you click on the HTML mobile one, thatāll show you what it looks like on HTML on the mobile version, which matches up with the Figma plugin preview as well.
We didnāt go through that, but you can click on preview, and you can see here itās matching up with the Braze preview. So yeah, thatās basically it for today. I just wanted to keep this really short. If youāre using the Braze email marketing platform, this is a really quick way of getting your HTML email templates from Figma into Braze using the Emailify Figma plugin with one click. So 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


