Slack AI Assistant (@LinearB)
The Slack AI Assistant lets you ask questions about your engineering data directly in Slack. Message @LinearB privately or mention it in a channel, and get answers, charts, and tables from your own L…
The Slack AI Assistant lets you ask questions about your engineering data directly in Slack. Message @LinearB privately or mention it in a channel, and get answers, charts, and tables from your own LinearB data. You can also schedule a question to run as a recurring report.
What It Is
@LinearB is a Slack app that uses the same engine as the AI Assistant in LinearB, so it answers the same kinds of questions: metrics, trends, PRs, teams, and deployments. Every answer uses your own LinearB permissions, so it only includes the teams and data you can see in LinearB. Two people asking the same question can get different answers.
You can use it in four places:
- Direct message – Open the LinearB app in Slack and write in the Messages tab. Only you see the conversation.
- Channel mention – Write
@LinearBfollowed by your question. The answer is posted in a thread under your message, and everyone in the channel can read it. - Routines – A saved question that runs on a schedule and is sent to you by DM or posted to a channel.
- Home tab – Shows how to ask questions, your LinearB role, and your routines. You can create, edit, pause, and delete routines here.
While it works, the app shows progress updates, such as Understanding your question and Querying metrics. The answer then appears in the same message.
@linearb2. It's the same app — pick LinearB from the mention list.
Requirements
To get answers from @LinearB, all of the following must be true:
- The Slack AI Assistant is enabled for your organization. Contact LinearB support to enable it.
- Your organization is in the US region.
- Your organization's Slack integration is connected to the same Slack workspace where the app is installed. See Connecting LinearB to Slack.
- A LinearB admin installed the app, and it isn't paused.
- You are a registered LinearB user (not only a contributor), and your Slack user is matched to your LinearB user. LinearB syncs Slack users daily at 04:00 UTC, so a newly added user may need to wait for the next sync.
- Your LinearB role is Admin, Editor, or Viewer. External users can't use @LinearB.
Set Up the Slack AI Assistant (Admins)
- In LinearB, go to
Settings → Company Settings → Slack. - Open the
Slack AI Assistanttab. The card shows the Slack workspace the app will be installed in. - Click Add to Slack. This button is disabled until the Slack integration is connected.
- On the Slack authorization page, review the requested permissions and click Allow. If your workspace restricts app installs, a Slack workspace admin may need to approve it.
- Return to LinearB. The tab shows Active.
Everyone in the workspace who meets the requirements can now message or mention @LinearB. One install covers the whole organization.
Permissions Slack requests
| Slack scope | Why the app needs it |
|---|---|
app_mentions:read | See messages that mention @LinearB in channels it's in. It doesn't read other channel messages. |
im:history, im:read, im:write | Read and answer direct messages sent to the app. |
chat:write, chat:write.public | Post answers and routine reports, including in public channels the app hasn't joined. |
channels:read, groups:read | Check that a routine's owner is still a member of the channel before posting there. |
users:read | Read basic profile details, such as your time zone for routines. |
Pause or disconnect the app
In Settings → Company Settings → Slack → Slack AI Assistant:
- Pause stops answers for the whole organization. The app stays in Slack and tells people it's paused. Click Resume to turn it back on immediately.
- Disconnect removes the app from your Slack workspace. LinearB asks you to confirm before disconnecting. Removing the app from Slack's own app settings has the same effect.
Ask Questions
Ask in plain language. For example:
- How did our cycle time change this quarter?
- Which PRs are waiting on review the longest?
- Deployment frequency for the Platform team over the last 8 weeks
- Follow-ups: Reply in the same thread. The app remembers the conversation per thread and per person, so two people in one thread each keep their own history and access.
- One question at a time: While an answer is in progress, wait for it to finish before asking another question in that thread, or start a new thread.
- Charts: Each message shows up to 2 charts. If there are more, a note says how many weren't shown. Where Slack can't display a chart, the reply suggests opening the AI Assistant in LinearB.
- Missing metrics: If no existing metric answers your question, the answer may include a link to Build mode in LinearB, where you can create one. See Explore and Build Modes.
Mentioning @LinearB without a question returns a short example of what you can ask.
Routines
A routine is a saved question that @LinearB asks on a schedule, using your access, and delivers as a report.
Create a routine
- Under any answer, click Make this a routine. The form opens with the question filled in.
- Or, on the app's Home tab, click + New in the AI Assistant Routines section.
| Field | Options |
|---|---|
Name | Up to 100 characters. |
What should I report? | The question, up to 2,000 characters. |
Send to | Me (a DM) or A channel. You must be a member of the channel. |
How often | Weekdays, every day, or weekly. |
| Day | For weekly routines only: the day of the week. |
Time | In your Slack time zone. Daylight saving time is handled automatically. |
/invite @LinearB in that channel.
Routine limits
- 3 routines sent to you by DM and 3 routines posted to channels, per person.
- 200 routines per organization.
Receiving reports
- Reports arrive at the scheduled time, usually within a minute. At popular times in large organizations, they may arrive a little later.
- To get a report right away, open the routine's menu on the Home tab and select Run now.
- Reports sent by DM include buttons to run, edit, or pause the routine. Reports posted to a channel have no buttons, because anyone in the channel could click them.
- If LinearB or Slack is busy, the run is retried for up to about 15 minutes. If it still can't run, you get a DM saying LinearB was busy. This doesn't count as a failure.
- If a report is missed by more than 2 hours, it is skipped rather than sent late.
When a routine pauses itself
If a routine can't run, it pauses and you get a DM explaining why. Fix the cause, then resume the routine from the Home tab.
| Reason in the DM | What to do |
|---|---|
| It failed 3 times in a row | Try Run now. If it keeps failing, contact LinearB support with the routine name and scheduled time. |
| I can't post in its channel anymore | You left the channel, or it's a private channel the app isn't in. Rejoin the channel, or run /invite @LinearB. |
| @LinearB is paused for your organization | Ask an admin to resume the app in Settings, then resume the routine. |
| Your Slack user is no longer connected, or is connected to a different LinearB user | Ask an admin to fix the match between your Slack user and your LinearB user. See Troubleshooting. |
| Your LinearB role can't use @LinearB | Your role changed to External. Ask an admin to assign Admin, Editor, or Viewer. |
| Your LinearB user was removed | The routine stays paused. Another user needs to create a new routine. |
Privacy in Channels
When you ask @LinearB in a channel, the answer uses your LinearB access, and everyone in the channel can read it. This means an answer can include data that some channel members can't see in LinearB. Channel answers include a footer that names whose access was used, for example Answered with @dana's LinearB access.
Use a direct message for sensitive questions.
Limits
| Limit | Value | What you see |
|---|---|---|
| Questions per person | 30 per hour | You've reached the hourly limit for questions. Try again in about N min. |
| Questions per organization | 200 per hour | The same message |
| Time per answer | About 5 minutes | This took too long, so I stopped. Try a narrower question. |
| Charts per message | 2 | A note with how many more charts weren't shown |
| Routines per person | 3 by DM + 3 to channels | The routine form says the limit is reached |
| Routines per organization | 200 | The routine form says the limit is reached |
Troubleshooting
When a problem is about you, the app replies privately. In a channel, only you see the reply.
| What you see | Cause | How to fix it |
|---|---|---|
| This Slack workspace isn't connected to LinearB yet… | The app isn't installed for this workspace, or it was disconnected. | An admin installs it from Settings → Company Settings → Slack → Slack AI Assistant. |
| @LinearB is paused for your organization… | An admin paused the app. | An admin clicks Resume in the Slack AI Assistant tab. |
| Your Slack user isn't connected to a LinearB user yet… | You don't have a LinearB user, or your Slack user isn't matched to it. | Ask an admin to invite you as a LinearB user and verify that your Slack identity is linked to that user. If you were just added, wait for the daily Slack sync (04:00 UTC). |
| Your LinearB role can't use @LinearB in Slack… | You are an External user. | Ask an admin to assign the Admin, Editor, or Viewer role. |
| No reply at all | The app was removed from the workspace, or you mentioned it in a channel it isn't in. | Ask an admin to verify that the Slack AI Assistant tab shows Active. Invite the app to the channel. |
| Add to Slack is disabled, or the install returns to LinearB without completing | The Slack integration isn't connected, or the install was for a different workspace. | Connect the Slack integration first, and install the app into the same workspace. |
No Slack AI Assistant tab under Settings → Company Settings → Slack | The feature isn't enabled for your organization, or you are in team settings. | Open company settings, not team settings. If the tab is still missing, contact LinearB support to enable it. |
| I'm still answering your previous question in this thread… | You asked a second question before the first finished. | Wait for the answer, or ask in a new thread. |
| Something went wrong on my side… | An unexpected error. | Try again in a minute. If it repeats, contact LinearB support. |
| I was restarted before I could finish… | The service restarted while answering. | The answer usually follows within a minute. Otherwise, ask again. |
FAQ
Is it available in the EU region?
Not yet. The Slack AI Assistant is currently available in the US region only.
Can it answer questions about teams I can't see in LinearB?
No. It uses your own LinearB access, exactly like the AI Assistant in LinearB.
Does the app read our Slack channels?
No. The app only sees messages that mention @LinearB and direct messages sent to it. It doesn't read channel history.
Can I send a routine to someone else?
No. A routine is sent to its owner by DM, or to a channel the owner is a member of. It always runs with the owner's access.
Does everyone need to install the app?
No. One admin install covers the organization. Everyone in that Slack workspace who meets the requirements can use it.
How do we turn it off?
Pause in Settings → Company Settings → Slack → Slack AI Assistant stops it immediately, and Resume turns it back on. Disconnect removes the app from Slack.
Related Articles
How did we do?
Explore and Build Modes
The Assistant Home