Available tools
Assign user to Enterprise workspace
Assign user to Enterprise workspace
@Assign User to Slack Enterprise WorkspaceInput fields:- Workspace:
teamId(T…) orteamName(e.g.,engineering). The tool resolves the name to an ID automatically. - User:
userId(U…) oremail. The tool resolves the email to a Slack user ID automatically. - Role, one of:
regular: full membermulti_channel_guest: access to specific channelssingle_channel_guest: access to exactly one channel
- Add new hires to the right workspaces as part of onboarding
- Grant a contractor guest access to a project workspace
- Move a user into an additional workspace when their team changes
When an onboarding ticket is approved, use @Assign User to Slack Enterprise Workspace to add the new hire to the workspace named in the ticket as a regular member. Confirm the assigned role with the requester before running the tool.
Set Enterprise user access expiration
Set Enterprise user access expiration
@Set Enterprise User Access ExpirationInput fields:- Workspace:
teamId(T…) orteamName. - User:
userId(U…) oremail. expirationTs: Unix timestamp in seconds when guest access should expire.
- Set an end date when granting contractor or vendor access
- Extend an existing guest’s access when their engagement is renewed
- Shorten access when a project wraps up early
When a contractor access request is approved, use @Set Enterprise User Access Expiration to set the guest's expiration to the contract end date provided on the ticket. Reply to the requester with the new expiration date.
Remove user from Enterprise workspace
Remove user from Enterprise workspace
@Remove User from Slack Enterprise WorkspaceInput fields:- Workspace:
teamId(T…) orteamName. - User:
userId(U…) oremail.
- Remove a user from a workspace when they change teams
- Clean up guest access after a project ends
- Revoke workspace membership as part of partial offboarding
When a project closeout ticket is resolved, use @Remove User from Slack Enterprise Workspace to remove each contractor listed on the ticket from the project workspace. Post a summary of removed users back to the ticket.
Setup
Install the Slack integration
Connect the Enterprise admin token
ENTERPRISE_ADMIN_TOKEN_REQUIRED error.Configure your agent
Create rules
Test the tools
Best practices
- Always confirm the workspace and role with the requester before running Assign User. The role choice (
regular,multi_channel_guest,single_channel_guest) is not reversible without removing and re-adding the user. - Prefer
emailoveruserIdandteamNameoverteamIdin rule prompts. Both are easier for end users to provide on tickets, and the tools resolve them automatically. - Pair Set Enterprise User Access Expiration with your contractor onboarding workflow so every guest is created with an end date.
- Use Remove User from Enterprise Workspace for partial offboarding only. To fully deactivate a Slack user, use your identity provider (for example, Okta or Microsoft Entra) instead.