{"id":56640,"date":"2024-12-05T10:52:51","date_gmt":"2024-12-05T18:52:51","guid":{"rendered":"https:\/\/cirahub.com\/?p=56640"},"modified":"2024-12-05T10:53:22","modified_gmt":"2024-12-05T18:53:22","slug":"how-to-setup-conditions-and-subgroups","status":"publish","type":"post","link":"https:\/\/cirahub.com\/fr\/support\/quickstart-guide\/how-to-setup-conditions-and-subgroups\/","title":{"rendered":"How to Setup Conditions and Subgroups"},"content":{"rendered":"<p>Condition and subgroup settings in CiraHub serve as more than just data filtering features; they help organization refine and optimize their data management strategy. By segmenting data into smaller, relevant subsets, you ensure that only necessary information is synchronized across platforms.<\/p>\n<p>Let&rsquo;s walk through the process of adding subgroups to your sync setup and explain why conditions and are essential for effective data management.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_Are_Conditions_and_Subgroups\"><\/span><strong>What Are Conditions and Subgroups?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Conditions define the criteria that data must meet to be included in a synchronization. For example, a condition might specify that only contacts from a particular department or those with specific email domains should be synchronized. Subgroups on the other hand further refine the process by grouping data based on shared characteristics, such as geographic location, job roles, or organizational departments<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-by-Step_Guide_to_Adding_Conditions_and_Subgroups\"><\/span><strong>Step-by-Step Guide to Adding Conditions and Subgroups<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>1. Start by logging into your CiraHub account using your credentials. Once logged in, you\u2019ll have access to your existing hub-and-spoke synchronization setups.<\/p>\n<p>2. Navigate to the synchronization setup where you\u2019d like to add subgroups.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-56650\" src=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/find-a-setup-1024x349.jpg\" alt=\"\" width=\"1024\" height=\"349\" srcset=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/find-a-setup-980x334.jpg 980w, https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/find-a-setup-480x163.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/p>\n<p>3. Click on the \u00ab\u00a0Sync Options\u00a0\u00bb button for the spoke you wish to modify. This will open a configuration panel with various settings for that specific spoke.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/sync-options.jpg\" \/><\/p>\n<p>4. In the sync options panel, look for the setting labeled \u00ab\u00a0Allow Hub to Create and Sync Items in This Spoke.\u00a0\u00bb Enable this option to ensure that the hub can actively push updates and synchronize data with the spoke.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-56654\" src=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/allow-to.jpg\" alt=\"\" width=\"859\" height=\"395\" srcset=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/allow-to.jpg 859w, https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/allow-to-480x221.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 859px, 100vw\" \/><\/p>\n<p>5. Once the hub\u2019s sync permissions are enabled, click on the \u00ab\u00a0Advanced\u00a0\u00bb tab. This section allows you to define subgroups and conditions for your synchronization.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-56658\" src=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/advanced.jpg\" alt=\"\" width=\"860\" height=\"388\" srcset=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/advanced.jpg 860w, https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/advanced-480x217.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 860px, 100vw\" \/><\/p>\n<p>6. In the Advanced settings, click the plus sign next to Subgroups and Conditions to apply filters to your data for your synchronization.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-56716\" src=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-52.jpg\" alt=\"\" width=\"845\" height=\"163\" srcset=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-52.jpg 845w, https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-52-480x93.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 845px, 100vw\" \/><\/p>\n<p>7. If you are syncing contacts, you might create a subgroup for employees in a specific department or customers from a particular region.<\/p>\n<p>Define these filters by selecting the relevant fields (such as department, location, or email domain) and setting criteria that the data must meet to be included in the subgroup.<\/p>\n<p>Subgroups allow you to segment your data by creating smaller, more focused subsets of contacts or other information. Conditions use logical operators like \u201cAND\u201d and \u201cOR\u201d to define the rules that determine which records fall into those subgroups.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-56704\" src=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-03-112022-2.jpg\" alt=\"\" width=\"863\" height=\"764\" srcset=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-03-112022-2.jpg 863w, https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-03-112022-2-480x425.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 863px, 100vw\" \/><\/p>\n<p>8.<strong> Example<\/strong>: Setting Up a Subgroup with Marketing Department and Email Address Conditions<\/p>\n<ul>\n<li><strong>\u00a0Define the Subgroup by Department<\/strong><br \/>\nIn CiraSync, subgroups are created by applying filters to segment your data. To begin, set a condition to include only contacts whose <strong>Department<\/strong> is \u201cMarketing.\u201d This ensures that the synchronization focuses solely on records associated with the Marketing team.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-56674\" src=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-49.jpg\" alt=\"\" width=\"863\" height=\"454\" srcset=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-49.jpg 863w, https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-49-480x253.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 863px, 100vw\" \/><\/p>\n<ul>\n<li><strong>Add Email-Based Conditions<\/strong><br \/>\nNext, refine the subgroup by adding conditions based on the <strong>Email<\/strong> field. Use the \u201cOR\u201d logic to include records where the email address contains <code>domain.com<\/code> or <code>domain1.com<\/code>. This means that contacts in the Marketing department with email addresses from either domain will be included in the synchronization.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-56678\" src=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-50.jpg\" alt=\"\" width=\"863\" height=\"454\" srcset=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-50.jpg 863w, https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-50-480x253.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 863px, 100vw\" \/><\/p>\n<ul>\n<li><strong>Apply Both Filters<\/strong><br \/>\nCombine the filters using \u201cAND\u201d logic to ensure that both conditions are applied simultaneously. The configuration would look like this:<\/li>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><strong>Condition 1 (AND):<\/strong> Department = Marketing<\/li>\n<li><strong>Condition 2 (OR):<\/strong> Email contains <code>domain.com<\/code><\/li>\n<li><strong>OR Condition 3:<\/strong> Email contains <code>domain1.com<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>This setup ensures that the subgroup includes only Marketing department contacts whose email addresses belong to the specified domains.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-56686\" src=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-51.jpg\" alt=\"\" width=\"863\" height=\"454\" srcset=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-51.jpg 863w, https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/image-51-480x253.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 863px, 100vw\" \/><\/p>\n<p>9. After defining the subgroups and conditions, click \u00ab\u00a0Save\u00a0\u00bb to apply your changes. The synchronization process will now adhere to the filters and subgroups you\u2019ve defined, ensuring that only the specified data is synced.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-56666\" src=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/selectt-save.jpg\" alt=\"\" width=\"862\" height=\"457\" srcset=\"https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/selectt-save.jpg 862w, https:\/\/cirahub.com\/wp-content\/uploads\/2024\/12\/selectt-save-480x254.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 862px, 100vw\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Condition and subgroup settings in CiraHub serve as more than just data filtering features; they help organization refine and optimize their data management strategy. By segmenting data into smaller, relevant subsets, you ensure that only necessary information is synchronized across platforms. Let&rsquo;s walk through the process of adding subgroups to your sync setup and explain [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":56662,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"page-cirahub.php","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[17,38],"tags":[],"ppma_author":[374],"class_list":["post-56640","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-support","category-quickstart-guide"],"authors":[{"term_id":374,"user_id":9,"is_guest":0,"slug":"jon-harris","display_name":"jlh@ciraapps.com","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/c8f87026173c8bb1e783c78eac6f1b77bc2bc6d4861a18f530c9baa52d7b425e?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/posts\/56640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/comments?post=56640"}],"version-history":[{"count":22,"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/posts\/56640\/revisions"}],"predecessor-version":[{"id":56731,"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/posts\/56640\/revisions\/56731"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/media\/56662"}],"wp:attachment":[{"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/media?parent=56640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/categories?post=56640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/tags?post=56640"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/cirahub.com\/fr\/wp-json\/wp\/v2\/ppma_author?post=56640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}