Skip to main content

Slack

Prefer guided AI setup?

Instead of following these steps manually, you can use the AI Credential Assistant — describe what you want to connect and the AI will walk you through the setup step by step, tailored to your account.

Overview​

Install the Nirvai app in your Slack workspace so your agents and automations can work where your team already talks: post alerts to a channel, send a direct message to the right person, read the replies, and share the files they generate. You don't create a Slack app or copy any token — you pick a workspace and approve.

Add to SlackImage: Add to Slack

Want teammates to chat with your agent in Slack?

This page sets up the credential your agents' Slack tools use. To have people ask your agent questions inside a Slack channel, connect it as a channel from the Channels section of the Agent Builder.

What you can do​

  • Post messages and formatted notices (header, fields, images) to a channel, or reply in a thread
  • Send a direct message to a teammate, found by their work email or name
  • Read recent messages in channels the bot was invited to, a thread, or its direct messages
  • Upload files (reports, exports) to a channel or a direct message
  • List channels and find people in the workspace

Before you start​

  • A Slack workspace where you're allowed to install apps (on some workspaces an admin has to approve it).
  • Pop-ups allowed in your browser — the Slack approval opens in a small window.

Connect it​

Slack connects through Slack's official install screen — Nirvai never sees your password.

  1. In Nirvai, open Credentials → Create credential and pick Slack (or click Add to Slack above).
  2. Give the credential a name and click Add to Slack. Slack's approval window opens.
  3. Choose your workspace and click Allow.
  4. When you return, pick the Slack tools you want to create — they're ready to add to your agents.

Invite the bot to your channels​

The bot can post to any public channel right away. To read a channel, upload files there, or use a private channel, invite it first: type /invite @Nirvai in the channel.

Permissions it asks for​

PermissionWhy
channels:read, groups:readFind a channel's ID from its name (private channels only if the bot was invited)
chat:write, chat:write.publicPost messages as @Nirvai, including public channels it hasn't joined
im:writeOpen a direct message with a teammate
users:read, users:read.emailFind a teammate by name or work email
files:writeUpload the files your agents generate
channels:history, groups:history, im:historyRead messages in channels the bot is in and replies sent to it

Disconnect​

Delete the Slack credential in Credentials — Nirvai also revokes its access in Slack. You can remove the app from Slack's Apps settings too.

Troubleshooting​

MessageFix
"The bot is not a member of that channel"Type /invite @Nirvai in the channel
"Missing permission … Reconnect"Open the credential and click Reconnect to grant new permissions
"The Slack connection is no longer valid"The app was removed from Slack — reconnect the credential

Next steps​

Got your credential? Connect it to an agent

Add the Slack tools you created to an agent in the Agent Builder, or use the AI Tool Creator to build more tools on top of this credential.