/
/
Set up ServiceNow new starters once, with group-based roles
For IT and service desk teams who want new ServiceNow accounts created without duplicates and with the right groups, by asking their AI assistant.
On this page
Connector
Connect ServiceNow, pick your AI tool and paste the prompt.
The problem
New starters with a second account or direct roles
Setting up a new starter means creating the account, adding groups and making sure the roles are right. Without a check first, a returning employee gets a second account, and roles granted directly bypass group based access.
Without PopdockAI
- Create the account without searching first
- Type group names and hope they are right
- Grant roles directly to save time
- Clean up duplicate accounts later
With PopdockAI
- Existing users are checked by login, email and name
- Each group name is verified, with misspellings questioned
- You review the record and groups before anything is created
- Roles come only from groups, never granted directly
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Create user `{full-name}` with login `{user-id}` and email `{email}`, and add them to `{groups}`.
**Step 1: Check they do not already exist**
Call `servicenow-get-user` with user-id `{user-id}`, then with email `{email}`, then with name `{full-name}`. Any match: show it and stop. An inactive match should be reactivated in ServiceNow, not duplicated.
**Step 2: Check the groups**
For each group in `{groups}` call `servicenow-get-group-member` with group set to it. A group returning no members may be misspelled: list it and ask before continuing.
**Step 3: Confirm**
Split `{full-name}` into first-name and last-name. Ask the user for department, manager, title and location if they want them set; each is optional. Show the full record and the group list, and ask for an explicit yes.
**Step 4: Write, in this order**
1. Call `servicenow-add-user` once with user-name `{user-id}`, first-name, last-name, email `{email}`, active true and any confirmed optional fields.
2. Call `servicenow-get-user` with user-id `{user-id}` to confirm the account exists and get its sys-id.
3. For each confirmed group, call `servicenow-add-group-member` once with group set to the group and user set to the new sys-id.
**Step 5: Verify and report**
Call `servicenow-get-group-member` with user `{full-name}` and report the account, its sys-id and the groups it joined. Then call `servicenow-get-user-role` with user `{full-name}` and list the roles it inherited from those groups.
**Rules & Guidelines:**
* Write tools allowed: `servicenow-add-user` once and `servicenow-add-group-member` once per group, after one confirmation.
* Roles come through groups. Do not call `servicenow-add-user-role` from this prompt; granting a role directly bypasses group-based access control.
* If step 4.2 cannot find the new user, stop before adding any group membership.Who it's for
One answer, three teams that use it
ServiceNow administrators
Set up starters without duplicates
Every new account is checked against existing users first, including inactive ones.
Onboard Tom Reyes, login treyes, tom.reyes@contoso.com, into the Network and Change Management groups.
IT service desk
Handle joiner requests quickly
Create the user and add groups in one confirmed step from the request details.
Create a ServiceNow account for Priya Shah, login pshah, priya.shah@contoso.com, groups Service Desk.
IT security
Keep access group based
Roles come only from groups, so access stays reviewable.
Onboard Lee Chen in ServiceNow and tell me which roles the Database group will give them.
How it works
What PopdockAI does when you ask
You give the person's details and groups, and your AI assistant checks for an existing account first. The user and memberships are created only after you confirm.
01
Ask
You give the full name, login, email and groups.
02
Check
It searches for an existing user and checks each group name.
03
Confirm
You review the record and groups and say yes.
04
Create
It creates the account, adds the groups and reports the inherited roles.
What PopdockAI provides
The tools behind the answer
Ready made tools for ServiceNow and one secure connection to your AI tool. No code, no exports.
servicenow-get-user
servicenow-get-group-member
servicenow-add-user
servicenow-add-group-member
servicenow-get-user-role
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
One account with the right access on day one
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
