Automated group creating from Database Import

Currently we’re using the icinga-director to import our hosts and create the configs.
We have a category field in the database, which is currently used to add the specific service template.
Additional i want that the icinga-director creates host-groups based on the value of the category field. Is this possible?
We need that since our categories are changing on a weekly base and it is a unpleasent task to create those . Yes i’m aware that there are python/ansible projects exists, which can create those via the api - but i would be happy if it is possible with the on-board functions if possible.

Cheers!

Hello and Welcome

IIRC, the import and sync rule can create the hostgroups, you will need to use the modify functionality of the sync rules to obtain that outcome.

Regards