{"id":518,"date":"2024-05-10T11:11:20","date_gmt":"2024-05-10T08:11:20","guid":{"rendered":"https:\/\/snov.io\/knowledgebase\/?p=518"},"modified":"2025-04-14T13:03:50","modified_gmt":"2025-04-14T10:03:50","slug":"how-to-add-variables-to-emails","status":"publish","type":"post","link":"https:\/\/snov.io\/knowledgebase\/how-to-add-variables-to-emails\/","title":{"rendered":"How to use variables for personalization"},"content":{"rendered":"<p>With Snov.io's <a href=\"https:\/\/snov.io\/outreach-campaigns\" target=\"_blank\" rel=\"noopener\">multichannel campaigns<\/a>, you can use variables to automatically send personalized emails and LinkedIn messages. In this guide, you\u2019ll learn about different types of variables to boost engagement.<\/p>\n<p><strong><a href=\"#personalization-variables-in-snovio\">Personalization variables in Snov.io<\/a><\/strong><\/p>\n<p><strong><a href=\"#default-variables\">Default variables<\/a><\/strong><\/p>\n<p><strong><a href=\"#custom-variables\">Custom variables<\/a><\/strong><\/p>\n<p><strong><a href=\"#dynamic-variables\">Dynamic variables<\/a><\/strong><\/p>\n<p><strong><a href=\"#what-is-a-correct-variable-format\">What is a correct variable format<\/a><\/strong><\/p>\n<h2><strong>What are variables and how they work<\/strong><\/h2>\n<p>When your recipient sees a message with details about them or their needs, they're more likely to respond and engage. Variables are special placeholders that let you add personalized information about a prospect to multiple messages at once.<\/p>\n<div class=\"notification-block note\">\n<div class=\"notification-block__icon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/themes\/knowledgebase\/assets\/img\/ph_circle-wavy-warning.svg\" alt=\"note\" width=\"32\" height=\"32\" \/><\/div>\n<div class=\"notification-block__text\">\n<p>Using variables lets you automatically add details specific to each recipient in your campaigns.<\/p>\n<\/div>\n<\/div>\n<h2><strong>How to add variables to email content<\/strong><\/h2>\n<p>In Snov.io, you can personalize both your <a href=\"https:\/\/snov.io\/linkedin-automation-tools\" target=\"_blank\" rel=\"noopener\">LinkedIn outreach<\/a> and <a href=\"https:\/\/snov.io\/cold-email\" target=\"_blank\" rel=\"noopener\">cold email<\/a> campaigns.<\/p>\n<p>You can find a list of variables in the campaign editor. To add a variable to your email, click <strong>Variable<\/strong>\u00a0on the toolbar and select the desired variable from the drop-down list. A placeholder will be inserted at the cursor position.<\/p>\n<p>You can add variables anywhere in the email body or subject line.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-31346 wp-block-image shadow\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2022\/06\/Snov-io-36.jpg\" alt=\"\" width=\"1920\" height=\"1031\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2022\/06\/Snov-io-36.jpg 1920w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2022\/06\/Snov-io-36-300x161.jpg 300w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2022\/06\/Snov-io-36-1024x550.jpg 1024w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2022\/06\/Snov-io-36-768x412.jpg 768w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2022\/06\/Snov-io-36-1536x825.jpg 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h2 id=\"personalization-variables-in-snovio\"><strong>Personalization variable types in Snov.io<\/strong><\/h2>\n<p>Snov.io automatically generates variables for both default and custom prospect fields.<\/p>\n<div class=\"notification-block tip\">\n<div class=\"notification-block__icon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/themes\/knowledgebase\/assets\/img\/academicons_ideas-repec.svg\" alt=\"tip\" width=\"32\" height=\"32\" \/><\/div>\n<div class=\"notification-block__text\">\n<p>Once the email is sent, the variable you inserted will be replaced with the corresponding field's value. The recipient will see the personalized content instead of the placeholder.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<h3 id=\"default-variables\"><strong>1) Default variables<\/strong><\/h3>\n<p>Leads found with Snov.io come enriched with data fields such as name, company, position, social URLs, etc. Each prospect field has a corresponding variable that can be inserted into your emails.<\/p>\n<table style=\"width: 84.301%; height: 1160px;\" border=\"1\" cellpadding=\"10%\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 23.1539%; height: 24px;\"><strong>Prospect field<\/strong><\/td>\n<td style=\"width: 84.1545%; height: 24px;\"><b>Placeholder (Variable name)<\/b><\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\">Full name<\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{full_name}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\"><span class=\"wysiwyg-color-black\">First Name<\/span><\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{first_name}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\"><span class=\"wysiwyg-color-black\">Last Name<\/span><\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{last_name}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\"><span class=\"wysiwyg-color-black\">Sender account name<\/span><\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{sender_account_name}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\">Country<\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{country}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\">Location<\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{location}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\">Industry<\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{industry}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\">LinkedIn URL<\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{linkedin_url}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\">Facebook URL<\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{facebook_url}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 23.1539%; height: 24px;\">Twitter URL<\/td>\n<td style=\"width: 84.1545%; height: 24px;\">\n<pre><span class=\"wysiwyg-color-black\">{{twitter_url}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\">Position<\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{position}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\">Company name<\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{company_name}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 23.1539%; height: 56px;\">Company website<\/td>\n<td style=\"width: 84.1545%; height: 56px;\">\n<pre><span class=\"wysiwyg-color-black\">{{company_website}}<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"custom-variables\"><strong>2) Custom variables<\/strong><\/h3>\n<p>Custom variables allow you to personalize your emails with any additional information you have about your leads.<\/p>\n<p>For example, you can use unique pieces of text for different leads in bulk by inserting custom variables like {{icebreaker}} or {{common_ground}}.<\/p>\n<div class=\"notification-block tip\">\n<div class=\"notification-block__icon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/themes\/knowledgebase\/assets\/img\/academicons_ideas-repec.svg\" alt=\"tip\" width=\"32\" height=\"32\" \/><\/div>\n<div class=\"notification-block__text\">\n<p>\u00a0They inherit their names from custom prospect fields. For example, if a custom prospect field is named \"Personalization,\" the placeholder for this variable will be {{Personalization}}.<\/p>\n<\/div>\n<\/div>\n<p>You can create up to 30 custom fields in your account and fill them with data in bulk using the import feature.<\/p>\n<p><a href=\"https:\/\/snov.io\/knowledgebase\/how-to-manage-custom-fields-and-data-tabs\/\" target=\"_blank\" rel=\"noopener\"><strong>Read how to create custom fields and add data.<\/strong><\/a><\/p>\n<h3 id=\"dynamic-variables\"><strong>3) Dynamic variables<\/strong><\/h3>\n<p>Dynamic content makes your emails even more personalized and effective. They change the content based on relevant information from the prospect's profile or custom text added.<\/p>\n<p>It works by checking a selected prospect field. If the field value matches the condition you set, the personalized text variations will be used in the email.<\/p>\n<p><strong><a href=\"https:\/\/snov.io\/knowledgebase\/how-to-personalize-emails-with-dynamic-content\/\" target=\"_blank\" rel=\"noopener\">Learn more on how to use dynamic content to send targeted emails<\/a><\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-31281 wp-block-image shadow\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-30.jpg\" alt=\"\" width=\"1920\" height=\"1024\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-30.jpg 1920w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-30-300x160.jpg 300w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-30-1024x546.jpg 1024w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-30-768x410.jpg 768w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-30-1536x819.jpg 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h2 id=\"what-is-a-correct-variable-format\"><strong>Correct variable format<\/strong><\/h2>\n<p>Snov.io uses a variable format with double curly braces on both sides and underscores to separate words in the field's title.<\/p>\n<p>The name of the custom variable should match the name of the prospect field.<\/p>\n<pre>Default variable: {{default_field_name}}\r\nCustom variable: {{custom_field_name}}<\/pre>\n<p>A red label indicates a format error or a non-existent prospect field.<\/p>\n<p>To fix an invalid variable, click on the placeholder, enter the correct variable name, and select it from the drop-down list.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-31380 wp-block-image shadow\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-40.jpg\" alt=\"\" width=\"1920\" height=\"1024\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-40.jpg 1920w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-40-300x160.jpg 300w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-40-1024x546.jpg 1024w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-40-768x410.jpg 768w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-40-1536x819.jpg 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>If you insert variables from the <strong>Variable <\/strong>menu, they will always be in the correct format. You can also add placeholders through the email's source code, but make sure to use the correct format for manual entry.<\/p>\n<p>A correctly added variable will appear as a colored label in the email editor.<\/p>\n<div class=\"notification-block tip\">\n<div class=\"notification-block__icon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/themes\/knowledgebase\/assets\/img\/academicons_ideas-repec.svg\" alt=\"tip\" width=\"32\" height=\"32\" \/><\/div>\n<div class=\"notification-block__text\">\n<p>Use the Preview and test option at the bottom to make sure the variables display correctly before launching a campaign.<\/p>\n<\/div>\n<\/div>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-31366 wp-block-image shadow\" src=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-38.jpg\" alt=\"\" width=\"1920\" height=\"1024\" srcset=\"https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-38.jpg 1920w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-38-300x160.jpg 300w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-38-1024x546.jpg 1024w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-38-768x410.jpg 768w, https:\/\/snov.io\/knowledgebase\/wp-content\/uploads\/2024\/05\/Snov-io-38-1536x819.jpg 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/h2>\n<h2><strong>Read next:<\/strong><\/h2>\n<p>In cases where a prospect\u2019s profile is missing the necessary custom data, you can add a default value to be used.<\/p>\n<p><strong><a href=\"https:\/\/snov.io\/knowledgebase\/how-does-the-fallback-feature-work\/\" target=\"_blank\" rel=\"noopener\">Learn how to add default values for variables<\/a><\/strong><\/p>\n<p>Snov.io campaigns notify you if there is no information available for an email variable. You can manually fill in the empty fields with data before sending the campaign.<\/p>\n<p><strong><a href=\"https:\/\/snov.io\/knowledgebase\/how-to-manually-fill-in-missing-variables\/\">How to fill in missing variables manually<\/a><\/strong><\/p>\n<p><em>If you have a question that we haven't covered, feel free to reach out to our Customer Care team. You can contact us at help@snov.io or through live chat. We're here to assist you!<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With Snov.io&#8217;s multichannel campaigns, you can use variables to automatically send personalized emails and LinkedIn messages. In this guide, you\u2019ll learn about different types of variables to boost engagement. Personalization variables in Snov.io Default variables Custom variables Dynamic variables What is a correct variable format What are variables and how they work When your recipient [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1978],"tags":[],"_links":{"self":[{"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/posts\/518"}],"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=518"}],"version-history":[{"count":1,"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/posts\/518\/revisions"}],"predecessor-version":[{"id":38838,"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/posts\/518\/revisions\/38838"}],"wp:attachment":[{"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/media?parent=518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/categories?post=518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/snov.io\/knowledgebase\/wp-json\/wp\/v2\/tags?post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}