Query Confluence pages from Slack

BotsProject ManagementCollaboration

What it does

When someone runs a search command in Slack, this automation queries Confluence for matching pages. It posts results back to the channel so the team finds documentation without leaving the conversation.

Who it's for

Engineering teams who need to find Confluence pages quickly from Slack during discussions.

How teams use this

Find docs without leaving Slack

Search Confluence directly from a Slack conversation to locate pages and share links with the team. This automation stays the same and only the search terms change each time.

Extend search to multiple spaces

Add a filter to the Confluence search so only pages from specific spaces are returned. This narrows results and makes this automation more useful for teams with many Confluence spaces.

Route results to a support channel

Post search results to a dedicated support channel instead of the channel where the command runs. The search logic stays the same and only the destination changes.

How it works

  1. Run a search command in Slack. Type a search command in a Slack channel with keywords to find Confluence pages.
  2. Search Confluence for matching pages. Query Confluence with the keywords from the command to find pages that match the search terms.
  3. Post results to the Slack channel. Reply in Slack with the matching Confluence pages so someone can view the documentation links without switching apps.