several domains in workspace

8 views
Skip to first unread message

Ekaterina Tsareva

unread,
Jul 22, 2025, 5:15:15 AMJul 22
to xFanatical Foresight Community
Hi,

We use two domains in our workspace, and we want all new accounts on domain1.com will be added to a...@domain1.com, and all new accounts on domain2.com will be added to a...@domain2.com. Is it possible to achieve?

Jason Huang

unread,
Jul 22, 2025, 5:49:44 PMJul 22
to xFanatical Foresight Community, e.ts...@truvity.com
Hello, 

If I understand it correctly, the a...@domain1.com and a...@domain2.com are the primary emails of 2 groups, and you want to add new Google user accounts to be added to the 2 groups based on their email domains. 
Yes, it's achievable in xFanatical Foresight in 2 approaches. I will share one simpler approach that requires 2 rules.
  1. Rule 1: Add domain1.com new users to group
    1. Sign into xFanatical Foresight
    2. Go to the Rules page.
    3. Click + button to create a new rule.
    4. In the Select a trigger screen, select User created.
    5. In the Edit trigger > User created screen, click Add condition and set condition Email contains domain1.com
    6. Click Next.
    7. In the Select an action screen, select Add group member.
    8. In the Edit actions > Add group member screen,
      1. In Member email, select the Primary email variable from the User created trigger.
      2. In Group email, select the a...@domain1.com group.
      3. Click Review.
    9. In the Review screen, name the rule and click Create.
  2. Rule 2:  Add domain2.com new users to group
    1. Duplicate Rule 1.
    2. In the Edit trigger > User created screen, change the condition to Email contains domain2.com
    3. In the Edit actions > Add group member screen Group email field, select the a...@domain2.com group.
    4. Click Review.
    5. In the Review screen, rename the rule and click Create.
Please see a screenshot as below.
screenshot_2025-07-22_14-35-06.png

I hope it works for you. Please feel free to ask us.
Thank you. 
--
Jason

Ekaterina Tsareva

unread,
Jul 23, 2025, 2:14:59 AMJul 23
to Jason Huang, xFanatical Foresight Community
Thanks, it works.



Ekaterina Tsareva

Enabling Secure Workflows And Digital Trust

Reply all
Reply to author
Forward
0 new messages