Macha

How Do You Connect Confluence to Macha? Setup and Token-Expiry Monitoring (2026)

Abbas, Customer Support & AI, Macha

Written by

Ankeet Guha, Co-founder & CTO, Macha

Reviewed by

Published July 24, 2026

Updated September 24, 2026

Connecting Confluence to Macha takes an Atlassian API token, your site URL and the token's expiry date, and gives your agents seven tools for searching, reading and, with confirmation, writing pages. Macha emails you 30 days before the token expires, so the connection doesn't break silently.

Key takeaways

  • Connecting Confluence to Macha takes an Atlassian API token, your site URL, the account email and the token's expiry date, entered in the Connectors page.
  • Macha's Confluence connector, shipped April 9, 2026, exposes seven tools: four read tools that run freely and three write tools that always require confirmation.
  • Atlassian API tokens can be set to last between 1 and 365 days, and new tokens have defaulted to a one-year expiry since December 15, 2024.
  • Macha emails a reminder 30 days before a connected Confluence token expires and deactivates the connector on 401 errors instead of repeating failed calls.
  • Connecting Confluence costs nothing on its own; Macha bills per ticket from $299 a month for 750 tickets, about $0.40 each.
How Do You Connect Confluence to Macha? Setup and Token-Expiry Monitoring (2026)

To connect Confluence to Macha, create an Atlassian API token (valid for 1 to 365 days), paste it into Macha's Confluence connector with your site URL, account email and the token's expiry date, then give an agent the connector's tools. Macha emails you 30 days before that token expires and deactivates the connector on 401 errors, so a rotated or expired token doesn't silently break your agents.

By the end of this setup you'll have Confluence connected as a working knowledge source, your agents reading from it, and the token-expiry safety net most integrations skip. That last part matters more than it sounds, and there's a real reason it shipped, which I'll get to.

Macha is an AI agent layer that sits on top of the help desk you already run (Zendesk, Freshdesk, Gorgias, Front, HubSpot or Intercom). Confluence doesn't replace any of that. It's one of the knowledge and tool connectors your agents draw on. So the flow is: connect Confluence, it becomes a data source, you assign its tools to an agent, and the agent uses it on real tickets.

What do you get when you connect Confluence?

Macha's Confluence connector (shipped April 9, 2026) gives your agents seven tools:

ToolWhat the agent can doConfirmation?
Search PagesFind pages by keyword across all spaces or one spaceNo (read)
Get PageRead the full content of a page by IDNo (read)
List SpacesList available spaces with keys and namesNo (read)
Get Page ChildrenWalk a page hierarchy to find sub-pagesNo (read)
Create PageCreate a new page in a spaceYes
Update PageEdit a page's title and contentYes
Add CommentPost a comment on a pageYes

The split is deliberate. The four read tools are how Confluence becomes a knowledge source: agents search and read freely. The three write tools (create, update, comment) change your documentation, so every one of them requires confirmation before it runs. An agent can draft a new troubleshooting page from a cluster of tickets, but a human approves it before it lands.

A second thing happens the moment you connect: Macha auto-creates a data source from Confluence, the same way it does for Google Workspace and Notion. You don't have to add a knowledge base separately. Connecting the tool and creating the searchable source is one step.

What do you need before you start?

Macha authenticates to Confluence with an Atlassian API token, not your password. You create it on Atlassian's side first, then paste it into Macha. Per Atlassian's official docs (checked September 24, 2026):

  1. Go to id.atlassian.com, then Account settings, Security, API tokens (direct link: id.atlassian.com/manage-profile/security/api-tokens).
  2. Click Create API token.
  3. Give it a descriptive name. Macha Confluence connector works, so future-you knows what it's for.
  4. Choose an expiration date. Atlassian lets you set anywhere from 1 day up to 365 days. Since December 15, 2024, new tokens default to a one-year expiry, so an Atlassian token can't live forever anymore.
  5. Click Create, then copy the token immediately. Atlassian shows it once and never again; if you lose it, you create a new one.
Write down that expiration date. You'll need it in Macha in a minute, and it's the single most important field for keeping this integration alive. More on why below.

Use a token tied to an account (or, better, a dedicated service account) that has access to the spaces you want your agents to read. The agent inherits that account's permissions. It can only see what the token's owner can see, which is exactly the boundary you want.

Step 1: Add the Confluence connector in Macha

In the Macha dashboard, open Connectors. You'll see everything you can wire up: your help desk, commerce and payments tools, and the knowledge and productivity connectors, including Confluence.

The Macha connectors page, where you add Confluence alongside your helpdesk and other tools.
The Macha connectors page, where you add Confluence alongside your helpdesk and other tools.

Click Confluence and you'll get the connection form. You'll provide:

  • Your Atlassian site URL (e.g. your-team.atlassian.net)
  • The account email the token belongs to
  • The API token you just copied
  • The token expiration date you set in Atlassian

Save it, and Macha verifies the credentials against your Confluence instance. Once it connects, the seven tools become available to assign, and your Confluence source is created automatically.

Step 2: How does token-expiry monitoring work?

This is the feature worth slowing down for, because it solves a problem most teams only discover after it's bitten them.

Atlassian API tokens expire, and since December 15, 2024 they all do, with a hard one-year ceiling. There was a real-world wave behind this too: Atlassian set every token created before December 15, 2024 to expire, and those tokens ran out between March 14 and May 12, 2026. A lot of "why did our integration just stop working?" tickets in spring 2026 trace straight back to that. And because Atlassian doesn't expose a clean API to read a token's expiry date, as threads in the Atlassian developer community confirm, a connected app can't look it up for you. The token simply starts returning 401 Unauthorized, your agents quietly stop finding answers, and nobody notices until a customer does.

Macha's Confluence connector handles this two ways:

  • You tell it the expiry date at connect time (the field in Step 1). Macha then emails you a reminder 30 days before the token expires, which leaves enough runway to rotate the token and update the connector before anything breaks.
  • If a token expires early or is revoked, the connector auto-deactivates on 401 errors instead of hammering Confluence with failing calls. You get a clear "this needs attention" state rather than a stream of silent failures.

The payoff is a Confluence integration that tells you it's about to expire, instead of you finding out from a confused customer three weeks after it already did. When the reminder lands, the fix is the same 60-second loop: create a fresh token in Atlassian, paste it in, set the new date.

Watch-out: the 30-day reminder is only as good as the date you enter. Mistype the expiration date and the reminder fires at the wrong time. Copy it straight from the Atlassian token screen, and if you ever rotate the token manually, update the date in Macha at the same time.

Step 3: Confirm the Confluence data source

Because connecting Confluence auto-creates a source, you don't have to build one by hand. Open Data Sources and you'll see your Confluence source listed alongside any websites, uploaded files, Notion or Google sources you've added.

The Macha Sources list — a connector-backed knowledge source (a Zendesk Help Center) shown as Ready.
The Macha Sources list: a connector-backed knowledge source (a Zendesk Help Center) shown as Ready.

This is what makes Confluence a live knowledge source rather than a one-time import. Your agents search Confluence through the connector's tools at answer time, so an edit your team makes in Confluence this morning shows up in agent answers this afternoon. There's no stale snapshot to re-sync.

Step 4: Give an agent the Confluence tools

A connected source does nothing on its own; you point an agent at it. Open the agent you want to make Confluence-aware (or build a new one), and add the Confluence tools from the tool picker.

Assigning tools to a Macha agent from the tool picker.
Assigning tools to a Macha agent from the tool picker.

For a support agent that answers from documentation, you typically want the read tools: Search Pages, Get Page, List Spaces and Get Page Children. A one-line instruction does the rest, for example:

"When a customer asks a technical or how-to question, search Confluence for the relevant page, read it, and draft a grounded reply citing the answer. If you can't find a confident answer, hand off to a human."

Add Create Page or Update Page only when you actually want the agent to write back into Confluence, say an internal agent that turns a recurring ticket theme into a draft runbook for a human to approve. Those writes always pause for confirmation.

If you've already connected your help desk, this is where it comes together: the help-desk trigger fires on a new ticket, the agent searches Confluence for the answer, and it drafts (or sends) the reply in your existing help desk, with no new tool for your team to learn.

When shouldn't you lean on the Confluence connector?

A few honest limits, so you build this with eyes open:

  • Permissions are inherited, for better and worse. The agent sees exactly what the token's account can see. Point it at a token with broad admin access and an agent could surface an internal-only page in a customer reply. Scope the token's account to the spaces you actually want reachable.
  • Messy Confluence in, messy answers out. If your spaces are full of outdated, contradictory or half-finished pages, the agent will faithfully retrieve the wrong one. Connecting Confluence is a good reason to prune stale docs first.
  • Keep the confirmation gate on write tools. Create, Update and Comment require confirmation by design. Don't go looking for a way to auto-approve documentation edits; the human checkpoint is the safety feature.
  • It's a knowledge connector, not a migration. Confluence stays your source of truth. Macha reads it live and doesn't copy your wiki anywhere else.

For a public-facing help center you'd often pair Confluence with other sources, such as uploaded files, your website or Notion, and let the agent draw on whichever has the answer. Confluence is strongest for the internal, operational knowledge that never made it into a public KB.

FAQ

Does connecting Confluence import all my pages into Macha? No. Connecting auto-creates a data source, but your agents search Confluence live through the connector's tools at answer time. Edits in Confluence show up immediately, and there's no static copy to re-sync.

What permissions does the agent have in Confluence? Whatever the Atlassian account behind the API token has. The agent can only read (and, with confirmation, write) pages that account can access. Use a dedicated or service account scoped to the right spaces.

Can agents edit or create Confluence pages automatically? They can create pages, update pages and add comments, but every write action requires explicit confirmation before it runs. Read actions (search, get page, list spaces, get children) don't.

What actually happens when my Atlassian token expires? Calls start returning 401 Unauthorized. Macha auto-deactivates the connector on 401s instead of failing silently, and if you entered the expiry date, it emails you a reminder 30 days before the token is due to expire so you can rotate it in time.

Why does Macha ask me to type in the expiry date? Atlassian doesn't expose a reliable API to read a token's expiration, so Macha can't fetch it automatically. Entering it at connect time is what lets Macha warn you before expiry instead of after.

How long can an Atlassian API token last? Between 1 day and 365 days. Atlassian sets new tokens to expire after one year by default, and you pick the date when you create the token.

How is Confluence usage billed? Connecting Confluence costs nothing on its own. Macha bills per ticket: one conversation is charged once however many pages the agent searches and reads to answer it, from $299 a month for 750 tickets, about $0.40 each. See the pricing page for current plans.

How do you get started?

Confluence is where your team's real answers live, and Macha is how your agents reach them on a live ticket, with a token-expiry net so the connection doesn't quietly break. Start a free trial ($50 of usage, no credit card required), open Connectors, and wire up Confluence, or read the Confluence integration page and the docs for the full reference.


Written by Abbas (Customer Support & AI, Macha) · Reviewed by Ankeet Guha (Co-founder & CTO) · Published 2026-06-24 · Last updated 2026-09-24.

Macha

About Macha

Macha is an AI agent platform that works on top of the help desk you already use (Zendesk, Freshdesk, Gorgias, Front, Intercom or HubSpot) and connects to the rest of your stack, even your own internal systems. It is done for you: the Macha team analyzes your past tickets, builds the knowledge base and the agents, and runs them in safe mode until the drafts are right. Pricing is about $0.40 a ticket, and that includes setup and a dedicated success manager who handles your changes. Learn more about Macha →

Zendesk
5.0 on Zendesk Marketplace

Loved by support teams worldwide

See what support teams are saying about Macha AI.

The application seems excellent to me! We are still testing, and we need support for some details and they were extremely efficient too!

Daniela Costa

Daniela Costa

Head of Support, Seabra

Macha has been a great addition to our support toolkit. It generates clear, well-organized responses that fit naturally into our workflow. One feature we particularly appreciate is its ability to automatically reply in the same language as the ticket.

Marius F

Marius F

Support Head, Zentana

We've been using Macha for a little while now and it's been really great addition so far! It's powerful, convenient, and makes getting work done a lot easier for our agents.

Alexander Wedén

Alexander Wedén

Head of Support

Support team is very helpful and responsive. Really enjoy how lightweight this is within Zendesk itself vs other more intrusive tools.

Cathleen Wright

Cathleen Wright

Zendesk Admin, Cortex IO

So far it's pretty good! Our queries are a little nuanced, so we can't always use it, but it's got enough utility for us. It can even incorporate our bilingual country with greetings in a second language.

Jae Oliver

Jae Oliver

Head of Support, Wise

Really enjoying using Macha, it has made a noticeable difference to our support team in a short amount of time. I really like the ticket summary feature, saves us a lot of time.

Harry Jackson

Harry Jackson

Head of Support, Crumb

Macha AI is a great addition to my workspace! It's powerful, convenient, and it really makes productivity so much easier for our agents!

Dave G

Dave G

Head of Support, Cyber Power Systems

Very impressed! AI integration for Zendesk has certainly come a long way and Macha seems to set the standard for now. This will for sure save lot of time in our support team.

Pauli Juel

Pauli Juel

Head of CS, Dokument24

Macha has been working great for us so far! The auto-responses are accurate and our resolution time has dropped significantly.

Lana T

Lana T

Zendesk Admin, Swotzy

Macha AI is a great addition. The knowledge base feature means our agents always have the right answers at their fingertips.

Mischa Wolf

Mischa Wolf

Head of Support, Topi

We're enjoying this integration so far. It's made our support team more efficient and our customers get faster responses.

Paula G

Paula G

Head of Customer Support, Xly Studio

The team enjoys using it. It saves considerable time on common questions and the integration options are excellent.

Kilian Leister

Kilian Leister

Support Head, Didriksons

Get your AI agents set up for you.

Book a 20-minute call with our team. We'll show you where we would start on your help desk and how the setup works. Setup and a dedicated success manager come with the trial and every plan.

Live in under a week
Safe mode until you approve
About $0.40 a ticket