Moving your whole account off Klaviyo instead? See Migrate from Klaviyo to Brew.

Connect
1
Connect your Klaviyo account
In Brew, go to Integrations and click the Klaviyo card. You’ll be redirected to Klaviyo to authorize the connection. Brew never sees your Klaviyo password or API keys.
Export a Template
1
Open the email
Open the email you want to export in Brew.
2
Send → Export template
Click Send in the top right and select Export template.
3
Choose Klaviyo
Pick Klaviyo as the destination, name the template, review the subject and preview text, then click Export.
Where It Lands
The template lands in Content → Templates as a CODE template, on the Email: saved tab. Use it in a campaign or flow.What the Template Contains
When you export to Klaviyo, Brew:- Renders the email to production-ready HTML
- Adds the preview text from the export flow
- Swaps Brew unsubscribe placeholders for Klaviyo’s unsubscribe tag format
- Creates a reusable CODE template in your Klaviyo account
Brew keeps the shared subject and preview fields in the export flow so you can review them before handoff. Klaviyo stores the HTML template, and you can set the final subject line when you use the template in Klaviyo.
From an Agent or Code
From an agent,export_email over MCP exports a design to Klaviyo. From code, send POST /v1/emails/{emailId}/export with "provider": "klaviyo". Connect Klaviyo in the app first.
Export is free. Pass dryRun: true to check the design and the connection without creating a template. A dry run doesn’t test whether Klaviyo accepts the template: only a real export does.
The template takes the email’s title unless you pass templateName (up to 100 characters), and the response returns its templateId. If an export fails, the error says why:
INTEGRATION_NOT_CONNECTED: Klaviyo isn’t connected to this brand. Connect it on the Integrations page.EXPORT_UNSUPPORTED: Klaviyo rejected a field value it doesn’t support. Change the value and export again.EXPORT_PROVIDER_ERROR: Klaviyo refused or failed the export. Check the connection and retry.
Requirements
- A Klaviyo account where you are an Owner, Admin or Manager. Klaviyo allows only those roles to authorize an app.
Need Help?
Our team is ready to support you at every step of your journey with Brew. Choose the option that works best for you:- Self-Service Tools
- Talk to Our Team
Search Documentation
Type in the “Ask any question” search bar at the top left to instantly find relevant documentation pages.
Ask ChatGPT or Claude
Click here to open the Copy page menu at the top of this page, then send the page to ChatGPT, Claude, or your editor.