How to map Okta groups to GitLab groups using SAML

I have integrated GitLab with Okta via SAML, as described on this page: SAML SSO for self-managed GitLab instances | GitLab

I can now succesfully log in using Okta account. I would like to add the following behaviour:
If user is a member of group X and Okta, add it automatically to group Y in GitLab.

Is this possible?