See the way theCustomer Group Auto Assign for Magento 2 extension works.
Change customer groups automatically with Customer Group Auto Assign extension for Magento 2. Use simple group switching rules to cut operating expenses and save time.
To configure the General settings of the extension, please go to Stores → Configuration → Amasty Extensions → Customer Group Assign.
In this tab you can activate/deactivate the module and set the schedule to timely change customer groups as the integrated Cron functionality allows to switch groups automatically.
Enabled - set to Yes to enable the module.
Customer Groups Update Schedule - specify rule processing frequency in a Crontab format.
To create custom rules and manage customer groups automatically, go to Customers → Amasty Customer Group Auto Assign → Rules.
Easily operate all group-switching rules on a handy grid. See Rule Name, Destination Group, Priority and Status in one place.
To change rule configuration, click Edit in the Action column.
Delete the rules separately or in bulk via Actions dropdown menu.
To set up a new custom rule, hit the Add New Rule button.
Rule Name - specify the title for the rule that will be displayed on the backend.
Enabled - set to Yes to activate the rule.
Priority - define the priority of rule execution. The lowest number is executed first.
Destination Group - choose the customer group to which the customers will be assigned if they meet the necessary conditions.
Edit the necessary group by simply clicking it or create a new one via Add New Customer Group button.
In this tab configure group-switching rule conditions based on customer or order attributes.
With the condition tree, you are able to create as many conditions and their combinations as you want by clicking the green icon and choosing the necessary attribute from the dropdown menu.
Two main groups of attributes are acceptable: customer attributes and order attributes.
For example, you can group customers by city, region or country. With the extension it is also possible to automatically move your clients registered for a particular time to a separate group and provide them with some special discounts or offers.
For example, you can move customers whose total sales amount exceeds $3 000 and the number of completed orders is greater than 30 to the “VIP” group offering 30% discount for all future orders.
Click the Save button.
Group Name - specify the group name based on your sales strategies and loyalty programs.
Tax Class - specify the tax class.
Show Customer Group on Storefront - enable the option to display customer group status in the customer account:
Find out how to install the Customer Group Auto Assign for Magento 2 via Composer.