Integrations

Confluence

Read, search and write Confluence pages and spaces: CQL search, a page’s children and comments, new pages, edits, comments and labels.

XataWorks Browser showing the Apache Kafka space’s Index page on Apache’s public Confluence, with the page-tools list open over it from the browser toolbar, headed Page tools (36), with a filter box, chips for each class, and the tools listed with their classes, beginning with the Jira tools — Get the current Jira issue, Get a Jira issue — because a Data Center page carries the Atlassian markers the Jira adapter recognises too; the Confluence tools follow further down the list.
Confluence Data Center at the Apache Software Foundation. Atlassian’s Data Center pages share their markers, so the Jira tools are offered here as well as the Confluence ones.

Where it works

Confluence Cloud, under /wiki on your company’s atlassian.net address, and Confluence Data Center on your own domain. On a Cloud address both the Confluence and the Jira tools are offered, because both are genuinely there.

Open the site in XataWorks Browser and the tools below appear in the page-tools list in the browser’s toolbar, ready for the agent in any chat that has the tab. There is nothing to install or switch on.

How it works

The tools call Confluence’s REST API from the page, with the session you are already signed in with: no API token, no app registration, no separate sign-in.

Page bodies come back as plain text for the agent to read. Every tool name says Confluence, page or space, so it never takes the place of a Jira tool on the same site.

Tools

Each tool with the name XataWorks shows you, the name the agent uses, and the first sentence of the description the agent reads. You do not call them yourself: ask for what you want in your own words, and the agent picks the tool. Before one runs, XataWorks asks you, according to its class; Approvals and permissions explains the question and each answer.

Reads Read only

These only look things up.

  • Get the current Confluence page get_current_pageReturns the Confluence page currently open in the embedded browser.
  • Get a Confluence page get_pageFetch one Confluence page by id (or page URL).
  • Search Confluence (CQL) search_contentSearch Confluence with CQL (Confluence Query Language), e.g.
  • List a Confluence page’s children get_page_childrenList the direct child pages of a Confluence page.
  • Get a Confluence page’s comments get_page_commentsList the comments at the foot of a Confluence page, with bodies as plain text.
  • Get a Confluence space get_spaceReturn a Confluence space by key (e.g.
  • List Confluence spaces list_spacesList Confluence spaces the signed-in user can see.
  • Get the current Confluence user get_confluence_userReturn the currently signed-in Confluence user (the session operating the browser).
  • Get Confluence session capabilities get_confluence_capabilitiesReport whether the browser session can use the Confluence REST API (CONFLUENCE_SESSION_REST_AVAILABLE), which environment was detected (cloud or datacenter), and the REST base paths.

Adds and changes Mutating

These change something, and the adapter declares the change additive: a create, an append, a status set.

  • Create a Confluence page create_pageCreate a new Confluence page in a space, optionally under a parent page.
  • Comment on a Confluence page add_page_commentAdd a comment at the foot of a Confluence page.
  • Add labels to a Confluence page add_page_labelsAdd one or more labels to a Confluence page (existing labels are kept).

Changes that may not be undoable Consequential

These may make changes that cannot be undone, so XataWorks treats them with the most care.

  • Update a Confluence page update_pageUpdate a Confluence page’s title and/or body.
  • Remove labels from a Confluence page remove_page_labelsRemove one or more labels from a Confluence page.

See Page tools in the user guide for how to see what a tab offers, or every integration.