KnowledgeOwl

Auto-assign groups by email rules

New reader signups aren't assigned any reader groups. You can create rules to automatically assign readers to groups based on their email domain.

A common use case is to assign all readers with internal email addresses to an internal reader group. For example, Linus likes having a rule that will assign all readers with a knowledgeowl.com email address to the Support reader group, which gives them access to all content restricted to our Support group.

If you're using reader signups, automatic domain rules like this can help guarantee that new readers get access to the content they need without a KnowledgeOwl admin having to manually review and assign them to the appropriate groups.

If you require a KnowledgeOwl admin to approve new reader signups, a rule can also let readers from its email domain skip that approval, so they get access as soon as they sign up.

These rules apply to readers who have signed up for access to your knowledge base only. They do not apply to:

To set up Email Rules:

  1. Go to Account > Readers. The Readers page opens to the Readers tab.
  2. Open the Groups tab.
  3. In the Auto-Assign Groups by Email Rules section, select + Add Rule.
    Select + Add Rule.
  4. The Auto-Assign Groups by Email Rule modal opens.
  5. Use the fields in the modal to set up your rule:
    1. Enter a Rule Name. This name displays in the Auto-Assign Groups by Email Rules section in Account > Readers > Groups, so it should help describe the rule.
    2. Enter the Email Domain the rule applies to. All readers with this email domain will have this rule applied. It must be an entire domain, such as @knowledgeowl.com, @gmail.com, @yourcompany.com, etc.
    3. Use the Assign to Groups checkboxes to select the Reader Group(s) that people with that email domain should be assigned to. This list depends on the Reader Groups you've set up in your knowledge base. Each rule must assign at least one group.
    4. Optional: If you require approval for new reader signups and want readers from this email domain to get access as soon as they sign up, check the box to Skip approval for this domain. Refer to the details below these steps for how this works.
  6. Select Save Rule to save your changes. Your rule displays in the Auto-Assign Groups by Email Rules section and will be applied to all reader signups moving forward. You can edit it (gear icon) or delete it (trashcan icon) using the icons to the right of the rule.

The Skip approval for this domain checkbox only has an effect when the Reader Signups option to Require a KnowledgeOwl admin to approve new reader access is checked in Account > Readers > Settings. Refer to Turn on reader signups for more information on that setting. When you require approval and a rule has Skip approval for this domain checked:

  • Readers who sign up with an email address in the rule's domain get access right away, without waiting for an admin to approve them. Brand-new readers are assigned the rule's groups and receive the welcome email with a temporary password.
  • Everyone else who signs up still waits in Pending Approval until an admin approves them.
  • If you send notification emails for new reader signups, you still receive one for readers who skip approval. It doesn't ask you to approve them.

Google sign-ups still need approval
Readers who sign up with their Google account still need an admin to approve them, even when a rule for their email domain has Skip approval for this domain checked. Refer to Allow Google log in for readers for more information on Google sign-ups.

You can choose whether to apply the rule only when a new reader first signs up or to run it on every login. By default, it's applied only when the reader first signs up.

To apply rules on all logins:

  1. Go to Account > Readers. The Readers page opens to the Readers tab.
  2. Open the Settings tab.
  3. In the Self-Administered Reader Options section, check the Auto-Assign Group Rules box to Override reader groups based on rule logic on each login.
  4. Be sure to Save your changes.

Don't apply to all logins if you're also manually assigning groups
If you apply rules on all logins, these automatic group assignments will override any manually-assigned reader groups for readers affected by the rule.