Integrations / Confluence

Confluence

Confluence is where many teams write things down: the HR handbook, engineering runbooks, sales playbooks, the legal team's guidance. The knowledge is there, but people still ask the same questions in chat because finding the right page, and the right paragraph on it, takes too long.

The Confluence integration connects a whole space, or one page and everything under it, to a Ragirag team. New and edited pages are indexed, and pages that are deleted, archived or moved out stop being used in answers. Members ask in plain language and see which pages each answer came from.

What is synced

  • A whole space: every current page in it. Or a page tree: one page and all of its current child pages, however deep.
  • Page text with its structure kept as plain text: headings, paragraphs, lists, tables (as rows), code blocks and the text inside macros such as info or note panels.
  • Spaces on any Confluence Cloud site the admin granted on Atlassian's consent screen.
  • A link back to each page in Confluence, shown next to the document in Ragirag.

What is skipped

  • Attachments and images placed on a page. The page's text is synced and the sync history notes that its attachments were left out.
  • Comments, blog posts, and archived, draft or trashed pages. Confluence Data Center and Server are not supported, only Confluence Cloud.

How fresh answers stay

Ragirag checks for changes every 15 minutes, with no action needed from anyone. A team admin can also press Sync now to pick up a change right away, at most once a minute.

Each page's version number tells Ragirag when it changed. An edited page keeps its place in Ragirag, along with its confidential flag and the people granted access. If the connected space or page is deleted or can no longer be read, Ragirag stops and deletes nothing until an admin looks at it.

Permissions Ragirag asks for

  • Read pages and spaces (read:page:confluence, read:space:confluence). Ragirag lists the spaces and pages so the admin can pick one, then reads the pages to index them. It never creates, edits, moves or deletes anything in Confluence.
  • Read your profile (read:me) and stay connected (offline_access). The account's email is shown to team admins so they can see which Atlassian account the space is connected with; offline access lets Ragirag sync every 15 minutes without asking again.

Who can see what

Confluence page restrictions are not copied into Ragirag. Every member of the team can ask about every page in the connected space or tree, including pages they could not open in Confluence. The team is the access boundary.

To restrict a sensitive page, a team admin marks it confidential in Ragirag and grants access to named people. That setting survives later edits of the page.

Revoking, reconnecting and disconnecting

  • The Atlassian refresh token is encrypted with AES-256-GCM before it is stored and is never shown again, not even to admins. Atlassian replaces it each time it is used; Ragirag stores the new one before using it.
  • If access is withdrawn on Atlassian's side, the connection shows Access lost. Pages already synced keep answering questions but stop updating until an admin reconnects. If the admin who connected Confluence leaves the team or is no longer an admin, syncing stops at once.
  • Disconnecting removes every page synced from Confluence from Ragirag, including its indexed passages, and deletes Ragirag's stored token. Atlassian offers no way for an app to revoke its own access, so to withdraw it entirely, remove Ragirag under Connected apps in your Atlassian account (id.atlassian.com). Nothing changes in Confluence.

The full data flow, from sync to answer, is on the security page.

Plans

Available on all plans, Free included. Synced pages count toward the plan's document limit: a space or page tree that would take your organisation over it is not synced at all, rather than cut off part way, until it is smaller or the plan is upgraded. See every limit on the pricing page.

Set it up

  1. Connect Confluence. A team admin opens the team's Documents page and chooses Connect Confluence. Ragirag explains that page restrictions are not mirrored, then opens Atlassian's consent screen.
  2. Grant read-only access. The admin signs in with their Atlassian account, chooses the site to share and accepts the read-only access.
  3. Choose a space or a page. Back in Ragirag, the admin picks the site, then a space to sync whole, or opens it and picks one page to sync with everything under it. The first sync starts right away.
  4. Ask questions. Members ask questions in the team's chat. Answers cite the synced pages and stay current as they change.

Questions

Should we sync a whole space or a page tree?

A whole space when the team owns it, such as the HR space for an HR team. A page tree when only part of a larger space is relevant, for example the Onboarding section of a company-wide wiki.

Can we change the space or page later?

Yes. A team admin picks another space or page; at the next sync, pages that are no longer part of the selection are removed and the new ones added.

Does Ragirag write anything to Confluence?

No. The access is read-only. Ragirag lists spaces and reads pages; it never adds comments, edits pages or changes restrictions.

Do we need a Confluence admin to set it up?

No. Any team admin in Ragirag who can read the space in Confluence can connect it. Your Atlassian site admin can still review or remove the app at any time.