While Klaviyo does not have a built-in integration with HubSpot, you can export your data from HubSpot and upload it into Klaviyo.
This guide will walk you through migrating your data from HubSpot to Klaviyo. As you migrate your HubSpot lists, keep in mind that the main objectives for migrating data are to ensure that all relevant contacts and fields are represented in Klaviyo, and that any opted-out contacts are treated as such in Klaviyo. Below, we provide a recommended approach that will allow you to upload your HubSpot contacts to Klaviyo and treat various contacts as unsubscribed based on the contact's status in HubSpot. We recommend that you also review how HubSpot defines these statuses so you can verify data quality in HubSpot and ensure that this approach of uploading active and unsubscribed profiles aligns with your intended use of Klaviyo.
This article gives you general guidelines for migrating your data from HubSpot to Klaviyo. Contact HubSpot Support for the most up-to-date instructions on exporting your HubSpot data.
Before migrating your data from HubSpot to Klaviyo, we suggest creating several HubSpot lists:
- Everyone - Active
- All Unsubscribes
- 7 Day - engagement
- 14 Day - engagement
- 30 Day - engagement
- 60 Day - engagement
Each of these lists will be treated differently in Klaviyo
- Everyone - Active list - Add this list to your Newsletter list or list of choice
- All Unsubscribes - Add this list to your Klaviyo Suppression List
- 7 Day, 14 Day, 30 Day, 60 Day - These lists will be retained for later use when you will begin warming your account by using these lists to send strategic campaigns
Migrating from HubSpot to Klaviyo requires several key steps:
- Export active HubSpot contacts into a CSV file.
- Format the CSV file.
- Import the CSV file to a Klaviyo list.
- Export HubSpot unsubscribes.
- Upload unsubscribes to your Klaviyo Suppression List.
- Export 7-day, 14-day, 30-day, and 60-day engagement lists
- Migrate your HubSpot email templates to Klaviyo.
- Sunset your HubSpot account.
- Send your first Klaviyo campaign.
Export Your HubSpot Lists
Each HubSpot account is set up uniquely. The following instructions are guidelines for exporting your HubSpot lists. Contact HubSpot support and consult their documentation for the most up-to-date export instructions.
These instructions are for both free and paid accounts. From your HubSpot account, navigate to Contacts > All contacts
In the Options dropdown, choose Export.
Choose CSV as the file format, and select Include all properties.
Click Export. The file will be sent to the email address you logged in with.
Format CSV Files
Contacts are imported into Klaviyo in CSV format. Carefully format each CSV file before it is imported into Klaviyo to ensure that your contacts are imported smoothly and accurately.
Open each CSV file. Carefully comb through each list, paying special attention to the column headings:
- Column headings should be in the first row of the CSV file. If HubSpot adds additional rows before the column headings, delete these extra rows.
- Your CSV file must include an "Email" or an "Email Address" header as the first column.
- You may want to include a "First Name" and a "Last Name" column.
- Include any custom profile properties, such as "Gender", that you'd like to upload to Klaviyo
- Timestamp fields such as "Date Added", "Last Opened", and "Last Clicked" need to be formatted correctly or Klaviyo will not recognize them as timestamp fields. Make sure timestamp data is in one of these formats:
This is an example of how your CSV file should be formatted:
Review your CSV file carefully, editing/deleting column headings and contact entries as appropriate.
For more detailed instructions on formatting CSV files, head to our article on Creating and Adding Contacts to a New List.
Import CSV Files to a Klaviyo List
After you format your exported data, import it to a list in Klaviyo.
Log into your Klaviyo account and navigate to Lists & Segments. Select the list where you would like to add your contacts. For this example, we're going to add subscribers to the Newsletter list since they have already opted in.
In the upper right-hand corner of your list, choose Import Contact from the Manage List dropdown.
Drag and drop your CSV file. You’ll be prompted to review field mapping before Klaviyo begins the import. Review each import field/corresponding Klaviyo field, and modify as appropriate. By default, all identified fields are included in the import. You can omit a field from import by unchecking the box to the right of the field name.
Import fields that are not automatically matched to a Klaviyo field are marked "Unmapped." If you try to import an unmapped field, you will receive an error message prompting you to add the field. From the dropdown, select an existing Klaviyo field name or create a custom field by typing a name into the blank entry field. To the right of the field name, select a data type from these options: String, Boolean, Number, Date, or List, or Consent. If you're unsure of the data type, head to our article on data types in Klaviyo.
This is a simple example of field mapping for a HubSpot contacts import:
When you're finished, click Start Import on the upper -right corner of your screen.
For a deeper dive into importing contacts, head to our article on Migrating Existing Subscribers and Unsubscribes into Klaviyo.
Export HubSpot Unsubscribes
It is important to import your HubSpot unsubscribes into your Klaviyo Suppression List to ensure compliance with spam laws and keep your deliverability strong. Suppressed contacts in Klaviyo cannot be sent marketing emails; however, if you use Klaviyo to send transactional emails, suppressed contacts will still receive these.
Unsubscribed from email is a default property in HubSpot, so you’ll export this list, format it, and upload it into your Klaviyo Suppressions List.
Navigate to Contacts > Lists > Create list.
Name your new list descriptively. For Filter type, choose Contact properties.
Search for unsubscribes, and select Unsubscribed from all email.
Set Unsubscribed from all email is equal to True, and click Apply filter.
Save the list.
Now navigate to Lists and find your Unsubscribe list. Hover over the list options and select the More dropdown. Choose Export.
You only need to upload email addresses to your Klaviyo Suppressions list. In the search field type Email. Select the Email field and click Next. Follow the wizard to export your unsubscribes in the CSV format.
Format the CSV download so that it contains a single column of email addresses. Below is an example of how your suppression list CSV file should be formatted:
Now you're ready to upload your unsubscribes into Klaviyo.
Upload Unsubscribes to Klaviyo
Navigate to the Profiles tab in your Klaviyo account, and click Suppressed Profiles on the upper right. Then select Upload File.Click Choose File and select the CSV containing your HubSpot unsubscribes. Then click Upload Suppressions.
Your Klaviyo Suppression List will now reflect your import.
Export 7-Day, 14-Day, 30-Day, and 60-Day Engagement Lists
Navigate to Contacts > Lists > Create list.
Name your new list descriptively (e.g., 7-day engagement. For Filter type, choose Contact properties.
Now select Last marketing email open date.
Click is after. You’ll need to calculate your desired date. For example, if today is February 19, 2021, then 7 days prior is February 8, 2021.
Apply the filter, and then save your list. Follow previous instructions to export the list. Repeat these steps to create 14-day engagement, 30-day engagement, and 60-day engagement lists. You'll use these lists later to send strategic campaigns.
Migrate Email Templates from HubSpot to Klaviyo
Klaviyo has an intuitive drag-and-drop template builder that you can use to recreate your HubSpot email templates. We highly recommend using this method to rebuild your templates because it will ensure that they are mobile-optimized, responsive, and easy-to-edit moving forward.
Check out our guide to using Klaviyo's template editor.
If you don't have time to recreate your HubSpot templates using Klaviyo's template builder, it is possible to export your email templates from HubSpot in raw HTML and then upload the HTML into Klaviyo. If you must import raw HTML templates, you can import a custom HTML template
Sunset Your HubSpot Account
After you've moved all your data over to Klaviyo, there are three key steps you can take to ensure that you no longer need your HubSpot account:
- Check that your signup forms and list growth tools point to Klaviyo, not HubSpot.
- Recreate your HubSpot workflows as Klaviyo flows.
- Discontinue use of HubSpot.
Signup Forms and List Growth Tools
Recreate any HubSpot signup forms in Klaviyo so that your list continues to grow in Klaviyo rather than in HubSpot. You can:
- Use the Klaviyo Signup Form Builder to re-create your forms from scratch.
- Use a third-party list growth tool that integrates with Klaviyo.
- Integrate your custom forms through your ecommerce platform.
If you are using third-party list growth tools, make sure that these sync to Klaviyo. Klaviyo integrates with a number of tools for list growth and landing pages. Scan our list of app integrations to find the tool that you're using. If you don't see it listed, consider using Klaviyo's native Signup Form Builder to create your forms, or try switching to a different third-party tool.
If you’re using a custom-coded form, there are two ways you can ensure that these contacts sync to Klaviyo. One option is to make sure that your custom form syncs new subscribers directly to your ecommerce platform and that your ecommerce store is integrated with your Klaviyo account. The second option is to point the form directly to your Klaviyo account by updating the Form Action URL. To find the Form Action URL in your Klaviyo account, go to your Lists & Segments tab and click on the list where you want to add your new subscribers. Click on the Subscribe Page tab and copy the URL from the right side of the screen.
After switching all your signup forms to point to Klaviyo, wait a few days and watch your lists in HubSpot. If you notice subscribers are still being added to these lists, there's probably at least one form that still needs to be swapped out.
Next, you'll want to turn off your HubSpot signup forms. Contact HubSpot Support for information on how to turn off your HubSpot signup forms.
Klaviyo refers to automated workflows as "flows" which allow for more advanced and targeted sequences. It is important to recreate these in Klaviyo so that you don't need to continue to use HubSpot to send triggered emails.
As you move from HubSpot, it may be a good time to refresh and update your automated messaging. We recommend that you turn on your Welcome Series and Abandoned Cart flows as soon as possible. A welcome series is particularly important to engage new subscribers, and abandoned cart flows have the highest ROI of any other type of flow.
Once your Klaviyo flows are live, you'll want to turn off all of your workflows in HubSpot to ensure that you're not double-emailing people. Contact HubSpot Support for more information about turning off your HubSpot workflows.
Discontinue HubSpot Use
Once you’ve pointed all of your list growth tools to your Klaviyo account, paused your HubSpot workflows, and turned your Klaviyo flows live, you can discontinue using HubSpot. Before you close your HubSpot account, double-check that everything is working as expected. Enter a test email into your signup form and other list growth tools, abandon a cart, and sign up for your newsletter to trigger a welcome series. Go to the Profiles tab in your Klaviyo account to make sure that the information in the profile reflects all of the correct communication. If the list you sign up to is double opt-in, confirm your email first.
After you've taken these steps and are fully migrated to Klaviyo, you can close your HubSpot account.
Send Your First Campaign with Klaviyo
Once your Klaviyo account is integrated with your store and all of your data is ported over from HubSpot, you can send your first campaign with Klaviyo.
For more information, check out Klaviyo's Getting Started Handbook - Guide to your First Send.
Next Steps with Klaviyo
Build an Excellent Sender Reputation with Klaviyo
After you begin sending to your most engaged segment of customers, you can gradually send to more of your customers. This gradual sending process enhances your sender reputation and is known as warming your IP address.
Head over to our articles on deliverability to read more about warming your sending infrastructure.
Use Advanced Segmentation to Reach your Customers
After you've engaged your most interested subscribers for the first month or so, begin reaching out to the rest of your customer base. You can create additional segments to ensure you're contacting each corner of your customer base.
- Duplicate your Engaged (3 Months) segment and tweak the settings, decreasing the timeframe from 3 months to 30 days.
- Use historical HubSpot data, such as your 7-day, 14-day, 30-day, and 60-day engagement lists, to refine and build out your segments.
For a deeper dive into segmenting and approaching the rest of your customer base, read Creating Customer Engagement Tiers.
If you have questions about transitioning from HubSpot or getting started with Klaviyo, please reach out to our SupportTeam.