{"id":5985,"date":"2023-01-06T10:11:42","date_gmt":"2023-01-06T10:11:42","guid":{"rendered":"https:\/\/gatlabs.com\/knowledge\/?post_type=docs&#038;p=5985"},"modified":"2026-06-22T12:04:41","modified_gmt":"2026-06-22T11:04:41","password":"","slug":"add-users-to-an-ou-depending-on-department-with-gat-flow","status":"publish","type":"docs","link":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/","title":{"rendered":"Add Users to an OU Depending on Their Department with GAT Flow"},"content":{"rendered":"<h2>Add Users to an OU Depending on Their Department with GAT Flow<\/h2>\n<p><a href=\"https:\/\/gatlabs.com\/products\/gat-flow\/\">GAT Flow<\/a> is a user management tool. It allows <a href=\"https:\/\/workspace.google.com\/\" target=\"_blank\" rel=\"noopener\">Google Workspace<\/a> Admins to set conditional workflows for the nesting of actions that will execute when a certain specified condition is met. This paves way for complex workflows that might consider multiple conditions and actions.<\/p>\n<p>For such use cases, there is the option to align overlapping actions to tidy up the visual complexity explained in the example below.<\/p>\n<p>Let&#8217;s see how to set a workflow to add users to an OU depending on their department.<\/p>\n<div class=\"ose-youtube ose-uid-decc3a87e8babe8a201b422b618f5c5a ose-embedpress-responsive\" style=\"width:900px; height:600px; max-height:600px; max-width:100%; display:inline-block;\" data-embed-type=\"Youtube\"><iframe allowFullScreen=\"true\" width=\"900\" height=\"600\" src=\"https:\/\/www.youtube.com\/embed\/wIc1CD4VvFE?feature=oembed&color=red&rel=0&controls=1&start=&end=&fs=0&iv_load_policy=0&autoplay=0&mute=0&modestbranding=0&cc_load_policy=1&playsinline=1\" frameborder=\"0\" allow=\"accelerometer; encrypted-media;accelerometer;autoplay;clipboard-write;gyroscope;picture-in-picture clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen referrerpolicy=\"origin\"><\/iframe><\/div>\n<h2>Step 1.<\/h2>\n<p>To add users to an OU, it&#8217;s best to set a recurring workflow that will run according to the time set by the workflow creator. Every time the workflow runs it will check the department conditions specified and run the following actions.<\/p>\n<p>Navigate to <strong>Flow &gt; Recurring workflow &gt; New recurring workflow<\/strong><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-17604 size-full\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_34_16-.png\" alt=\"Navigate to Flow &gt; Recurring workflow &gt; New recurring workflow\u00a0\" width=\"1911\" height=\"873\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_34_16-.png 1911w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_34_16--300x137.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_34_16--1024x468.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_34_16--768x351.png 768w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_34_16--1536x702.png 1536w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_34_16--360x164.png 360w\" sizes=\"(max-width: 1911px) 100vw, 1911px\" \/><\/p>\n<h2>Step 2.<\/h2>\n<p>For this example, we enable the following options:<\/p>\n<ul>\n<li><strong>Cron<\/strong> &#8211; select the time the workflow to run\n<ul>\n<li><strong>Timezone<\/strong> &#8211; select time zone<\/li>\n<\/ul>\n<\/li>\n<li><strong>Select Scope<\/strong> &#8211; select what users to be affected.\n<ul>\n<li><strong>Recursive OU search<\/strong> &#8211; capturing all sub-OUs of selected OU.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Active &#8211;\u00a0<\/strong>enable workflow.<\/li>\n<li><strong>Preapproved &#8211;\u00a0<\/strong>select to avoid needing the Security Officer&#8217;s approval after every time the report runs. A security officer has to only approve initially when this is selected.\n<ul>\n<li>Fill in any additional details you want.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17605\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_39_42-.png\" alt=\"\" width=\"1904\" height=\"858\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_39_42-.png 1904w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_39_42--300x135.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_39_42--1024x461.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_39_42--768x346.png 768w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_39_42--1536x692.png 1536w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_39_42--360x162.png 360w\" sizes=\"(max-width: 1904px) 100vw, 1904px\" \/><\/p>\n<h2>Step 3.<\/h2>\n<p>Clicking <b>&#8220;send approval reqest&#8221; <\/b>will take you to the <strong>Choose Actions\u00a0<\/strong>subtab.<\/p>\n<p>In there click on the <strong>+ Add note button (1)<\/strong> and select <strong>Add condition (2)<\/strong><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17606\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_44_09-.png\" alt=\"\" width=\"1903\" height=\"853\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_44_09-.png 1903w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_44_09--300x134.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_44_09--1024x459.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_44_09--768x344.png 768w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_44_09--1536x688.png 1536w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_44_09--360x161.png 360w\" sizes=\"(max-width: 1903px) 100vw, 1903px\" \/><\/p>\n<p>Here you can add a <strong>Department<\/strong> condition.<\/p>\n<p><strong>Double click<\/strong> on the condition and fill in the info.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17607 size-full\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_47_09-.png\" alt=\"Double click on the condition and fill in the info.\" width=\"1902\" height=\"856\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_47_09-.png 1902w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_47_09--300x135.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_47_09--1024x461.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_47_09--768x346.png 768w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_47_09--1536x691.png 1536w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_47_09--360x162.png 360w\" sizes=\"(max-width: 1902px) 100vw, 1902px\" \/><\/p>\n<p>Add action in case the condition is true. For this example, we are adding the action <strong>Change organization unit<\/strong> to the \/Sales OU.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17608\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_50_41-.png\" alt=\"\" width=\"1897\" height=\"857\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_50_41-.png 1897w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_50_41--300x136.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_50_41--1024x463.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_50_41--768x347.png 768w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_50_41--1536x694.png 1536w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_50_41--360x163.png 360w\" sizes=\"(max-width: 1897px) 100vw, 1897px\" \/><\/p>\n<p>You can add additional conditions, so to match if Department = Sales, add to Sales org. Unit.<\/p>\n<p>If department = Marketing, add to Marketing org. unit etc.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17609 size-full\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_56_37-.png\" alt=\"You can add additional conditions, so to match if Department = Sales, add to Sales org. Unit.\n\nIf department = Marketing, add to Marketing org. unit etc.\" width=\"1895\" height=\"857\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_56_37-.png 1895w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_56_37--300x136.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_56_37--1024x463.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_56_37--768x347.png 768w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_56_37--1536x695.png 1536w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-13_56_37--360x163.png 360w\" sizes=\"(max-width: 1895px) 100vw, 1895px\" \/><\/p>\n<p>When all the conditions you want are filled in, click on Send approval request.<\/p>\n<p>Note: As recurring workflow, initially the workflow must be approved, if<a href=\"https:\/\/gatlabs.com\/knowledge\/tech-tips\/how-to-set-up-preapproval-acces-for-flow\/\"> pre-approval is enabled,<\/a> every time the workflow needs to run, no approval will be required.<\/p>\n<h2>Results<\/h2>\n<p>Once the workflow is approved, it will execute at the set time. To check the actions executed, view the results in the Recurring workflow.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17610 size-full\" src=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-14_03_42-Greenshot.png\" alt=\"Once the workflow is approved, it will execute at the set time. To check the actions executed, view the results in the Recurring workflow.\" width=\"1903\" height=\"740\" srcset=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-14_03_42-Greenshot.png 1903w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-14_03_42-Greenshot-300x117.png 300w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-14_03_42-Greenshot-1024x398.png 1024w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-14_03_42-Greenshot-768x299.png 768w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-14_03_42-Greenshot-1536x597.png 1536w, https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2023\/01\/2026-06-22-14_03_42-Greenshot-360x140.png 360w\" sizes=\"(max-width: 1903px) 100vw, 1903px\" \/><\/p>\n<h2>Related Posts<\/h2>\n<ul class=\"betterdocs-breadcrumb-list\">\n<li class=\"betterdocs-breadcrumb-item item-current item-4573 current\"><a href=\"https:\/\/gatlabs.com\/knowledge\/tech-tips\/conditional-flow-advanced\/\">Conditional Workflow: Complex Use Cases in GAT Flow<\/a><\/li>\n<li><a href=\"https:\/\/gatlabs.com\/knowledge\/tech-tips\/conditional-workflows\/\" target=\"_blank\" rel=\"noopener\">GAT Flow: Conditional Workflows for Google Workspace<\/a><\/li>\n<li><a href=\"https:\/\/gatlabs.com\/knowledge\/tech-tips\/manage-google-groups-in-gat-flow\/\" target=\"_blank\" rel=\"noopener\">Manage Google Groups in GAT Flow<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Add Users to an OU Depending on Their Department with GAT Flow GAT Flow is a user management tool. It allows Google Workspace Admins to set conditional workflows for the nesting of actions that will execute when a certain specified condition is met. This paves way for complex workflows that might consider multiple conditions and [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":5369,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[17,49],"glossaries":[],"doc_tag":[27],"class_list":["post-5985","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-getting-started","doc_category-on-boarding-off-boarding-modifying","doc_tag-gat-flow"],"year_month":"2026-07","word_count":419,"total_views":"1866","reactions":{"happy":"1","normal":"0","sad":"0"},"author_info":{"name":"osaid","author_nicename":"osaid","author_url":"https:\/\/gatlabs.com\/knowledge\/author\/osaid\/"},"doc_category_info":[{"term_name":"Getting Started","term_url":"https:\/\/gatlabs.com\/knowledge\/tech-tips-category\/getting-started\/"},{"term_name":"On-boarding, Off-boarding &amp; Modifying","term_url":"https:\/\/gatlabs.com\/knowledge\/tech-tips-category\/users-management\/on-boarding-off-boarding-modifying\/"}],"doc_tag_info":[{"term_name":"GAT Flow","term_url":"https:\/\/gatlabs.com\/knowledge\/tech-tips-tag\/gat-flow\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.9 (Yoast SEO v27.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Add Users to an OU Depending on Their Department with GAT Flow - GAT Knowledge Base<\/title>\n<meta name=\"description\" content=\"GAT Flow allows setting conditional workflows for actions that will execute when a certain specified condition is met, used for i.e. adding users to an OU according to their department.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add Users to an OU Depending on Their Department with GAT Flow\" \/>\n<meta property=\"og:description\" content=\"GAT Flow allows setting conditional workflows for actions that will execute when a certain specified condition is met, used for i.e. adding users to an OU according to their department.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/\" \/>\n<meta property=\"og:site_name\" content=\"GAT Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-22T11:04:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2022\/09\/GAT-Flow-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/add-users-to-an-ou-depending-on-department-with-gat-flow\\\/\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/add-users-to-an-ou-depending-on-department-with-gat-flow\\\/\",\"name\":\"Add Users to an OU Depending on Their Department with GAT Flow - GAT Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/add-users-to-an-ou-depending-on-department-with-gat-flow\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/add-users-to-an-ou-depending-on-department-with-gat-flow\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/GAT-Flow-1.jpg\",\"datePublished\":\"2023-01-06T10:11:42+00:00\",\"dateModified\":\"2026-06-22T11:04:41+00:00\",\"description\":\"GAT Flow allows setting conditional workflows for actions that will execute when a certain specified condition is met, used for i.e. adding users to an OU according to their department.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/add-users-to-an-ou-depending-on-department-with-gat-flow\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/add-users-to-an-ou-depending-on-department-with-gat-flow\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/add-users-to-an-ou-depending-on-department-with-gat-flow\\\/#primaryimage\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/GAT-Flow-1.jpg\",\"contentUrl\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/GAT-Flow-1.jpg\",\"width\":1200,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/add-users-to-an-ou-depending-on-department-with-gat-flow\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Add Users to an OU Depending on Their Department with GAT Flow\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#website\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/\",\"name\":\"GAT Knowledge Base\",\"description\":\"Your source of all things GAT\",\"publisher\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#organization\",\"name\":\"GAT Labs Knowledge Base\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Group-1159.svg\",\"contentUrl\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Group-1159.svg\",\"width\":361,\"height\":97,\"caption\":\"GAT Labs Knowledge Base\"},\"image\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Add Users to an OU Depending on Their Department with GAT Flow - GAT Knowledge Base","description":"GAT Flow allows setting conditional workflows for actions that will execute when a certain specified condition is met, used for i.e. adding users to an OU according to their department.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/","og_locale":"en_GB","og_type":"article","og_title":"Add Users to an OU Depending on Their Department with GAT Flow","og_description":"GAT Flow allows setting conditional workflows for actions that will execute when a certain specified condition is met, used for i.e. adding users to an OU according to their department.","og_url":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/","og_site_name":"GAT Knowledge Base","article_modified_time":"2026-06-22T11:04:41+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2022\/09\/GAT-Flow-1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/","url":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/","name":"Add Users to an OU Depending on Their Department with GAT Flow - GAT Knowledge Base","isPartOf":{"@id":"https:\/\/gatlabs.com\/knowledge\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/#primaryimage"},"image":{"@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/#primaryimage"},"thumbnailUrl":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2022\/09\/GAT-Flow-1.jpg","datePublished":"2023-01-06T10:11:42+00:00","dateModified":"2026-06-22T11:04:41+00:00","description":"GAT Flow allows setting conditional workflows for actions that will execute when a certain specified condition is met, used for i.e. adding users to an OU according to their department.","breadcrumb":{"@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/#primaryimage","url":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2022\/09\/GAT-Flow-1.jpg","contentUrl":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2022\/09\/GAT-Flow-1.jpg","width":1200,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/add-users-to-an-ou-depending-on-department-with-gat-flow\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gatlabs.com\/knowledge\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/"},{"@type":"ListItem","position":3,"name":"Add Users to an OU Depending on Their Department with GAT Flow"}]},{"@type":"WebSite","@id":"https:\/\/gatlabs.com\/knowledge\/#website","url":"https:\/\/gatlabs.com\/knowledge\/","name":"GAT Knowledge Base","description":"Your source of all things GAT","publisher":{"@id":"https:\/\/gatlabs.com\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gatlabs.com\/knowledge\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/gatlabs.com\/knowledge\/#organization","name":"GAT Labs Knowledge Base","url":"https:\/\/gatlabs.com\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/gatlabs.com\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/11\/Group-1159.svg","contentUrl":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/11\/Group-1159.svg","width":361,"height":97,"caption":"GAT Labs Knowledge Base"},"image":{"@id":"https:\/\/gatlabs.com\/knowledge\/#\/schema\/logo\/image\/"}}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs\/5985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/comments?post=5985"}],"version-history":[{"count":17,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs\/5985\/revisions"}],"predecessor-version":[{"id":17611,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs\/5985\/revisions\/17611"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/media\/5369"}],"wp:attachment":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/media?parent=5985"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/doc_category?post=5985"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/glossaries?post=5985"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/doc_tag?post=5985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}