How to Automatically Assign Users to Groups

Learn how to automatically assign users to one or more groups based on a field value from their Airtable record.

Luannie Dang

Written by Luannie Dang

Prerequisites

Sometimes you may already have a database of users ready to go and manually assigning them to a user group can be time consuming. Let's take a look at how we can assign users to groups through a field value from the user table.

Mapping the field value to a group

  1. Go to the User Accounts setting page from the edtior.
  2. Select the Integrations tab.
  3. Click on Manage.
Airtable integration settings
Airtable integration settings
  1. Select the User Groups tab from the integration settings page.
User Groups settings
User Groups settings

Map the field values from your user table to the groups.

  • Airtable Field: the field on the user record we will be matching against
  • Field Value: the actual value to match
  • User Group: The group to assign the user to if the value matches
Completed mapping
Completed mapping
  1. Click Save.

How does it work?

In the example above, we have selected the Title field to determine which group a user will be assigned to. When the user alexis@example.com logs in, we will look at her record on Airtable. Since her Title is attorney, we expect her to be automatically assigned to the Attorney group in Pory.

Example user record on Airtable
Example user record on Airtable

When we go to the user's profile in your portal's dashboard, you can see that alexis@example.com was assigned to the group, Attorney.

Groups alexis@example.com belongs to
Groups alexis@example.com belongs to

Did this answer your question?