# User automatically to a Group

**URL:** https://meta.discourse.org/t/user-automatically-to-a-group/47420
**Category:** Feature
**Created:** [July 17, 2016, 8:08am UTC](https://meta.discourse.org/t/user-automatically-to-a-group/47420 "2016-07-17T08:08:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Imperator](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/imperator/32/45089_2.png) [@Imperator](https://meta.discourse.org/u/Imperator)
#### Post date: [July 17, 2016, 8:08am UTC](https://meta.discourse.org/t/user-automatically-to-a-group/47420/1 "2016-07-17T08:08:24Z")

</div>

Hello,

if that possible?

I have created a costum userfield as Dropdown with

1. Faction 1
2. Faction 2

The user have to set the Faction on the Register and cant edit it.

Now he should automatically join the Group of his Faction.

Regards,  
Imperator

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [July 17, 2016, 8:17am UTC](https://meta.discourse.org/t/user-automatically-to-a-group/47420/2 "2016-07-17T08:17:43Z")

</div>

I believe this is only supported by email address at the moment. People with certain email addresses (think `@companyname.com`) will automatically be added to groups as they join the site, if the group has that setting enabled.

---

<div class="post-metadata">

### Author: ![Imperator](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/imperator/32/45089_2.png) [@Imperator](https://meta.discourse.org/u/Imperator)
#### Post date: [July 17, 2016, 8:26am UTC](https://meta.discourse.org/t/user-automatically-to-a-group/47420/3 "2016-07-17T08:26:24Z")

</div>

yes that way i found 🙂 but i need that with that Faction from the userfields maybe someone have a idea

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 18, 2016, 8:34am UTC](https://meta.discourse.org/t/user-automatically-to-a-group/47420/4 "2016-07-18T08:34:25Z")

</div>

You will have to write a plugin if you want that feature right now.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [October 23, 2025, 11:42am UTC](https://meta.discourse.org/t/user-automatically-to-a-group/47420/5 "2025-10-23T11:42:57Z")

</div>

This is now possible using the Automation plugin

> [@Add users to groups through custom field automation](https://meta.discourse.org/t/add-user-to-group-through-custom-field-automation/275873):
>
> bookmark This guide explains how to automatically add users to groups based on their selection of a custom user field during signup or profile update. person_raising_hand Required user level: Administrator Summary Create the necessary groups Set up a custom user field Create an automation to add users to groups Test the setup Creating the groups First, create the groups you want users to be automatically added to: Go to your site’s Admin area Navigate to Groups in the admin sidebar…
