Day 4, 25 minutes · beginner
Why it matters
How do you get a workspace agent into a Slack channel? Your team does not live in ChatGPT. The questions come in where people already talk, and for many teams that is a Slack channel. A workspace agent can sit in that channel under its own handle and answer there, so nobody has to switch apps or copy a question into ChatGPT.
Slack is also where a careless setup shows. People in the channel can use the agent, and its app connections are shared ones that work for whoever asks. And there is a second feature with a similar name, @ChatGPT in Slack and Microsoft Teams, that works very differently. Knowing which one you are setting up saves you a week of confused messages with your admin.
At the end of today your agent answers in one test Slack channel under its own handle, replying only when someone mentions it, and you can explain to your team how it differs from @ChatGPT.
Who does what
Putting a workspace agent in Slack needs a ChatGPT admin, possibly a Slack admin, and you. OpenAI's admin page Deploy ChatGPT workspace agents to Slack names three admin steps:
- Turn on the Workspace Agents in Slack app in ChatGPT's workspace settings (OpenAI's Slack page says the Slack app in ChatGPT is on by default for Business accounts, so check whether it is already on).
- Install the ChatGPT Agents app in Slack, which may need a Slack admin's approval.
- Allow all Slack members to create user groups. The agent's handle is a Slack user group, so without this the handle cannot be made.
The same page lists the conditions: a paid Slack plan, a Slack workspace that allows the ChatGPT Agents app, and a ChatGPT Business, Enterprise or Edu account. Slack Enterprise Grid organisations need extra org-level steps. These are all admin steps: if any of them is missing, the builder shows an error and you ask your admin, quoting the page.
Your part, as the agent's owner, is the channel. OpenAI's ChatGPT Agents app in Slack page says only the agent owner can add, remove or change Slack channels. Editors can still publish other changes.
Before you connect: shared connections only
To work in Slack, every app connection of the agent must use shared authentication. If your agent still has a personal connection from lesson 3, switch it to an agent-owned connection with a service account, or remove the app. OpenAI warns that a shared connection made with your own account lets other people in the channel act through it. Use a channel with only your own colleagues in it, and keep the connection's access small. While the agent is live in a Slack channel, only the owner can add or update its apps.
An agent that works from uploaded files only, like the one from lesson 2, has no app connection to worry about.
Relevant messages or only when mentioned
For each Slack channel you choose whether the agent responds to relevant messages in the channel or only when someone mentions its handle. You can also choose when it follows up in threads and give it channel instructions. Start with mention-only: the agent then speaks only when asked, and you see how people use it before you let it reply to relevant messages on its own.
How @ChatGPT is different
OpenAI's page ChatGPT with Slack and Microsoft Teams describes @ChatGPT: an assistant for your Slack workspace or Teams tenant, available to Business, Enterprise and Edu, set up by an admin in the OpenAI admin console. The admin writes its instructions and connects company tools. It runs through an account set up for the assistant, and your Slack or Teams account shows who asked. Your personal ChatGPT history, saved memories and custom instructions do not automatically carry over, and it does not automatically inherit your access to files, apps or private channels.
So, in short:
- Want a specific team helper with your own instructions and files, in Slack? Build a workspace agent.
- Want a general assistant in Slack or Microsoft Teams, managed by IT? Ask your admin about @ChatGPT.
- On Microsoft Teams? The workspace agent pages I read only describe Slack. In Teams, @ChatGPT is the option the pages describe.
If your team also uses Claude, Claude Tag for Teams shows the same idea on Claude: hand Slack work to an assistant in a channel, with your own team rules.
The steps
- Check the admin steps are done, or send the admin page to your admin.
- Make a test channel with a few colleagues.
- Add the ChatGPT Agents app to that channel.
- Connect Slack in the builder and create a handle no user group already uses.
- Add the channel and choose mention-only replies.
- Create or update the agent and ask it a question in the channel.
Pick your tool below and follow the steps.
Example: #ask-the-workshop
Bastiaan did the three admin steps on a Friday. Freya made a test channel with Duco and Mabel, added the ChatGPT Agents app, and gave the agent the handle @workshop-helper. She chose Only when @mentioned. Mabel asked "@workshop-helper how long for two lightboxes?" and got an answer from lead-times.txt in the thread. Duco asked about neon and got "Not in the handbook, please ask Duco", which made him laugh and then add a line about neon to the handbook.
Today's actions
Ticks are not saved without an accountDo it in ChatGPT
ChatGPT
- In Slack, make a test channel with a few colleagues. In its settings, under Integrations, select Add apps and add the ChatGPT Agents app.
- In ChatGPT, open your agent in the agent builder, select Add channel and then Slack. If asked, select Connect Slack and choose your Slack workspace.
- Enter a unique Slack handle, such as
workshop-helper, and select Create handle. Pick a name no user group in your workspace already uses. - In Channel ID, paste the link to your test channel and select Add channel.
- Select the channel in the builder and choose Only when @mentioned. Add short channel instructions if you want, for example to answer in the thread.
- Create or update the agent to publish the channel.
- In the Slack channel, mention the handle and ask a question your files answer. Check the answer and the file it names.
Note: Only the agent owner can add or change Slack channels. Every app connection must be shared before the agent works in Slack. A handle error about user groups means a Slack admin must allow members to manage user groups.
Paid planNeeds a ChatGPT Business, Enterprise or Edu workspace, a paid Slack plan, and the Slack setup done by your admins.
Create a free account to save your progress
Free, and no payment details. Your ticks and finished lessons are kept, on every device.
Create a free account I already have an accountCreate a free account to save your progress. Sign in or sign up