NOTE: This guide is for HubSpot marketing emails. If you'd like to use with HubSpot sales emails, please see our Using Vidu Video with HubSpot Sales Emails guide.
It's easy to generate and use batches of personalized videos with HubSpot Marketing Emails.
1. Generate a batch of personalized videos
This guide show you how to generate a batch of personalized videos with CSV.
2. Import the CSV into HubSpot
Open the "Contacts" page and click the "Import" button in the upper right:
Choose "Start an import":
Choose "Import file from computer":
Choose "One file":
Choose "One object":
Choose "Contacts" as the import type:
Click "choose a file" and upload your Vidu CSV batch:
Import the vidu_video_view_key
value from the CSV:
You'll now have the option to import properties from the CSV. We just need to import one, vidu_video_view_key
. If this is your first time importing Vidu videos, create a "single-line text" property:
Click "next", you'll see a confirmation message:
Click "View Contacts":
If you adjust the columns to display vidu_video_view_key
, you'll see a unique value for each contact.
3. Insert the dynamic video into the email
Create a new email and insert a "HTML" module (you may have to click "+ More" to see it).
Insert the following HTML:
<a href="https://watch.vidu.io/watch/{{contact.vidu_video_view_key}}" rel="noopener noreferrer" target="_blank">
<img src="https://watch.vidu.io/i/{{contact.vidu_video_view_key}}.thumbnail.gif" width="496" height="279" alt="Watch the video I made for you" style="border: 1px solid #aaa;" />
</a>
<br>
<a href="https://watch.vidu.io/watch/{{contact.vidu_video_view_key}}" rel="noopener noreferrer" target="_blank">Watch the video I made for you</a>
(if you use a custom domain like videos.mydomain.com
, replace watch.vidu.io
with your custom domain)
You'll see a placeholder image where the dynamic personalized video thumbnail will appear:
4. Test the email
Click the "Send test email" button in the top right menu and choose a contact from the CSV import:
You'll receive an email that will contain the personalized video: