{"id":5907,"date":"2022-08-12T15:17:49","date_gmt":"2022-08-12T12:17:49","guid":{"rendered":"https:\/\/www.linkedhelper.com\/blog\/?p=5907"},"modified":"2026-03-30T20:39:20","modified_gmt":"2026-03-30T17:39:20","slug":"if-then-else-operator-explained-how-to-create-super-custom-messages-in-linked-helper","status":"publish","type":"post","link":"https:\/\/www.linkedhelper.com\/blog\/if-then-else-operator-explained-how-to-create-super-custom-messages-in-linked-helper\/","title":{"rendered":"IF-THEN-ELSE operator explained: how to create super custom messages in Linked Helper&nbsp;"},"content":{"rendered":"<p><\/p>\n\n\n<\/p>\n<p><a href=\"https:\/\/www.linkedhelper.com\/\">Linked Helper<\/a> allows users to send both simple prefabricated messages and more complex customizations that you may find a little challenging. Built-in variables are easy to use, but in some cases you may need to tweak the IF-THEN-ELSE functions.<\/p>\n<p>\n\n\n\n<\/p>\n<p>To get started, you can try adding custom variables to your CRM, Campaign, or Action. This is a simple task that will allow you to manually write columns that contain particular values in an Excel file. The software will take the necessary values for each message recipient based on the given URL. That is, the messages will be unique for each recipient. Good news \u2013 you don&#8217;t have to write them manually for everyone!<\/p>\n<p>\n\n\n\n<\/p>\n<p>Using the IF-THEN-ELSE function can be the next level up and will make your job a lot easier.<\/p>\n<p>\n\n\n\n<\/p>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What-is-IF-THEN-ELSE-in-simple-words\"><\/span>What is IF-THEN-ELSE in simple words?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\n\n\n\n<\/p>\n<ul class=\"wp-block-list\">\n<li>checks the presence \u2013 or absence \u2013 of a value in a variable, and then<\/li>\n<li>sends the correct message for either condition.<\/li>\n<\/ul>\n<p>\n\n\n\n<\/p>\n<p>For example, your lead\u2019s LinkedIn page may lack certain information for your variables (e.g., the company name {company} may not be specified). In this case, the IF-THEN-ELSE operator is needed. Because the message template will be as personalized as possible for those contacts where the information is given, but at the same time there will be a standard version of the message if the information is not found.<\/p>\n<p>\n\n\n\n<\/p>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Working-with-the-IF-THEN-ELSE-operator-step-by-step\"><\/span>Working with the IF-THEN-ELSE operator step by step<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\n\n\n\n<\/p>\n<p>Next, we will take a closer look at what it\u2019s worth getting started with the IF clauses. We&#8217;ll cover how to add custom variables, but you can start by setting up the operator with built-in variables.<\/p>\n<p>\n\n\n\n<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.linkedhelper.com\/blog\/wp-content\/uploads\/2022\/08\/image10-7.png\" alt=\"LinkedIn variables in Linked Helper\" width=\"384\" height=\"314\" \/><\/figure>\n<p>\n\n\n\n<\/p>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How-to-quickly-research-and-parse-your-leads-profiles\"><\/span>How to quickly research and parse your leads\u2019 profiles<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\n\n\n  \n  \n  <div class=\"\n    mailpoet_form_popup_overlay\n      \"><\/div>\n  <div\n    id=\"mailpoet_form_3\"\n    class=\"\n      mailpoet_form\n      mailpoet_form_shortcode\n      mailpoet_form_position_\n      mailpoet_form_animation_\n    \"\n      >\n\n    <style type=\"text\/css\">\n     #mailpoet_form_3 .mailpoet_form {  }\n#mailpoet_form_3 form { margin-bottom: 0; }\n#mailpoet_form_3 p.mailpoet_form_paragraph { margin-bottom: 10px; }\n#mailpoet_form_3 .mailpoet_column_with_background { padding: 10px; }\n#mailpoet_form_3 .mailpoet_form_column:not(:first-child) { margin-left: 20px; }\n#mailpoet_form_3 .mailpoet_paragraph { line-height: 20px; margin-bottom: 20px; }\n#mailpoet_form_3 .mailpoet_segment_label, #mailpoet_form_3 .mailpoet_text_label, #mailpoet_form_3 .mailpoet_textarea_label, #mailpoet_form_3 .mailpoet_select_label, #mailpoet_form_3 .mailpoet_radio_label, #mailpoet_form_3 .mailpoet_checkbox_label, #mailpoet_form_3 .mailpoet_list_label, #mailpoet_form_3 .mailpoet_date_label { display: block; font-weight: normal; }\n#mailpoet_form_3 .mailpoet_text, #mailpoet_form_3 .mailpoet_textarea, #mailpoet_form_3 .mailpoet_select, #mailpoet_form_3 .mailpoet_date_month, #mailpoet_form_3 .mailpoet_date_day, #mailpoet_form_3 .mailpoet_date_year, #mailpoet_form_3 .mailpoet_date { display: block; }\n#mailpoet_form_3 .mailpoet_text, #mailpoet_form_3 .mailpoet_textarea { width: 200px; }\n#mailpoet_form_3 .mailpoet_checkbox {  }\n#mailpoet_form_3 .mailpoet_submit {  }\n#mailpoet_form_3 .mailpoet_divider {  }\n#mailpoet_form_3 .mailpoet_message {  }\n#mailpoet_form_3 .mailpoet_form_loading { width: 30px; text-align: center; line-height: normal; }\n#mailpoet_form_3 .mailpoet_form_loading > span { width: 5px; height: 5px; background-color: #5b5b5b; }#mailpoet_form_3{border-radius: 0px;color: #000000;text-align: left;}#mailpoet_form_3 form.mailpoet_form {padding: 10px;}#mailpoet_form_3{width: 100%;}#mailpoet_form_3 .mailpoet_message {margin: 0; padding: 0 20px;}\n        #mailpoet_form_3 .mailpoet_validate_success {color: #000000}\n        #mailpoet_form_3 input.parsley-success {color: #000000}\n        #mailpoet_form_3 select.parsley-success {color: #000000}\n        #mailpoet_form_3 textarea.parsley-success {color: #000000}\n      \n        #mailpoet_form_3 .mailpoet_validate_error {color: #cf2e2e}\n        #mailpoet_form_3 input.parsley-error {color: #cf2e2e}\n        #mailpoet_form_3 select.parsley-error {color: #cf2e2e}\n        #mailpoet_form_3 textarea.textarea.parsley-error {color: #cf2e2e}\n        #mailpoet_form_3 .parsley-errors-list {color: #cf2e2e}\n        #mailpoet_form_3 .parsley-required {color: #cf2e2e}\n        #mailpoet_form_3 .parsley-custom-error-message {color: #cf2e2e}\n      #mailpoet_form_3 .mailpoet_paragraph.last {margin-bottom: 0} @media (max-width: 500px) {#mailpoet_form_3 {background-image: none;}} @media (min-width: 500px) {#mailpoet_form_3 .last .mailpoet_paragraph:last-child {margin-bottom: 0}}  @media (max-width: 500px) {#mailpoet_form_3 .mailpoet_form_column:last-child .mailpoet_paragraph:last-child {margin-bottom: 0}} \n    <\/style>\n\n    <form\n      target=\"_self\"\n      method=\"post\"\n      action=\"https:\/\/www.linkedhelper.com\/blog\/wp-admin\/admin-post.php?action=mailpoet_subscription_form\"\n      class=\"mailpoet_form mailpoet_form_form mailpoet_form_shortcode\"\n      novalidate\n      data-delay=\"\"\n      data-exit-intent-enabled=\"\"\n      data-trigger-mode=\"\"\n      data-click-trigger-selector=\"\"\n      data-font-family=\"\"\n      data-cookie-expiration-time=\"\"\n    >\n      <input type=\"hidden\" name=\"data[form_id]\" value=\"3\" \/>\n      <input type=\"hidden\" name=\"token\" value=\"e425bd7b42\" \/>\n      <input type=\"hidden\" name=\"api_version\" value=\"v1\" \/>\n      <input type=\"hidden\" name=\"endpoint\" value=\"subscribers\" \/>\n      <input type=\"hidden\" name=\"mailpoet_method\" value=\"subscribe\" \/>\n\n      <label class=\"mailpoet_hp_email_label\" style=\"display: none !important;\">Please leave this field empty<input type=\"email\" name=\"data[email]\"\/><\/label><h2 class=\"mailpoet-heading \" style=\"text-align: left\">Subscribe<\/h2>\n<p class=\"mailpoet_form_paragraph \" style=\"text-align: left\">to get tips you are interested in<\/p>\n<div class='mailpoet_form_columns_container'><div class=\"mailpoet_form_columns mailpoet_paragraph mailpoet_stack_on_mobile\"><div class=\"mailpoet_form_column\" style=\"padding:0px 55px 0px 0px;;\"><div class=\"mailpoet_paragraph \"><input type=\"email\" autocomplete=\"email\" class=\"mailpoet_text\" id=\"form_email_3\" name=\"data[form_field_N2EyMjA0ZTliM2NiX2VtYWls]\" title=\"Email\" value=\"\" style=\"width:100%;box-sizing:border-box;padding:15px;margin: 0 auto 0 0;font-size:15px;line-height:1.5;height:auto;\" data-automation-id=\"form_email\"  placeholder=\"Email *\" aria-label=\"Email *\" data-parsley-errors-container=\".mailpoet_error_9zp29\" data-parsley-required=\"true\" required aria-required=\"true\" data-parsley-minlength=\"6\" data-parsley-maxlength=\"150\" data-parsley-type-message=\"This value should be a valid email.\" data-parsley-required-message=\"This field is required.\"\/><span class=\"mailpoet_error_9zp29\"><\/span><\/div>\n<\/div>\n<div class=\"mailpoet_form_column\" style=\"padding:0px 55px 0px 0px;;\"><div class=\"mailpoet_paragraph \"><input type=\"submit\" class=\"mailpoet_submit\" value=\"SUBSCRIBE\" data-automation-id=\"subscribe-submit-button\" style=\"padding:15px;margin: 0 auto 0 0;font-size:15px;line-height:1.5;height:auto;border-color:transparent;\" \/><span class=\"mailpoet_form_loading\"><span class=\"mailpoet_bounce1\"><\/span><span class=\"mailpoet_bounce2\"><\/span><span class=\"mailpoet_bounce3\"><\/span><\/span><\/div>\n<\/div>\n<\/div><\/div>\n\n      <div class=\"mailpoet_message\">\n        <p class=\"mailpoet_validate_success\"\n                style=\"display:none;\"\n                >Thank you for your subscribtion! Let&#039;s keep in touch. We publish new articles 2 times a week. Enjoy reading.\n        <\/p>\n        <p class=\"mailpoet_validate_error\"\n                style=\"display:none;\"\n                >        <\/p>\n      <\/div>\n    <\/form>\n\n      <\/div>\n\n  \n\n\n\n<\/p>\n<p>You can visit thousands of profiles through Linked Helper, and the software will collect data from the profiles. You can use data such as their bio text to create a custom column for personalization.<\/p>\n<p>\n\n\n\n<\/p>\n<p>For parsing the data, you can use various actions \u2013 Visit &amp; extract,&#8221; &#8220;Auto invite,&#8221; and &#8220;Like and comment post or article.&#8221;<\/p>\n<p>\n\n\n\n<\/p>\n<p>After visiting profiles and parsing, you can download a file with leads, where their emails will also be saved. In the downloaded file, you can add columns with variables that you will later use in your campaigns.<\/p>\n<p>\n\n\n\n\n\n<\/p>\n<ul class=\"wp-block-list\">\n<li>To download data, you can go to the campaign.<\/li>\n<li>Open the Lists tab (number 1 on the screen below).<\/li>\n<li>Check the box for the number of leads. (number 2 on the screen)<\/li>\n<li>After selecting all the leads, click the Download button. (number 3 on the screen)<\/li>\n<\/ul>\n<p>\n\n\n\n<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.linkedhelper.com\/blog\/wp-content\/uploads\/2022\/08\/image4-12.png\" alt=\"Download leads list Linked Helper dashboard\" width=\"1093\" height=\"515\" \/><\/figure>\n<p>\n\n\n\n<\/p>\n<p>Research and personalization for outreach are essential steps, so through the software, you can complete several important tasks at once. At the same time, you will not waste time manually searching and copying information in the software.<\/p>\n<p>\n\n\n\n<\/p>\n<p>Learn more about what data you can <a title=\"LinkedIn scraper to find everything\" href=\"https:\/\/www.linkedhelper.com\/blog\/linkedin-scraper-to-find-everything\/\">scrape from LinkedIn pages<\/a> in the blog post.<\/p>\n<p>\n\n\n\n<\/p>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How-to-add-custom-variables\"><\/span>How to add custom variables<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\n\n\n\n<\/p>\n<p>In addition to the variables that are already set by default in the social tool, you can create your own, which gives more opportunities for personalization. With custom variables, you can create targeted messages for each audience and message campaign.<\/p>\n<p>Note: If the profiles are not in your network, the emails will not be scraped. If you need to collect emails of 2nd and 3rd degree contacts, they must be visited with the \u201cVisit and Extract\u201d action with the \u201cExtract emails from Snov.io\u201d option enabled, or processed in the \u201cFind profile emails\u201d action.<\/p>\n<p>\n\n\n\n<\/p>\n<p>You can add custom variables for the entire CRM, a single campaign, or a single action. But it is important that the variables will work only with those user URLs that are listed in the table with those variables.<\/p>\n<p>\n\n\n\n<\/p>\n<p>To add custom variables:<\/p>\n<p>\n\n\n\n<\/p>\n<ul class=\"wp-block-list\">\n<li>Download the file with the leads you have parsed.<\/li>\n<li>Add a column or several with variables. The beginning of the column name should be \u201ccs_variable name\u201d (without quotes), for example cs_event.<\/li>\n<\/ul>\n<p>\n\n\n\n<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.linkedhelper.com\/blog\/wp-content\/uploads\/2022\/08\/image8-8.png\" alt=\"Excel file from Linked Helper with custom columns\" width=\"947\" height=\"373\" \/><\/figure>\n<p>\n\n\n\n<\/p>\n<ul class=\"wp-block-list\">\n<li>Save and add the file to the CRM or campaign. If you need to apply a variable for one campaign, you can add a file by going to the desired campaign &#8211; Lists &#8211; Custom fields.<\/li>\n<\/ul>\n<p>\n\n\n\n<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.linkedhelper.com\/blog\/wp-content\/uploads\/2022\/08\/image3-11.png\" alt=\"Add custom variables in Linked Helper\" width=\"1319\" height=\"485\" \/><\/figure>\n<p>\n\n\n\n<\/p>\n<p>After a quick load, you will see in the Message template editor PRO the variable that you have written in the file.<\/p>\n<p>\n\n\n\n<\/p>\n<p>You can learn detailed settings for adding variables in the<a href=\"https:\/\/linkedhelper.zendesk.com\/hc\/en-us\/articles\/360015589860-Custom-Fields?source=search\" rel=\"nofollow\"> knowledge base article<\/a>. <\/p>\n<p>\n\n\n\n<\/p>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How-to-set-up-an-IF-function\"><\/span>How to set up an IF function<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\n\n\n\n<\/p>\n<p>We have written exact settings in the knowledge base \u2013 <a href=\"https:\/\/linkedhelper.zendesk.com\/hc\/en-us\/articles\/360015590120#h_01EJPC5R9WVXWWV223X4DQAA9R\" rel=\"nofollow\">How to create message templates<\/a>.<\/p>\n<p>\n\n\n\n<\/p>\n<p>Important: to work with operators, you need to activate the advanced interface. Open Settings \u2192 Interface \u2192 Advanced UI.<\/p>\n<p>\n\n\n\n<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.linkedhelper.com\/blog\/wp-content\/uploads\/2022\/08\/image2-15.png\" alt=\"If operator setup Advanced interface\" width=\"1318\" height=\"638\" \/><\/figure>\n<p>\n\n\n\n<\/p>\n<p>\n\n\n\n<\/p>\n<p>After that, in the Template Builder, you will see the desired button, where you can enter variable values and texts for message options.<\/p>\n<p>\n\n\n\n<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.linkedhelper.com\/blog\/wp-content\/uploads\/2022\/08\/image9-8.png\" alt=\"Message template example with If operator\" width=\"1084\" height=\"546\" \/><\/figure>\n<p>\n\n\n\n<\/p>\n<p>IF line \u2013 Here you need to add a variable. It can be the default LinkedIn variable, or it can be set by you in the software. As we explained above, it is easy to add by uploading an Excel file. There can only be one value here.<\/p>\n<p>\n\n\n\n<\/p>\n<p>THEN line \u2013 Here you need to register a variant of the message using the variable. The software will find the value and substitute it in the text.<\/p>\n<p>In the THEN line, the use of the found variable is optional. It may not be present in the line, and you can paste any text that is needed.<\/p>\n<p>\n\n\n\n<\/p>\n<p>ELSE line \u2013 Here you need to enter an alternative variant, which will be sent if there is no value for the variable.<\/p>\n<p>\n\n\n\n<\/p>\n<p>You can use logical operators for both invite messages and private messages and InMails. In the first case, the length of the message text cannot exceed 300 characters.<\/p>\n<p>\n\n\n\n<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.linkedhelper.com\/blog\/wp-content\/uploads\/2022\/08\/image6-9.png\" alt=\"If then else strings Linked Helper Message Template editor\" width=\"1098\" height=\"532\" \/><\/figure>\n<p>\n\n\n\n<\/p>\n<p>For example, we met with leads at different events and now we want to find everyone and add them to our network. <\/p>\n<p>We could visit 3 events, where we met 90 leads \u2013 30 at each event. Now we want to send the same message where the only difference is in the name of the event. Here a custom variable is your best bet.<\/p>\n<p>To do this, we downloaded the file from their URL and added a \u201ccs_event\u201d column. Therefore, when the software sees this column and a value for it, it uses the THEN string. If there are leads in the queue for which there is no \u201ccs_event\u201d value, then the software will write a message variant from the ELSE line.<\/p>\n<p>\n\n\n\n<\/p>\n<p>This is a simple and convenient example, but you can build more complex templates. Let&#8217;s look at some examples below.<\/p>\n<p>\n\n\n\n<\/p>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Real-use-case-of-the-IF-operator\"><\/span>Real use case of the IF operator <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\n\n\n\n<\/p>\n<p>We will give a good example from one of our clients, which will help you better understand the function and quickly learn how to configure it.<\/p>\n<p>\n\n\n\n<\/p>\n<p>The client wrote that he has a list of profiles collected for inviting with an \u201cindustry\u201d column. He wanted to convert industry information into a custom field and set up a message template in one campaign so that he could send customized messages based on the industry variable.<\/p>\n<p>\n\n\n\n<\/p>\n<p>That is, we had a custom \u201ccs_industry\u201d variable that could have different values. For example, \u201cInformation Technology &amp; Services,\u201d \u201cComputer &amp; Network Security\u201d, and \u201cComputer Hardware.\u201d And for each target group of leads, the client wanted to send different versions of messages.<\/p>\n<p>Linked Helper cannot change text based on the value itself, but only on the presence\/absence of the value. Thus, we need to specify separate variables for several unique values. For example, we were able to easily modify the CSV file so that from one standard variable {industry} we got instead 3 custom variables \u2013 one for each industry, i.e. {cs_info_and_tech}, {cs_comp_hardware}, {cs_comp_and_net}.<\/p>\n<p>Now, having three different variables in Linked Helper and the IF-THEN-ELSE function, we could compose a message so that the software will check in turn whether the lead has any variable and whether this variable has any value. If yes, then it send the correct option.<\/p>\n<p>How the tool works step by step:<\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Linked Helper checks if the lead has the first variable with a value.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">If both the variable and the value exist, then the variant under the first THEN is sent.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">If there is no variable, then the Linked Helper goes to check if the lead has the second variable.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">If there is a second variable, then the variant under the second THEN is sent.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">If there is no second variable, then the Linked Helper goes to check if the lead has the third variable.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">If there is a third variable, then the variant under the third THEN is sent.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">If there is no third variable, then the ELSE option is sent.<\/li>\n<\/ol>\n<p>\n\n\n\n<\/p>\n<p>\n\n\n\n<\/p>\n<p>If cs_industry was \u201cComputer &amp; Network Security\u201d:<\/p>\n<p>\n\n\n\n<\/p>\n<p><em>I noticed you specialized in hiring the best talents in Computer &amp; Network Security.<\/em><\/p>\n<p>\n\n\n\n<\/p>\n<p>If cs_industry was \u201cInformation Technology &amp; Services\u201d:<\/p>\n<p>\n\n\n\n<\/p>\n<p><em>We&#8217;ve been working in Information Technology &amp; Services for almost 10 years.<\/em><\/p>\n<p>\n\n\n\n<\/p>\n<p>If cs_industry was \u201cComputer Hardware,\u201d then the string variant should be:<\/p>\n<p>\n\n\n\n<\/p>\n<p><em>To be honest, Computer Hardware is not where we have a lot of experience, but still we have specialists who can help you in this sphere.<\/em><\/p>\n<p>\n\n\n\n<\/p>\n<p>What we did:<\/p>\n<p>\n\n\n\n<\/p>\n<ul class=\"wp-block-list\">\n<li>We downloaded a file with leads that we had previously parsed for the campaign.<\/li>\n<\/ul>\n<p>\n\n\n\n<\/p>\n<ul class=\"wp-block-list\">\n<li>We added three columns in the file, one for each variable. That is, when finding a value under one of the industries, the software will recognize this as a signal to send the desired string.<\/li>\n<\/ul>\n<p>\n\n\n\n<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.linkedhelper.com\/blog\/wp-content\/uploads\/2022\/08\/image5-11.png\" alt=\"excel. file with leads and variables \" width=\"1406\" height=\"655\" \/><\/figure>\n<p>\n\n\n\n<\/p>\n<p>\n\n\n\n<\/p>\n<p>At the same time, it is not necessary to indicate the value (i.e., the industry name) in the column for each lead; any character found in the column will be considered by the software as the presence of the variable.<\/p>\n<p>\n\n\n\n<\/p>\n<ul class=\"wp-block-list\">\n<li>We uploaded the file to the campaign. Next, we set up the message as in the example in the screenshot below.<\/li>\n<\/ul>\n<p>\n\n\n\n<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.linkedhelper.com\/blog\/wp-content\/uploads\/2022\/08\/image1-13.png\" alt=\"If then else example in Linked Helper software\" width=\"1562\" height=\"1330\" \/><\/figure>\n<p>\n\n\n\n<\/p>\n<p>As you can see from the screenshot above, we had the main IF condition, and we added two other message variations to the ELSE conditions. In the table, you do not need to write the value for the variable (for example, write \u201cInformation Technology &amp; Services\u201d in the cs_info_and_tech column), because you will write the values in the \u201cCustom variables\u201d section in the Linked Helper dashboard.<\/p>\n<p>\n\n\n\n<\/p>\n<p>As a result, custom variables and logical operators allow you to make messages and mass mailings tailored to the recipients. For example, you can also make a <a href=\"https:\/\/linkedhelper.zendesk.com\/hc\/en-us\/articles\/360016381079-How-to-tailor-your-message-by-gender-of-the-recipient-\" rel=\"nofollow\">custom greeting based on the gender<\/a> of the recipient. See the knowledge base guide for<a href=\"https:\/\/linkedhelper.zendesk.com\/hc\/en-us\/articles\/360015590120#h_01EJPC5R9WVXWWV223X4DQAA9R\" rel=\"nofollow\"> more detailed and more complex examples<\/a> that can be useful for your campaigns. The settings for such a mailing list are discussed in detail in the knowledge base. <\/p>\n<p>\n\n\n\n<\/p>\n<p>You can try Linked Helper for free for 14 days and the trial version will help you collect lead data. Then you can try the premium subscription, which has a pro interface, and work with advanced logical operators.<\/p>\n<p>\n\n\n<p><\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_77 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #fba02f;color:#fba02f\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #fba02f;color:#fba02f\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.linkedhelper.com\/blog\/if-then-else-operator-explained-how-to-create-super-custom-messages-in-linked-helper\/#What-is-IF-THEN-ELSE-in-simple-words\" >What is IF-THEN-ELSE in simple words?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.linkedhelper.com\/blog\/if-then-else-operator-explained-how-to-create-super-custom-messages-in-linked-helper\/#Working-with-the-IF-THEN-ELSE-operator-step-by-step\" >Working with the IF-THEN-ELSE operator step by step<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.linkedhelper.com\/blog\/if-then-else-operator-explained-how-to-create-super-custom-messages-in-linked-helper\/#How-to-quickly-research-and-parse-your-leads-profiles\" >How to quickly research and parse your leads\u2019 profiles<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.linkedhelper.com\/blog\/if-then-else-operator-explained-how-to-create-super-custom-messages-in-linked-helper\/#How-to-add-custom-variables\" >How to add custom variables<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.linkedhelper.com\/blog\/if-then-else-operator-explained-how-to-create-super-custom-messages-in-linked-helper\/#How-to-set-up-an-IF-function\" >How to set up an IF function<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.linkedhelper.com\/blog\/if-then-else-operator-explained-how-to-create-super-custom-messages-in-linked-helper\/#Real-use-case-of-the-IF-operator\" >Real use case of the IF operator<\/a><\/li><\/ul><\/nav><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Linked Helper allows users to send both simple prefabricated messages and more complex customizations that you may find a little challenging. Built-in variables are easy to use, but in some cases you may need to tweak the IF-THEN-ELSE functions. To get started, you can try adding custom variables to your CRM, Campaign, or Action. This &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.linkedhelper.com\/blog\/if-then-else-operator-explained-how-to-create-super-custom-messages-in-linked-helper\/\"> <span class=\"screen-reader-text\">IF-THEN-ELSE operator explained: how to create super custom messages in Linked Helper&nbsp;<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":2,"featured_media":8986,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[7,12],"tags":[],"ppma_author":[149],"class_list":["post-5907","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-linkedin-cases"],"aioseo_notices":[],"lang":"en","translations":{"en":5907,"fr":24585,"pt":24587,"de":24589,"es":24591},"authors":[{"term_id":149,"user_id":2,"is_guest":0,"slug":"amazonkayaaa","display_name":"Margarita Servar","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/065b5a868d7db401a2558186736794214678b2799e407be2255c9f9eb42f2fc0?s=96&r=g","author_category":"","first_name":"Margarita","last_name":"Servar","user_url":"","job_title":"","description":"Margarita is a Content Manager and author at the Linked Helper blog, dedicated to providing practical and useful material. She conducts research and tests automation tools, drawing on practical experiences and interviews with LinkedIn marketing experts."}],"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/posts\/5907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/comments?post=5907"}],"version-history":[{"count":16,"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/posts\/5907\/revisions"}],"predecessor-version":[{"id":28254,"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/posts\/5907\/revisions\/28254"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/media\/8986"}],"wp:attachment":[{"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/media?parent=5907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/categories?post=5907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/tags?post=5907"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.linkedhelper.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=5907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}