Handle role cleanup requests from Slack DMs
Keep a direct access request from becoming another message you have to remember to process.
Trigger
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
Action
Delete Role
Tool to delete a specific JumpCloud role by its ID. Use when you need to remove a role after confirming the ID. Call only after ensuring the role is no longer assigned.
Why this helps
Direct requests are easy to lose among conversations and private follow-ups.
- Capture direct role-cleanup requests for follow-through.
- Require a clear role and authorization before acting.
- Check assignments before removing the role.
Setup
Build it in a few focused steps.
- 1Connect Slack and JumpCloud to Notis once in the portal.
- 2Create an automation prompt that accepts only clear, authorized role-removal requests with an identifiable role and checks assignments before deletion.
- 3Select the Slack Direct Message Received trigger and choose a channel for run reports.
- 4Test with a real, authorized request for a role confirmed to be unassigned.
Questions about this workflow
Can this act on any DM mentioning a role?
The prompt should require an explicit, authorized request and a specific identifiable role. Ambiguous messages should be reported for clarification.
What if the role is assigned?
Notis should stop and report that the role cannot be deleted until its assignments are resolved.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Slack to Jumpcloud. A trigger fires from one place; an action lands in another.
Slack triggers
Jumpcloud actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create System
Tool to register a new system. Use when attempting to create a system via API. Note: JumpCloud does not support system creation through its REST API. Use agent installation to enroll systems.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Delete Role
Tool to delete a specific JumpCloud role by its ID. Use when you need to remove a role after confirming the ID. Call only after ensuring the role is no longer assigned.
New Channel Created Trigger
Triggered when a new channel is created in Slack.
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
Message Reaction Added
Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.
Message Reaction Removed
Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.
Reaction Added Trigger
DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.
Connect any two apps with Notis in the middle.
Slack and Jumpcloud, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Jumpcloud.