Creating an onboarding flow

Skip to first unread message


Feb 7, 2022, 6:36:10 AMFeb 7
to Foresight Community
Add employees to groups based on cost center

Jason Huang

Feb 7, 2022, 2:46:40 PMFeb 7
to Foresight Community, Nys2020
Yes, you can achieve that with Foresight. You can create the following rule. 
  1. Select the User created trigger
  2. Add a Wait action. The Wait time field can be set to 180 seconds.   This action give you 3 minutes to add the "cost center" information after you create a user from Google Admin Console. 
  3. Add a Get user info action. Use the Primary Email variable as the Primary Email field value.
  4. Add an If action. Add branches based on different cost centers.
    1. Name the IT branch. Set the condition as Cost center text is exactly IT
    2. Name the Marketing branch. Set the condition as  Cost center text is exactly Marketing
    3. (add branches for other cost centers)
    4. Leave the Fallback branch empty for new employees not matching any of the cost centers.
    5. Add Add group member action(s) for each cost center branch. In each Add group member action, select the Primary Email variable as the Member email field value. Select the group from the drop down list for the Group email field.
  5. Create the rule.
After you create the rule, 
  1. Add a new user in your Google Admin Console.
  2. The rule will execute and wait for 3 minutes.
  3. Once you add the new user account, under the user's User information > Employee information, update the Cost center.
  4. The rule will add the user to the defined groups according to their cost center values. 
You can find a screenshot below.

add new employees to groups based on cost center.jpg


Feb 8, 2022, 11:10:33 AMFeb 8
to Foresight Community, Jason Huang
Reply all
Reply to author
0 new messages