Skip to main content
Question

Appoint custome role based on field on registration form

  • May 26, 2026
  • 1 reply
  • 2 views

Sanne van Opstal-Brakel
Forum|alt.badge.img

hi all!

I was wondering, is it possible to appoint a custom role automatically? This would be based on an answer they need to fill in on the registration.

My usecase:
We work with different languages in 1 community. Currently Dutch and English and we are considering adding German. 

Our set up right now is on the registration form they answer a question in which language they want to receive community updates etc. And based on that answer we appoint them a specific custom role. 
And based on that custom role they receive either Dutch or English on boarding emails and any other relevant communication. 

Currently I appoint these custom roles manually and I need to check a segment that I created several times a day to appoint that custom role. 

I was wondering, if there is a way to automate this (and thus less manual work for me)

1 reply

jvdc
  • Expert ⭐️
  • May 26, 2026

Yes! I am applying roles using Webhooks and API. So basically you'd need to:

  • use the wehbook for user registration to trigger your flow
  • then use the API to GET the user's profile fields
  • use the data from that field to update (POST) the user's role