You are here:
Send License Utilization Alerts to a Public Group's Members
To send notifications to users who are members of a public group, the provided License Utilization Notification template requires some changes.
Before you begin, select or create a public group to use for License Utilization alert notifications.
Because the default flow is configured for profiles, you’ll update the flow to look up the public group by name. You then fetch all of its members, and transform those members into a collection of user IDs. Then, you modify the Get Users element to filter by that collection and return only the users who belong to the public group. The rest of the flow for email delivery and the in-app notification remains unchanged.
- From the App Launcher, select Automations.
- From the Flows tab, click New, then enter License Utilization in Search to locate and select the License Utilization Notification template.
-
Select the Get Users element, and under Filter User Records, remove the Profile ID field to
disconnect the Get Users element from the Get System Administrator Profile element.
Delete the Get System Administrator Profile element.
-
Get the public group records.
-
Click Add Element
above the Get Users element to add the Get Records element.
- In the Label field, enter Public Group Records.
- For Salesforce Object, find and enter Group.
-
Under Filter Group Records, indicate:
Field Name Operator Equals Value Public group name, for example, LU Admins
-
Click Add Element
-
Next, retrieve the members of the public group.
-
Click Add Element
under the Public Group Records element, then select Get
Records.
- In the Label field, enter Group Member Records.
- For Salesforce Object, find and enter Group Member.
-
Under Filter Permission Set Records, indicate:
Field Group ID Operator Equals Value {!Public_Group_Records.Id}For How Many Records to Store, select All records.
-
Click Add Element
-
Next, collect the user IDs for the public group records to make that information available
to the Get Users element.
-
Click Add Element
under the Group Member Records element, then select
Transform.
- In the Label field, enter User ID Collection.
- For Source Data, add Group Member Records.
- For Target Data, add Text.
- Click Allow multiple values (collection), then click Create.
-
Map
User_ID_Collectionunder Target Data toUserOrGroupIdunder Source Data.
-
Click Add Element
-
Now, indicate to get only the users who are members of the public group.
Click the Get Users element, and go to Filter User Records.
Field User ID Operator In Value User ID Collection
- Save the flow and give it a descriptive name.
- Activate the flow.

