Connect Confluence

Point a bot at a Confluence Cloud space, or at one page and everything under it, and it answers from what the pages say now. It reads on a schedule — daily on Pro, hourly on Business — and Sync now reads straight away. A page you edit is read again; a page you delete or trash is removed from the bot. It is part of Pro and Business, like every source that keeps itself in sync.

Read this first. Everything the token can read is indexed, and can be quoted to anyone who talks to the bot — private pages included. For an internal wiki, use a bot that is not installed on a public site: the bot's Allowed domains decide where it answers.

What you need

  • Confluence Cloud. The address ends in .atlassian.net. Data Center and Server are a different API and are not supported.
  • An Atlassian API token. Go to your Atlassian account → Security → API tokens → Create API token. The token can read exactly what that account can read, so use an account that sees only what the bot may answer from.
  • The address of a space or a page. Open it in Confluence and copy the address from the browser: https://yourcompany.atlassian.net/wiki/spaces/DOCS for a space, or the address of a page for that page and the pages under it.

Add it

On the bot's Documents page choose Add documents → Confluence / Notion → Confluence. Paste the address, the email of the Atlassian account and the token. The token is tried against Confluence before anything is kept, and the form says how many pages it found. It is then stored encrypted and never shown again. The first read starts within five minutes; you can leave the page.

To change the token, add the same address again with the new one.

What is read

  • Pages in the space, or the page and its descendants. A space is read whole; a page and what is under it is found by their parents in its space.
  • Text, tables, lists, code, panels and expandable sections. Panels (Info, Note, Warning…) keep their label; code keeps its language; a table becomes a table.
  • Not read: attachments and images (the bot answers from words), whiteboards and databases, the macros that only point somewhere else (a table of contents, a Jira list, "children of this page"), comments, and pages in the trash or still drafts. A link to another page keeps its words, not its address.
  • At most 200 pages a source, as for any source. Past that, add a second source for another space.

When something is wrong

The card shows the reason in words. The common ones: the token was refused (it was revoked, or the email is not the one it was made for — add the source again with a new one); the address was not found (a typo, or the account cannot see that space); Confluence is limiting requests (the next run tries again). If a space shrinks to under half its size in one run, deletions are paused and you are emailed, because that is more often a token that lost access than a smaller space. See Keep it in sync.

Who is a sub-processor

Neither Atlassian nor Grounded's own hosting receives your customers' data through this: Grounded reads from Confluence, and Confluence receives nothing but the read requests.