# Discourse Automation 'Add user to group though User Custom Field' not working

**URL:** https://meta.discourse.org/t/discourse-automation-add-user-to-group-though-user-custom-field-not-working/333932
**Category:** Bug
**Tags:** automation
**Created:** [October 31, 2024, 11:20pm UTC](https://meta.discourse.org/t/discourse-automation-add-user-to-group-though-user-custom-field-not-working/333932 "2024-10-31T23:20:31Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [November 1, 2024, 12:23am UTC](https://meta.discourse.org/t/discourse-automation-add-user-to-group-though-user-custom-field-not-working/333932/2 "2024-11-01T00:23:03Z")

</div>

Did you follow this? make sure the custom user setting is a dropdown and that the options match the names you have setup.

> [@Add users to groups through custom field automation](https://meta.discourse.org/t/adding-users-to-groups-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…

---

_[View the full topic](https://meta.discourse.org/t/discourse-automation-add-user-to-group-though-user-custom-field-not-working/333932)._
