Slack and Microsoft Teams notifications from Shuffle

Learn how to send Shuffle SOAR alerts and approval requests to Slack channels with a bot token and to Microsoft Teams through Microsoft Graph, while keeping app permissions narrow.

On this page

How Shuffle posts alerts and approvals to Slack and Teams

Analysts need to see workflow output in the chat tools they already watch, and they need approval requests to reach the right people before a containment step runs. Shuffle covers this with two apps. The Slack app lists channels to find a channel_id and posts messages using a Bot User OAuth Token (xoxb) from a Slack app with permission to post. The Microsoft Teams app connects over OAuth2 to Microsoft Graph, using an Azure app registration with delegated permissions and the tenant_id, client_id and client_secret values. Both apps send messages on behalf of a workflow step, so the workflow decides what is posted and where.

The integration is a notification and approval path, not a chat bot. It does not give analysts a conversational interface to Shuffle, run commands from chat, or manage channel membership, and you should not plan for it to do so. Approval requests in this pattern are messages that a human answers in the case system or the originating tool, so the approval decision must be recorded where the workflow can act on it. Before build, confirm in the Slack and Microsoft documentation which scopes and consent steps your chosen apps need, and confirm in the Shuffle Slack and Teams app docs which actions each app version exposes in your release.

Keeping permissions narrow is the main control here. A Slack bot should be invited only to the channels it needs to post in, and the token should be stored as a Shuffle credential rather than pasted into workflow steps. For Teams, the delegated permissions should cover posting to the specific channels or chats used, the app registration should have a named owner, and the client secret needs an expiry date and a rotation owner. Changing SHUFFLE_ENCRYPTION_MODIFIER or losing it breaks saved app authentications, so record it with the rest of your Shuffle secrets before you save these credentials.

What you need before connecting Slack or Teams

Both integrations depend on the same three things: a Shuffle release that is still supported, a runtime that can reach the Slack or Microsoft Graph endpoints, and an identity you can authorize against the workspace or tenant. Confirm each one before you build a notification step, because a missing permission usually shows up as a failed action rather than a clear error.

A supported Shuffle version

Run a release of Shuffle that is still supported. Shuffle stopped supporting versions older than v2.1.1 after January 31, 2026, so older installs should be upgraded before you add new app connections. The latest published release at the time of writing was v2.3.0, and the docs recommend the latest Docker tag for stable use. Confirm which tag your deployment pulls, since a floating tag can change under you during an upgrade window.

Shuffle configuration docs

Outbound reachability from Orborus

Notification actions run in the execution environment, so the Orborus node that runs the workflow must reach the Slack API and Microsoft Graph endpoints outbound. Inbound firewall ports are not needed for these calls, but egress proxies, DNS rules and TLS inspection can block them. Test outbound HTTPS from the runtime host itself, not from your workstation, and record which runtime location each workflow uses.

A Slack app with a bot token

Create a Slack app in the workspace where alerts will post, then install it and copy the Bot User OAuth Token, which starts with xoxb. The bot needs permission to post messages in the target channel, and it must be invited to private channels before it can post there. Store the token in Shuffle's app authentication, not in playbook text, and note who owns the Slack app so token rotation has an owner.

Shuffle Slack app docs

The target channel and its channel ID

The Shuffle Slack app can list channels to find the channel_id it needs for posting. Confirm the channel's purpose, its membership and who may read alert content posted there before you point workflows at it. Alerts often contain hostnames, user names and indicators, so a public channel with a broad audience is a data exposure decision, not only a formatting choice.

An Azure tenant and app registration rights

The Teams path uses an Azure app registration with tenant_id, client_id and client_secret, connected to Microsoft Graph through OAuth2 with delegated permissions. You need an account that can register applications in the tenant and a tenant administrator who can grant consent for the requested permissions. Confirm with your identity team whether user consent is allowed, because many tenants require an administrator to approve the app before any workflow can post.

Shuffle Teams app docs

The Teams channel and team membership

Before building the Teams step, confirm which team and channel will receive posts and which people are members of it. The app acts with delegated permissions, so the identity behind the connection must be able to post to that channel. Record the team and channel identifiers in your runbook, and confirm the membership with the channel owner, since changes to membership change who can see alert data.

Configuring the Slack and Teams apps step by step

This sequence takes you from an empty Slack workspace and Microsoft Entra ID tenant to a Shuffle workflow that posts a test message to each platform. Each step closes with a check so you know the connection works before you build alerts or approvals on top of it.

  1. Create and install the Slack app

    A Slack administrator or app developer creates a Slack app in the workspace where alerts will be posted, then adds bot scopes that allow posting messages and listing channels. Install the app to the workspace so Slack issues a Bot User OAuth Token beginning with xoxb. Invite the bot to each channel it must post to, because a bot that is not a channel member cannot post there. Check: the app appears under the workspace's installed apps, and the token is visible on the app's OAuth settings page.

  2. Store the xoxb token in Shuffle app authentication

    In Shuffle, open the Slack app's authentication settings and paste the Bot User OAuth Token into the token field. Treat this token as a credential: restrict who can view the Shuffle workspace, and record which Slack app owns it so rotation can be planned. Keep the token out of workflow bodies and comments. Check: the authentication entry saves without error and shows as configured for the Slack app.

  3. List channels to obtain the channel_id

    Run the Slack app's channel listing action from a test workflow, or from the app's action test panel, using the saved authentication. The response returns the channels the bot can see along with their identifiers. Copy the channel_id for the channel that will receive alerts and note it in your workflow documentation rather than hard-coding it in several places. Check: the response includes the target channel with a channel_id value that matches what Slack shows in the channel details.

  4. Send a test message to Slack

    Run the Slack app's send message action with the channel_id from the previous step and a short test string that names the test. Use a non-sensitive message, because it will appear in channel history for every member. Confirm the message appears in the channel under the bot's name. If the action fails with a permission or channel error, return to the Slack app settings and confirm the bot scopes and channel membership. Check: the test message is visible in the Slack channel and the Shuffle action run reports success.

  5. Register the Microsoft Entra ID app for Teams

    A Microsoft Entra ID administrator registers an application in the tenant that will host Teams notifications, using a redirect URI that matches how your Shuffle instance is reached. Create a client secret and record its expiry date, since an expired secret will break authentication silently. Confirm the redirect URI against the Shuffle Teams app documentation before you save the registration. Check: the app registration appears in Entra ID with an application (client) ID and a directory (tenant) ID you can copy.

  6. Add only the delegated permissions the Teams app needs

    In the app registration's API permissions, add the Microsoft Graph delegated permissions that the Shuffle Teams app requires to post messages, and no others. Delegated permissions act on behalf of a signed-in user, so the user who consents must be one whose posting rights you intend to use. Confirm the exact permission names against the Shuffle Teams app documentation and the current Microsoft Graph reference, because the list changes over time. Where your policy requires it, ask a tenant administrator to grant admin consent. Check: the permissions list shows only the agreed scopes, each with a consent status you have reviewed.

  7. Record tenant_id, client_id and client_secret in Shuffle

    Enter the tenant_id, client_id and client_secret from the Entra ID app into the Shuffle Teams app authentication fields. Store the client secret only in Shuffle's credential storage, and record its expiry in your renewal calendar. Keep the secret out of exported workflow files and chat threads. Check: the authentication entry saves and shows the Teams app as configured, with no field left blank.

  8. Authenticate and send a test post to Teams

    Start the Teams OAuth2 sign-in from Shuffle, sign in as the consenting user, and approve the requested access. Once Shuffle shows the connection as authorized, run the Teams post action against a test channel with a short, non-sensitive message. Verify the post appears in the intended Teams channel. Check: the sign-in completes, the action run returns a success response, and the test post is visible in Teams. Record the test workflow ID so future regressions can be traced to a known working configuration.

How a workflow message reaches Slack or Teams

The message starts at a Shuffle workflow step, which hands the job to an Orborus worker. The worker starts the app container for Slack or Teams, and that container reads the stored credential from Shuffle's encrypted store before making an outbound HTTPS call to the Slack API or Microsoft Graph. The trust boundary sits on that outbound call: once the request leaves the Shuffle runtime, the chat service decides who sees the message. Check which identity posts and which channel or team receives it.

Credential read and the outbound call that crosses the trust boundary.

Which Slack scopes and Graph permissions to request

The Shuffle Slack app authenticates with a Bot User OAuth Token (xoxb) from a Slack app you create in your own workspace. The token needs only enough scope to list channels so the workflow can find a channel_id, and enough to post messages. Everything else in the Slack permission catalog is a separate capability that a playbook does not need for notifications. Create the Slack app, add the bot scopes the Shuffle Slack app documentation names, install the app to the workspace, and store the token in Shuffle's credential store rather than in a workflow step.

  • Channel listing scope: The scope that lets the bot enumerate public channels is what the app uses to resolve a channel name to a channel_id. Confirm the exact scope name in the current Shuffle Slack app docs.
  • Posting scope: The scope that allows the bot to post messages is the only write permission a notification flow needs. Request it and nothing that edits or deletes other messages.
  • Private channel access: Only add private channel scopes if alerts go to private channels, and then invite the bot to those channels explicitly so membership, not a broad scope, controls reach.
  • Omit history, files and user scopes: Reading message history, uploading files, or looking up user profiles are separate capabilities. Leave them out unless a specific workflow step needs them, because each one widens what the token can read.
  • Re-check after each app update: Slack scope lists and app behavior can change, so compare the installed scopes against the current vendor documentation before each upgrade.

Before approving the app, ask the Slack workspace admin to list the granted scopes and confirm the bot appears only in the intended channels.

Mapping workflow fields to Slack and Teams message attributes

This table pairs each field a Shuffle workflow typically carries, such as alert title, severity, source, host and approval link, with the Slack or Teams attribute it fills. Use it to plan the workflow variables before building, and confirm every exact field and parameter name against the Shuffle Slack and Teams app documentation in your version, since the names shown are the ones to verify rather than a fixed schema.

Workflow fieldSlack attributeMicrosoft Teams attributeNotes for the build
Alert titleMessage text (first line of the post)Message body (headline text)Keep titles short so the channel preview stays readable in both clients.
SeverityMessage text, shown as a labelMessage body, shown as a labelPass as plain text. Confirm whether your Slack or Teams action accepts structured blocks or cards.
Source systemMessage text, with the originating tool namedMessage body, with the originating tool namedUseful for routing and audit. Map it from the trigger payload, not typed by hand.
Affected host or userMessage textMessage bodyTreat as sensitive data. Decide which channels may receive it before mapping it.
Approval linkMessage text, as a URL the approver opensMessage body, as a URL the approver opensPoints to the Shuffle approval step. Confirm the link's authentication and expiry behavior in your deployment.
Destination channelchannel_id, found by listing channels with the Slack appTarget team and channel identifiers, set in the Teams actionStore the identifier, not the channel name, so a rename does not break the workflow.
Bot or app credentialBot User OAuth Token (xoxb), stored as a Shuffle credentialclient_secret, stored as a Shuffle credentialNever hard-code either value in a workflow step or message text.
Tenant identifierNot usedtenant_id, identifies the Entra ID tenant that holds the app registrationRequired for the OAuth2 connection to Microsoft Graph. Confirm the value with your Entra ID administrator.
Application identifierNot usedclient_id, identifies the Azure app registrationPair it with tenant_id and client_secret. Confirm which Graph permissions the registration holds.

Keeping Slack and Teams app permissions to the minimum

Notifications from Shuffle need a bot identity and a Teams app registration, and both can reach far more than a playbook needs. The cards below cover how to scope each credential, protect the secrets Shuffle stores for them, control who can change the workflows that post messages, and keep sensitive case data out of chat.

Scope the Slack bot to named channels

The Slack app authenticates with a Bot User OAuth Token (xoxb) from a Slack bot app, and that bot can only post where it has been added. Create a dedicated bot for Shuffle, invite it only to the alert and approval channels the playbooks use, and avoid granting read scopes the notification path does not need. Check the bot's channel membership each quarter, since channel invitations are easy to forget after a reorganization.

Shuffle Slack app docs

Limit the Teams app registration

The Teams app uses OAuth2 against Microsoft Graph with an Azure app registration that supplies tenant_id, client_id and client_secret, and it acts through delegated permissions. Request only the Graph permissions that the posting action requires, and confirm with your identity team whether tenant administrators must consent before the registration is usable. Record which user account the delegated grant is tied to, because that account's status affects whether messages keep posting.

Teams app docs

Rotate client secrets and track expiry

The Azure client secret for the Teams registration expires, and an expired secret stops every workflow that posts through it without an obvious error in the playbook. Set a calendar entry or monitoring alert well before the expiry date, store the owner and renewal procedure with the registration, and test a rotation in a non-production Shuffle environment first. Ask your team how a rotated secret reaches saved app authentications in Shuffle.

Protect the encryption modifier

Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER secret. Store that value in your secrets manager, restrict who can read the server environment, and back it up under the same controls as the database. Changing or losing it breaks all saved Slack and Teams authentications, so treat it as a protected secret with a documented recovery owner.

Restrict who edits messaging workflows

A workflow that posts to chat can be edited to send data to a different channel or to include fields it never did before. Limit edit rights on notification playbooks to a small named group, keep the Slack and Teams credentials out of general-access workflows, and review changes to the channel ID and message templates as part of normal change control. Confirm how your Shuffle role model maps to these edit rights before go-live.

Keep secrets out of approval messages

Approval requests help analysts decide on a containment action, but they should carry the decision context and not the material itself. Do not place API tokens, passwords, session cookies, full email bodies or complete sensitive records in a Slack or Teams message, because chat history and notifications spread them widely. Send a short summary with an identifier, and let approvers open the case in the system of record to see the rest.

Why Slack or Teams messages fail from Shuffle

This table lists the failures that most often stop Slack or Microsoft Teams messages from reaching their destination after a Shuffle workflow runs. Each row names the symptom, the likely cause in this setup and the first fix to try. Work down the rows in order when a notification is missing, because several causes share the same symptom.

FailureLikely causeFix
Slack returns an authentication errorThe xoxb Bot User OAuth Token is invalid, revoked or copied with extra whitespaceReissue or reinstall the Slack bot app, copy the xoxb token again and update the saved Shuffle app authentication
Message posts fail for one channel onlyThe bot has not been invited to the channel, so it cannot post thereInvite the bot to the private or public channel, then rerun the action
Message goes nowhere or to the wrong placeThe channel_id is wrong, copied from the channel name or from another workspaceList channels with the Shuffle Slack app, take the channel_id from that output and confirm it in the workflow
Graph call returns a consent or permission errorDelegated permissions were added in the Azure app registration but admin or user consent was never grantedGrant the required delegated permissions and complete the consent step for the tenant, then retest the Teams action
Teams authentication stops working after a period of normal operationThe client secret in the Azure app registration has expiredCreate a new client secret, update it in Shuffle and record the expiry date in your renewal calendar
Token request fails or returns the wrong tenant datatenant_id, client_id or client_secret belongs to a different Entra ID tenant than the target Teams workspaceCompare the three values against the app registration in the correct tenant and correct any mismatch
Action times out or reports no route to the serviceOutbound HTTPS from the Orborus runtime to Slack or Microsoft endpoints is blocked by a firewall, proxy or DNS ruleAllow outbound HTTPS from the runtime host to the vendor endpoints, then test from that host with a simple request
Saved Slack or Teams authentications suddenly fail after a config changeSHUFFLE_ENCRYPTION_MODIFIER was changed or lost, so stored credentials can no longer be decryptedRestore the original modifier value from your secrets record and restart the stack. Re-enter credentials only if the original value cannot be recovered

Questions buyers ask about Slack and Teams notifications from Shuffle

How much effort does a Slack or Teams notification setup from Shuffle take?

The effort depends on how many channels and workflows you need, how much Microsoft Teams governance your tenant already has, and how complex the approval logic is. A single channel posting alerts is a small job. Dozens of channels with different severities, several Teams destinations and approval gates that block a playbook are a much larger one. Each Slack channel needs a channel_id from the Shuffle Slack app, and each Teams destination depends on Azure app registration and consent. Confirm timing with your own Slack and Entra ID administrators before you commit to a schedule, because approval cycles in your organization often set the pace more than the Shuffle work does.

Can our team set up Slack and Teams notifications from Shuffle without a partner?

Yes, a team with Shuffle experience and admin rights in Slack and Entra ID can build these notifications itself. The Shuffle Slack app authenticates with a Bot User OAuth Token (xoxb) from a Slack bot app that has permission to post, and the Shuffle Teams app uses OAuth2 to Microsoft Graph with an Azure app registration holding tenant_id, client_id and client_secret. The steps are documented, so the gap is usually not the wiring but the governance: scoping permissions, agreeing who approves what, and testing failure paths. A partner is useful when that design work is the bottleneck or when you need the result documented for review.

What does our organization need to provide for this work?

You need a Slack workspace administrator who can create or approve a bot app and install it, and an Entra ID administrator who can register the app and grant admin consent for the permissions the Teams app requires. You also need a dedicated test channel in Slack and a test team or channel in Teams, so posts and approval requests can be checked without reaching operational staff. Someone must own the Shuffle instance and the stored credentials. Ask whether your change process requires tickets or sign-off for each new app registration or token before the work starts.

How do approval requests differ from plain notifications in Shuffle?

A plain notification sends information and the workflow continues. An approval request pauses a decision: the workflow posts a message that asks a named group to approve or reject an action, and it waits for the answer before it runs containment or changes. Approvals need more design than notifications. You must decide who may approve, what happens when nobody responds, how the reply is recorded, and whether the same person can both request and approve. Test the timeout path as carefully as the happy path, because a stalled approval can leave an incident unattended.

What recurs after the notifications go live?

Three things recur. First, the Slack bot token and the Azure client_secret need rotation on a schedule your security policy sets, and every rotation must be applied to the saved app authentication in Shuffle. Second, app permissions and channel memberships need periodic review so that access still matches what the workflows post. Third, Shuffle and its apps change over time, so upgrades to the Shuffle version and the Slack or Teams apps need testing against your channels. Ask your vendor or partner how these tasks are scheduled and who performs them.

Which permissions should the Slack and Teams apps have?

Grant only what each workflow needs. For Slack, the bot app needs permission to post and to list channels so the Shuffle app can look up a channel_id, and it should be invited only to the channels it must post in. For Teams, the Shuffle app uses delegated permissions through Microsoft Graph, so the signed-in account, its rights and the admin consent you grant define what the app can reach. Review the scopes listed in the Shuffle documentation against your own design, and confirm with your Entra ID administrator that the consent you grant is no broader than the workflows need.

Where do the Slack token and Teams client secret get stored, and what happens if they change?

Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER secret, so the encryption key itself must be backed up and protected. If a token or client secret is rotated in Slack or Entra ID, you must update the saved authentication in Shuffle, or the workflows will fail. Changing or losing SHUFFLE_ENCRYPTION_MODIFIER breaks all saved app authentications. Confirm your secret storage approach with your security team before you rotate anything in production.

Designing approval requests that stay safe in chat

An approval request is a message that asks a person to take an action, such as blocking an indicator or isolating a host, so the decision itself must stay under the control of the workflow rather than the chat reply. Treat the Slack or Teams message as a prompt for a human, and record the decision in Shuffle's own execution history. A thumbs-up or a typed word in a channel should not, by itself, trigger a containment step, because chat posts can come from anyone with channel access and the workflow cannot easily prove who the approver was. Before building the flow, confirm with Shuffle's approval documentation which mechanism it provides for capturing an approver's decision, and design the playbook around that mechanism rather than around message text.

Decide who may approve before you write the message. Name the approving roles or individual accounts in the workflow configuration, not in the channel name, and confirm how the Slack bot or Teams app identifies the user who responded. Keep the approver list short and separate from the people who only receive notifications. Set a timeout for every pending request and define the default outcome when it expires, usually a no-action path that escalates to an on-call contact. Test the expiry path as deliberately as the approval path, since an unanswered request is the most common state in a quiet shift.

Keep the message content minimal. Include the alert identifier, the action requested, the target, the reason and a link back to the case in Shuffle, but leave out raw secrets, full log bodies and personal data that the channel audience does not need. Do not place API tokens, Graph client secrets or session values in message blocks or attachments. Ask your security and compliance leads whether channel membership meets your data handling rules, because a private channel with a broad membership can expose incident details to people outside the response team. Review the message template with the people who will act on it at 3 a.m., because a clear request with a single decision is safer than a long summary that invites a rubber-stamp approval.

How DeployOpen works on this

DeployOpen plans and implements Slack and Microsoft Teams notifications from Shuffle inside infrastructure you control, starting from a written scope that names the channels, the app permissions and the workflows involved. We build and test the notification and approval paths, then hand over the configuration, the app registrations and the runbook your team needs to run them.

How we scope

  • Written scope lists each Slack channel and Teams channel that receives Shuffle alerts or approval requests
  • Permissions are agreed per platform, including the Slack bot scopes and the Microsoft Graph delegated permissions
  • Secrets handling for bot tokens and client secrets is decided before any workflow is built
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts

How we build

  • Shuffle apps for Slack and Teams are configured against your Shuffle deployment and tested in a non-production environment
  • Alert and approval workflows are tested with sample payloads, including failure paths when a token is revoked
  • Channel IDs, tenant values and credentials are stored in Shuffle's encrypted credential store, not in playbook text
  • Each workflow is checked for the minimum permissions it needs before it moves to production

How we hand over

  • Documentation covers app registrations, granted permissions, channel mappings and the owner of each credential
  • A runbook describes secret rotation, the effect of changing the encryption modifier and how to re-authorize apps
  • Your team receives the workflow exports and a list of tests to repeat after upgrades
  • Handover sessions walk your engineers and SOC staff through alert and approval flows end to end

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover
  • Upgrades of Shuffle and the Slack and Teams apps are retested against the agreed permission set
  • Permission reviews are repeated when channels, workflows or Microsoft Graph scopes change
  • Quotes follow from the written scope, so the cost of each support component is stated before work starts

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.