We have enabled registrations form per customer group. Registrations will come in but have to be accepted by an admin. We want to accept the registrations automatically.
We tried it using the flow builder, but it seems that there is no trigger yet for the action "customer group registration", there are only triggers for "customer group accepted" and "declined".
Is the event checkout.customer.sales_channel.register.customer
a good starting point to write a custom plugin? Or is not customization necessary / is there an easier way?
Without coding, it does not seem possible to do so with out-of-the-box methods.
As a workaround I managed to mark the special users using a campaignCode
and affiliateCode
. Then, with a flow builder trigger "Registration" it's possible to assign the proper groups.