Duaer

Knowledge base

Connect Slack to the Duaer knowledge base

Index the last 30 days of chosen Slack channels, threads included: public channels for the workspace, private ones for their members only. Employees can also mention Duaer or message it directly.

What Duaer reads in Slack

  • The channels the app is invited to and you tick under Channels to index.
  • The last 30 days of messages, threads included, one item per channel and day.
  • Up to 200 channels.

Connect Slack

  1. Create a Slack app for your workspace with the bot scopes channels:read, groups:read, channels:history, groups:history, users:read and users:read.email; for the bot and the daily digest also app_mentions:read, im:history and chat:write. Install it to the workspace.
  2. In Duaer, create a Slack API credential with the app’s bot token (xoxb-), and put its Signing Secret in the Signature Secret field. A Slack OAuth2 API credential also works.
  3. As an owner or admin, open Data sources in the sidebar, select Add source and choose Slack, choose Knowledge source under Add as, then choose the credential and click Connect.
  4. In Slack, invite the app to each channel to index (send /invite @YourApp in the channel). Back on the source, tick the channels under Channels to index and click Save channels.

Who finds which channel

Members are matched to Slack users by email. Public channels are found by everyone in the workspace; private channels only by their members. When someone joins or leaves a channel, it takes effect within a minute with the bot’s events, else within 10 minutes.

How soon changes show

  • New messages are read every 10 minutes.
  • Channel members are all read again once a day, and member events start a read at once.

Ask Duaer in Slack

  1. The credential needs the bot token (xoxb-) and the Signing Secret. On the Slack source, turn on Ask Duaer in Slack.
  2. Paste the Event Subscriptions request URL into the Slack app under Event Subscriptions, and subscribe to the bot events app_mention, message.im, member_joined_channel and member_left_channel.
  3. Paste the Interactivity request URL under Interactivity & Shortcuts, so Helpful, Not helpful and the Run buttons work.
  4. Employees mention it in a channel, or message it directly.

Answers cite their sources and use only what the person asking may open. When they ask it to do something, it sends Run and Cancel buttons.

Proactive answers in channels

  1. With Ask Duaer in Slack on, the Slack source shows Proactive answers. Tick the channels to answer in, and give a channel words if it should only answer messages with them. Only the organization’s owners and admins can set this.
  2. In the Slack app, subscribe the bot to the message.channels and message.groups events, with the channels:history and groups:history scopes.
  3. When someone posts what looks like a question in such a channel (without mentioning the bot), Duaer answers in that message’s thread, for everyone in the channel.

Answers use only what everyone in the channel may read, and cite their sources. Duaer stays quiet when someone in the channel is not a member of the organization or is not known, or when no sourced answer is found. At most 20 answers per channel an hour. Duaer keeps only which message in which channel it answered, never the message; the source shows how many it answered in the last 7 days. Credits are charged to the person who asked.

Requests often arrive from a workflow or app (a Workflow Builder form, for example). Under a chosen channel, select Choose from apps that posted here lately and tick the apps to answer: their top-level messages need not read as questions, and Duaer answers them in the thread by the same rules. Other apps’ messages are ignored. Credits for these answers are charged to the owner or admin who last saved the setting; once that person is no longer an owner or admin, these messages are not answered.

Summarize a thread

  1. In a thread in a channel, mention Duaer and ask only for a summary ("summarize this thread", "recap", "tl;dr").
  2. Duaer replies in the thread, for everyone in the channel: key points, decisions, open questions, and action items (who does what, and when).

The summary uses only the messages people wrote in that thread (not bots or apps), and nothing else from the knowledge base; for a long thread, the most recent part. Sensitive details are masked by the organization’s AI safety rules before the model reads them, and nothing is kept. Credits are charged to the person who asked.

Asking Duaer anything else (such as "summarize the expense policy") is still answered privately as a question. Outside a thread, Duaer tells you privately to ask in one. It needs the channels:history and groups:history scopes, as proactive answers do.

The Duaer Home tab

  1. In the Slack app, turn on Home Tab under App Home and subscribe the bot to the app_home_opened event.
  2. When people open the Duaer app’s Home tab in Slack, they see how to ask, their own last five questions with the start of each answer, and Open Duaer.

Each person sees only their own Home tab, in their Slack language. Someone Duaer does not know yet is asked to have an admin link their account. The portal cannot open a past answer, so the Home tab shows the start of each answer.

Limits

  • The last 30 days only, and up to 200 channels.
  • Only channels the app is in can be chosen.
  • When the app lacks a scope, the source names it; add it, then reinstall the app to the workspace.

Questions

Why is a channel missing from the list?

The app is not in that channel yet. Send /invite @YourApp in the channel, then reload the source. See also Fix Slack not_in_channel.

Who finds messages from a private channel?

Only that channel’s members. Someone who leaves the channel stops finding them.

Can Duaer read Slack messages older than 30 days?

No. The knowledge base keeps the last 30 days, and older days leave it.

In this section