How to Automate Creating Gitlab Artifacts

Hello,
I have some fairly repeatable processes our portfolio management in gitlab. I don’t know if the following is possible or not, but if it is, it would be very helpful to know how to do it:

When a user creates a new epic, a script runs that automatically performs the following 5 steps:

  1. Create a scoped label → “div :: parent epic (new epic)”

  2. Assign label new to epic

  3. Create basic gitlab project at the group level of the new epic

  4. Create a scoped label → “prjct :: new epic”

  5. Assign label to new project

If this can’t be done automatically, than is there a way to create a wizard that walks the user through these steps?

Thanks for any reply