通过自定义字段自动化向组添加用户

Pls the automation can only add users to the secondary group, what should I do if I want to add him to the primary group?