{"id":23526,"date":"2023-04-03T17:19:16","date_gmt":"2023-04-03T14:19:16","guid":{"rendered":"https:\/\/snov.io\/knowledgebase\/?p=23526"},"modified":"2025-02-23T19:20:10","modified_gmt":"2025-02-23T16:20:10","slug":"how-to-send-personalized-images-and-videos-using-variables","status":"publish","type":"post","link":"https:\/\/snov.io\/knowledgebase\/how-to-send-personalized-images-and-videos-using-variables\/","title":{"rendered":"How to send personalized images and videos in bulk using variables"},"content":{"rendered":"<p><i><span style=\"font-weight: 400;\">This article provides a step-by-step guide on how to use variables to include personalized videos\/images into your emails in bulk. <\/span><\/i><\/p>\n<p>Sending personalized images and videos can improve communication with your recipients and enhance the effectiveness of your emails by providing more engaging and memorable content.<\/p>\n<p>In Snov.io Email Drip Campaigns, you have the ability to <a href=\"https:\/\/snov.io\/knowledgebase\/how-to-add-variables-to-emails\/\" target=\"_blank\" rel=\"noopener\">use dynamic variables<\/a> and send personalized images and videos in bulk by adjusting the HTML code of your email.<\/p>\n<p>By using variables in the source code, you can achieve this task at scale, instead of manually adding media links to each prospect and each email.<\/p>\n<p>Inserting personalized media into your emails involves a few steps:<\/p>\n<p><a href=\"#1\"><strong>Step 1. Add custom fields for the prospects<\/strong><\/a><\/p>\n<p><strong><a href=\"#2\">Step 2. Import media links<\/a><\/strong><\/p>\n<p><strong><a href=\"#3\">Step 3. Add your email content<\/a><\/strong><\/p>\n<p><strong><a href=\"#4\">Step 4. Adjust the HTML code<\/a><\/strong><\/p>\n<p><strong><a href=\"#5\">Step 5. Save and preview the email\u00a0<\/a><\/strong><\/p>\n<h2 id=\"1\">Step 1. Add custom fields<\/h2>\n<p>Begin by creating custom prospect fields that will represent the variables added to your email content.<\/p>\n<p>To add the fields, use the <strong>Manage custom fields<\/strong> option on the toolbar located at the top of the prospect list screen.<\/p>\n<p>Add two fields that will contain the personalized video URL link and its corresponding thumbnail image or GIF.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-block-image shadow aligncenter wp-image-23529 size-full\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-03_18-30-31.jpg\" alt=\"\" width=\"1000\" height=\"501\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-03_18-30-31.jpg 1000w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-03_18-30-31-300x150.jpg 300w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-03_18-30-31-768x385.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-block-image shadow aligncenter wp-image-23553 size-full\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-28-15.jpg\" alt=\"\" width=\"1001\" height=\"501\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-28-15.jpg 1001w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-28-15-300x150.jpg 300w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-28-15-768x384.jpg 768w\" sizes=\"(max-width: 1001px) 100vw, 1001px\" \/><\/p>\n<h2 id=\"2\">Step 2. Import media links to custom fields<\/h2>\n<p>To move forward, you need to input values into the custom prospect fields that you have created.<\/p>\n<p>To accomplish this in bulk (rather than editing every prospect manually), you will need to create a spreadsheet with hyperlinks to the personalized media, such as images or videos, that you have created for each recipient.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-block-image shadow aligncenter\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/02\/2023-02-14_14-35-20.jpg\" alt=\"\" width=\"900\" height=\"439\" \/><\/p>\n<p>Use <strong>Import from file<\/strong> option:<\/p>\n<ul>\n<li>Upload the spreadsheet<\/li>\n<li>Match the column containing media links to the corresponding custom fields<\/li>\n<\/ul>\n<p>Once the import process is complete, every prospect on your list should have a field populated with a personalized video URL <strong>(1)<\/strong> and a thumbnail image URL <strong>(2).<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-block-image shadow aligncenter wp-image-23551 \" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-25-10.jpg\" alt=\"\" width=\"613\" height=\"775\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-25-10.jpg 698w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-25-10-237x300.jpg 237w\" sizes=\"(max-width: 613px) 100vw, 613px\" \/><\/p>\n<h2 id=\"3\">Step 3. Add your email content<\/h2>\n<p>The next step is to add an email element to your sequence and create its content. You can input the HTML code of your template into the source code editor to add the content.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-block-image shadow aligncenter wp-image-23545 size-full\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_13-15-07.jpg\" alt=\"\" width=\"1000\" height=\"501\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_13-15-07.jpg 1000w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_13-15-07-300x150.jpg 300w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_13-15-07-768x385.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>Here's a code snippet example for the purpose of demonstration in this tutorial. Your HTML template should also contain a similar media block.<\/p>\n<div class=\"notification-block note-gray\">\n<div class=\"notification-block__text\">\n<p><strong>HTML code example:<br \/>\n<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&lt;p&gt;Check out our latest product demo:&lt;\/p&gt;<br \/>\n&lt;a href=\"{{Video}}\" target=\"_blank\" rel=\"noopener\"&gt;<br \/>\n&lt;img src=\"{{Image}}\" alt=\"Test\"&gt;<br \/>\n&lt;\/a&gt;<\/p>\n<\/div>\n<\/div>\n<p><strong>Note:<\/strong> In the code example, the <em><code>target<\/code><\/em> attribute of the link is set to <em><code>_blank<\/code><\/em>, which will open the video in a new browser tab when clicked.<\/p>\n<h2 id=\"4\">Step 4. Adjust the HTML code<\/h2>\n<p>Next, you'll need to edit the source code and manually add variables that will be replaced with personalized media when sending an email.<\/p>\n<p><strong>Note:<\/strong> To manually enter the variable, use the following format: <strong>{{customfieldname}}<\/strong>.<\/p>\n<p>You need to customize the <em><code>href<\/code><\/em> attribute of the link to point to the desired video URL, and the <em><code>src<\/code><\/em> attribute of the image to point to the desired thumbnail image.<\/p>\n<p>In other words, <strong>replace the video URL in your HTML template with a variable created in Snov.io<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-block-image shadow aligncenter wp-image-23549\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-21-47.jpg\" alt=\"\" width=\"1000\" height=\"501\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-21-47.jpg 1200w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-21-47-300x150.jpg 300w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-21-47-1024x513.jpg 1024w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-21-47-768x385.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">After \u201chref=\u201d input <strong>\"<\/strong><strong>{{Video}}\"<\/strong> variable.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">After \u201c img src=\u201d input \"<strong>{{Image}}\"<\/strong> variable.<\/span><\/li>\n<\/ul>\n<p>Click <strong>Ok\u00a0<\/strong>to save changes to the source code.<\/p>\n<h2 id=\"5\">Step 5. Save and preview the email<\/h2>\n<p>Before sending your campaign, it's important to take a final step and preview\/test your email content.<\/p>\n<p>Use <strong>Preview and test\u00a0<\/strong>option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-block-image shadow aligncenter wp-image-23556 size-full\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-32-41.jpg\" alt=\"\" width=\"1001\" height=\"501\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-32-41.jpg 1001w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-32-41-300x150.jpg 300w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_14-32-41-768x384.jpg 768w\" sizes=\"(max-width: 1001px) 100vw, 1001px\" \/><\/p>\n<p>Select a recipient <strong>(1)<\/strong> to preview from the list on the right-hand side and <strong>Send (2)<\/strong> a test email to your test inbox.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-block-image shadow aligncenter wp-image-23557 size-full\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_15-58-19.jpg\" alt=\"\" width=\"1000\" height=\"501\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_15-58-19.jpg 1000w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_15-58-19-300x150.jpg 300w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2023\/04\/2023-04-04_15-58-19-768x385.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>By incorporating variables into the HTML code to personalize your media content, you can provide each prospect with a customized link when sending an email.<\/p>\n<p><em>If you have any questions or need assistance, please don't hesitate to contact us at help@snov.io or through our live chat support. <\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article provides a step-by-step guide on how to use variables to include personalized videos\/images into your emails in bulk. Sending personalized images and videos can improve communication with your recipients and enhance the effectiveness of your emails by providing more engaging and memorable content. In Snov.io Email Drip Campaigns, you have the ability to [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1978],"tags":[],"_links":{"self":[{"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/posts\/23526"}],"collection":[{"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/comments?post=23526"}],"version-history":[{"count":18,"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/posts\/23526\/revisions"}],"predecessor-version":[{"id":37149,"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/posts\/23526\/revisions\/37149"}],"wp:attachment":[{"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/media?parent=23526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/categories?post=23526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/tags?post=23526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}