Invite member with role in GitLab
Automatically invite a GitLab member with the right role from a Slack request with Stepwork, so engineers get project access without waiting on an admin.
- Use case
- Employee onboardingIT
- Best for
- IT Administrator
- Applications used
GitLab
Slack
- Business outcome
- Employee experience
The problem
Day one starts. Their GitLab groups are still empty.
Managers ping IT to add a new engineer to GitLab. The invite goes out, then someone guesses which groups and role level the job needs.
Miss a group and they cannot open the projects they were hired for. Over-grant a role and they get more than the role allows. Two people in the same job rarely land the same access.
The outcome
Engineers get project access without waiting on an admin
Stepwork invites the new member to the appropriate GitLab groups with the right role level. The run records who asked and which groups received the invite.
- The invitation goes to the GitLab username in the request.
- Each named group gets the specified role.
- A missing group or role stops the run.
The process
From Slack request to a pending GitLab invite
A manager posts the new engineer’s details in Slack. Stepwork sends the GitLab invitations with the right roles.
- Step 1
Request it in Slack
A manager posts the GitLab username, groups, and role level in the onboarding channel. That message starts the flow, and Stepwork records who asked and when.
- Step 2
Open each group
Stepwork signs in to GitLab and opens each named group’s members page. If a group cannot be found, the run stops.
- Step 3
Invite with the role
Stepwork invites the member to each group at the role level from the request, the same grant an admin would choose by hand.
- Step 4
Confirm and reply in Slack
Stepwork checks that the invitations are pending with the right roles, then posts the result back in Slack.
Why Stepwork
The same role gets the same GitLab access
A deterministic agent follows one path: invite the member, then set each group role from the request. Two engineers in the same job get the same access.
Similar use cases
Similar use cases
Remove member from a group in GitLabSigns into GitLab, opens the top-level group, and removes the member, revoking project access and freeing the seat.
Invite member with team assignment in GitHubInvites a new member to the GitHub org and adds them to the teams that grant their repo access.
Create user and assign groups in OktaCreates a new Okta user with name, email, and title, then assigns the group memberships that grant their app entitlements.
FAQ
Common questions
Ask about this use case
Bob answers from this page and the rest of stepwork.com, and links each source.
Bob answers only from what Stepwork has published, and links every source. Questions are saved to improve answers, so leave out anything confidential.

