# Group management

> **Note:**
> Group Management is not available for integration partners using Rippling's V2 REST API endpoints.

## Overview

Group Management is defined as allowing customers to automate creating, updating, and deleting employee memberships lists. An employee can belong to one or many groups. A group can have or many employees assigned to it. A group can be thought of as a container that can be used to create membership lists. For example, a group can be used as email mailing lists, Slack channels, apparel orders, background checks, roles, plans, laptop types; the list keeps going.

Groups reside inside of your app in Rippling. This means that they are unique to the app install for each customer. Customer A could have 10 groups and Customer B could have 3 groups for the same app. Vice versa, if the groups were known ahead of time that your customers wanted to use, you could ensure that the same groups were created for every customer the same. Then, each customer could create dynamic membership rules for each of their groups.

**What makes up Group Management?**

A **group** is a container that can have members added to it. The group itself can be named something like "Administrators" or "Large Sweatshirts" or "US Background Check."

**Group members**: Group members are the employees that belong to the group. Aka membership lists. So if we have 5 employees with administrator access to Software Acme, then they make up the 5 members of the Administrator group.

**Membership rules - the most important part**: Membership rules allow customers to create dynamic membership rules using all of the employee attributes available in Rippling. While a Rippling Admin can manually add individual employees to a group, the recommended approach is to create dynamic membership rules in Rippling that will automatically detect which employees match and do not match the rules.

_For example, you could create..._

-   A "Sales" group that automatically adds every employee to the group as a member if they are an active employee in the Sales Department.

#### Sales

![group6](https://developer.rippling.com/assets/images/group6-9e2a65d915456cbb35094e4692c4e84c.png)

-   A "Director" group that automatically adds any employee to the group as a member if the employee is promoted to Director.

#### Director

![group5](https://developer.rippling.com/assets/images/group5-b9cc5d61d947000cff1808ac0e6630f2.png)

-   A "US Employees with Large T-Shirt Sizes" group that automatically adds any employee to the group as a member if the employee is based in the US and has reported preferring a Large as their t-shirt size in Rippling.

#### US Employees with Large T-Shirt Sizes

![group4](https://developer.rippling.com/assets/images/group4-4a2c6f8abe1e18901015c7977fe67f81.png)

-   A "France Background Check" group that automatically adds any employee to the group as a member if the employee works in France **and** is full-time.

#### France Background Check

![group3](https://developer.rippling.com/assets/images/group3-943b3998ae5a3971e3540b84119328f7.png)

-   An "AWS Admin" group that only gives access to engineers of level 8, 9, or 10 who have at least one year of tenure, use a security key to sign in to Rippling, and have an information security certification. When engineers' attributes change to meet these criteria, they're automatically added to the group.

#### AWS Admin Group

![group1](https://developer.rippling.com/assets/images/group1-3f8a8fb5a081d8861a712c058ec3530e.png)

## Setting up Group Management

**Groups are created by you or the customer**

Create the groups that are relevant for the customer. You could give the customer the ability to create groups as they want to or you could standardize the groups available to customers.

For example, if you want to use Rippling Groups to manage what role the employee gets in your software and you have three roles: Admin, Author, and Viewer, then you could restrict the customer from creating/deleting groups and automatically create the 3 groups for the customer when they install your app in Rippling.

Alternatively, let's say your software allows companies to order custom apparel and each customer has completely different apparel. Some customers have 30 different options for employees while others have 5 options. Each type of apparel that could be ordered will represent a group in Rippling. When an employee meets the membership rules of the group, then it signifies that the customer would like to place an order for that employee for that type of apparel. In this scenario, you could let the customers create and delete their groups as needed.

**Customer admin creates membership rules**

In Rippling, the customer Admin can then go in to each group already created and add the membership rules. The Admin could just select individual employees to add as members to the group or they could create dynamic membership rules. If they create a membership rule, once they hit save, then Rippling will automatically add the employees to the group who meet the criteria.

**Listen to membership updates**

Once a group has been created and a membership rule has been added inside of the group, then you (the partner) can listen to the group membership events. If an employee is terminated, they will then be removed from the group members. If an employee is hired, they will then be added to the group members.

For more information on how to enable Group Management to allow for the creating, deleting, and updating of groups for the customer installing your application, please see [this Loom video](https://www.loom.com/share/57c61602677b4d10999133f01e99c144?sid=a90f2d98-5132-4bc5-b493-a95cc12385ab).

## Example integration flow

![group2](https://developer.rippling.com/assets/images/group2-3bac68822fc675d8b5a8e2aaabd495ec.png)

## Available endpoints

-   [GET /groups](https://developer.rippling.com/documentation/base-api/reference/get-groups)
-   [POST /groups](https://developer.rippling.com/documentation/base-api/reference/post-groups)
-   [PUT /group](https://developer.rippling.com/documentation/base-api/reference/put-groups-group-id)
-   [PATCH /group](https://developer.rippling.com/documentation/base-api/reference/patch-groups-group-id)
-   [DELETE /group](https://developer.rippling.com/documentation/base-api/reference/delete-groups-group-id)

## Use cases

Group Management offers a flexible solution for managing employee memberships across a variety of scenarios. Here are some use cases that illustrate how this capability can be leveraged to enhance organizational efficiency and streamline processes.

### Background checks

Background checks are a common requirement in many organizations during the hiring process or when assigning specific roles to employees.

How to configure using Group Management:

1.  **Create groups for background checks:** During the app installation, create groups in your app listing that correspond to different types of background checks (e.g., "Standard Check," "Executive Check," "International Check"). This can be done by posting to the `/groups` endpoint in Rippling.
    
2.  **Define membership criteria:** After the install has been completed, the customer admin will define dynamic membership rules for each background check group. These rules can be based on various employee attributes such as department, role, location, employment status, etc. For example, a "Standard Check" group might include all new hires, while an "Executive Check" group might include only employees promoted to executive roles.
    
3.  **Automate background check orders:** Once a group is set up with membership rules, any employee who meets the criteria will be automatically added to the group. Being added to the group will trigger an action in your system to order the respective background check. This can be achieved by listening to group membership events.
    
4.  **Listen to membership updates:** Implement [webhook listeners](https://developer.rippling.com/documentation/developer-portal/v2-guides/webhooks) to receive updates on group membership changes. This will allow your system to respond in real-time when employees are added or removed from a group. Whenever an employee is added to a group, you should initiate a background check order.
    
5.  **Retrieve and monitor membership changes:** Use the group membership endpoints to monitor which employees are currently in each background check group. This allows the organization to keep track of who is undergoing a background check and manage the process efficiently.
    
6.  **Notify stakeholders:** Consider setting up notifications to inform relevant stakeholders (e.g., HR, hiring managers) when background checks are initiated or completed.
    

### Assigning permissions

Assigning roles and permissions in third-party applications is critical for maintaining security and ensuring employees have appropriate access based on their roles within the organization.

How to configure using Group Management:

1.  **Create groups for each role:** Set up groups in Rippling that correspond to the roles or permission levels in the third-party application (e.g., "Admin Access," "Editor," "Viewer"). This can be accomplished by posting to the `/groups` endpoint within Rippling.
    
2.  **Define dynamic membership rules:** After the install is completed, the customer admin will define the criteria for each group. These criteria can include attributes such as job title, department, seniority level, location, or any other relevant employee attributes. For example, an "Admin Access" group might include all IT department managers, while a "Viewer" group might include all employees from a specific department.
    
3.  **Automate role assignments:** Once the groups are established and rules are defined, employees who meet the criteria will be automatically added to the respective groups.
    
4.  **Listen to membership updates:** Implement [webhooks](https://developer.rippling.com/documentation/developer-portal/v2-guides/webhooks) to receive notifications about changes in group membership. This will help your application respond in real-time to updates. When an employee is added to or removed from a group, update their permissions in the third-party application accordingly.
    
5.  **Retrieve current group membership:** Regularly query the group membership endpoints to retrieve the current list of employees in each group. This ensures that your third-party application remains synchronized with the current group memberships in Rippling.
    

## FAQs

#### What IDs are populated in the userIDs for each group?

These IDs correspond to the Role ID of each employee in Rippling. These userIDs match the `id` returned on the GET /Employees endpoint.

#### What if I don't want to allow customers to create or delete groups? Only update group membership?

This can be done by configuring the Group Management capabilities within the app listing.

#### How do I match an employee to their group?

In order to match employees to their appropriate groups, start by using the user IDs provided by the GET Groups endpoint. This endpoint will return all groups and their associated users.

If you would like to then call a singular group, you can use GET Group using the group ID from GET Groups.

Finally, to locate a particular employee, select any user ID from the users array returned by either GET Groups or GET Group, and then use the GET Employee endpoint.

> **Need Support?**
> If you're a partner seeking answers or encountering difficulties while integrating with Rippling, please contact us at [partner.support@rippling.com](mailto:partner.support@rippling.com). Ensure our responses reach you by preventing emails from this address from being filtered into your spam folder.

Source: https://developer.rippling.com/documentation/developer-portal/v1-guides/group-management

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
