Skip to main content

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.

Beta: The Slack AI Assistant is in Beta and is enabled per organization by LinearB. It is currently available in the US region only. Contact LinearB support to enable it.

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 @LinearB followed 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.

Note: If your workspace already has another bot named LinearB, Slack may show this app as @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)

  1. In LinearB, go to Settings → Company Settings → Slack.
  2. Open the Slack AI Assistant tab. The card shows the Slack workspace the app will be installed in.
  3. Click Add to Slack. This button is disabled until the Slack integration is connected.
  4. 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.
  5. 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 scopeWhy the app needs it
app_mentions:readSee messages that mention @LinearB in channels it's in. It doesn't read other channel messages.
im:history, im:read, im:writeRead and answer direct messages sent to the app.
chat:write, chat:write.publicPost answers and routine reports, including in public channels the app hasn't joined.
channels:read, groups:readCheck that a routine's owner is still a member of the channel before posting there.
users:readRead 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.
FieldOptions
NameUp to 100 characters.
What should I report?The question, up to 2,000 characters.
Send toMe (a DM) or A channel. You must be a member of the channel.
How oftenWeekdays, every day, or weekly.
DayFor weekly routines only: the day of the week.
TimeIn your Slack time zone. Daylight saving time is handled automatically.
Private channels: Before sending a routine to a private channel, run /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 DMWhat to do
It failed 3 times in a rowTry Run now. If it keeps failing, contact LinearB support with the routine name and scheduled time.
I can't post in its channel anymoreYou 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 organizationAsk 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 userAsk an admin to fix the match between your Slack user and your LinearB user. See Troubleshooting.
Your LinearB role can't use @LinearBYour role changed to External. Ask an admin to assign Admin, Editor, or Viewer.
Your LinearB user was removedThe 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

LimitValueWhat you see
Questions per person30 per hourYou've reached the hourly limit for questions. Try again in about N min.
Questions per organization200 per hourThe same message
Time per answerAbout 5 minutesThis took too long, so I stopped. Try a narrower question.
Charts per message2A note with how many more charts weren't shown
Routines per person3 by DM + 3 to channelsThe routine form says the limit is reached
Routines per organization200The 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 seeCauseHow 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 allThe 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 completingThe 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 → SlackThe 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.

How did we do?

Explore and Build Modes

The Assistant Home