Macha

Should an AI Support Agent Use All Documents or Hand-Picked Sources?

Abbas, Customer Support & AI, Macha

Written by

Ankeet Guha, Co-founder & CTO, Macha

Reviewed by

Published July 27, 2026

Updated September 24, 2026

Give an AI support agent everything and it retrieves the plausible answer instead of the correct one. The fix is scope: deciding, per agent and per source, whether it reads all documents or a hand-picked list.

Key takeaways

  • Macha agents should use All documents on curated, customer-safe sources and Selected on mixed sources, and the scope is set separately for each source on each agent.
  • Since the April 3, 2026 update, Macha switches a source between All documents and Selected with a one-click toggle on the source row, and Selected opens the document picker.
  • Macha's Selected scope is a manual allow-list, so a document added to that source later stays invisible to the agent until someone adds it.
  • Macha injects CSV and XLSX files of 2,000 rows or fewer straight into the agent's prompt and chunks larger files for search, and scope decides which files are eligible.
  • Microsoft 365 Copilot's Agent Builder takes the same per-agent approach, allowing up to 100 SharePoint files, folders or sites and up to four public website URLs per agent.
Should an AI Support Agent Use All Documents or Hand-Picked Sources?

Use All documents when every file in a source is safe for an agent to quote, and Selected when the source is mixed and the agent should answer from a named handful of documents. In Macha, sources live once in an org-level library, and each agent sets that scope per source with an inline toggle on the source row, so a billing agent quotes your refund policy verbatim instead of wandering into an outdated pricing PDF that was technically "in the knowledge base."

All documentsSelected
What the agent can readEverything in the sourceOnly the documents you pick
New documents added laterIncluded automaticallyExcluded until you add them
Best forCurated, customer-safe sources; internal agentsMixed sources, approved-language-only answers, fixing wrong citations
UpkeepLowSomeone maintains the allow-list

Macha is the AI agent layer that sits on top of the help desk you already run (Zendesk, Freshdesk, Gorgias, Front, HubSpot or Intercom), so everything below is about shaping what your agents know, not replacing where your tickets live. Our Macha on Zendesk page shows the Zendesk version.

How is knowledge organized across agents in Macha?

Knowledge in Macha is organized on two levels, and getting the mental model right makes everything after it obvious.

Level one: the source library. You add a data source once: upload a PDF, spreadsheet, or document; crawl a website; or connect a live source like Google Docs, Notion, or Confluence. CSV and XLSX files of 2,000 rows or fewer are injected straight into the agent's prompt; larger spreadsheets, PDFs, DOCX files and crawled websites (up to 200 pages) are chunked, embedded, and searched on demand. Live connector sources are read in real time, so when someone edits the Notion page, the agent sees the new version on the next ticket, with no re-uploading. Connecting Confluence (like Google and Notion before it) automatically creates a source for you.

A Macha agent's Configuration page — name, model, instructions, triggers, and tools.
A Macha agent's Configuration page — name, model, instructions, triggers, and tools.

Level two: per-agent scope. A source existing in your library doesn't mean every agent drinks from it. Each agent attaches the sources it needs, and for each attached source, you set its scope: all of it, or specific documents. That's the whole idea: centrally managed knowledge, tailored usage per agent, with zero content duplication. You never copy the returns policy into three different agents; you attach one source three times and scope it differently each time.

Other platforms have converged on the same pattern. Microsoft 365 Copilot's Agent Builder attaches a defined set of knowledge sources per agent: up to 100 SharePoint files, folders or sites, up to 50 OneDrive files, up to four public website URLs and up to 20 uploaded files, rather than your whole tenant. Its connectors scope further by attribute, for example a Confluence space, a Google Drive folder or a Jira project (Microsoft Learn, updated 29 July 2026). Macha's version is deliberately simple: a binary All documents / Selected choice on every source row.

How does the All documents / Selected toggle work?

On every data source attached to an agent, there's an inline toggle: All documents or Selected. Since the April 3, 2026 update it's a one-click switch right on the source row, so you no longer expand the source to change its scope, and clicking Selected opens the document picker. Scope filtering works on every source type: file uploads, websites, Google Docs and Notion pages.

  • All documents: the agent can retrieve from everything in that source, now and in the future. Add a new page to the connected Notion workspace and the agent picks it up automatically. This is the "keep up with me" mode.
  • Selected: you hand-pick the exact documents the agent may use. The agent is blind to everything else in that source, including anything added later, until you explicitly include it. This is the "stay in your lane" mode.

The toggle is per source per agent, which is the important nuance. The same Google Drive source can be All documents for your internal ops agent and Selected → [Refund Policy, Shipping SLA] for your customer-facing WISMO agent. One library, two very different blast radii.

When is "All documents" the right call?

  • The source is already curated. A dedicated "Customer Help Center" Notion space or a tightly maintained Confluence space where every page is publishable to customers. If everything in the source is safe to surface, scoping it down just creates maintenance work.
  • You want new content live automatically. Marketing ships a new returns FAQ page; with All documents the support agent answers from it the moment it's saved, and no one has to remember to add it to an allow-list.
  • Internal agents over trusted corpora. An agent that helps your own team triage tickets can usually see the whole runbook space.

When is "Selected" worth the upkeep?

  • The source is mixed. A shared Drive that holds the customer refund policy and the internal margin spreadsheet and last quarter's draft pricing. You want exactly two of those documents in front of a customer agent and none of the rest.
  • Compliance or accuracy boundaries. Legal-approved language only. Pick the approved doc, exclude the drafts, and the agent physically cannot retrieve the unapproved version.
  • You're debugging hallucinations. When an agent cites the wrong doc, narrowing scope to the handful of sources it should use is usually a more reliable fix than rewording the prompt.
The org-level source library — sources are added once here, then attached and scoped per agent.
The org-level source library — sources are added once here, then attached and scoped per agent.

What does a two-agent setup look like in practice?

Say you run three sources: a Help Center site crawl (all customer-safe), a Google Drive folder (mixed: policies plus internal finance), and a Notion space for internal SOPs.

AgentHelp CenterGoogle DriveNotion SOPs
Customer WISMO agentAll documentsSelected → Shipping SLA, Refund Policynot attached
Internal triage agentAll documentsAll documentsAll documents

The customer-facing agent answers shipping and refund questions from approved language and literally cannot reach the finance spreadsheet or internal SOPs. The internal agent sees everything because its audience is your own team. Same three sources, scoped two ways, no duplicated content. Change the refund policy once in Drive and both the document and the customer agent's answer update, because the agent points at the live source, not a copy.

This is also where Macha's sub-agents matter: a top-level router can delegate to specialist sub-agents that each carry their own narrowly scoped knowledge, so a billing question reaches the agent that only sees billing docs.

Does narrowing scope change how retrieval works?

A practical detail worth knowing: scope changes what's eligible for retrieval, not how retrieval works. Within whatever's in scope, small spreadsheets (2,000 rows or fewer) are injected into the prompt directly while larger files are chunked, embedded, and searched on demand with the search_knowledge and get_document tools. Narrowing scope therefore does two useful things at once: it removes wrong-but-plausible documents from the candidate set, and it keeps the retrieval space tight, which tends to surface the right chunk higher. Tighter scope is often the cheapest accuracy win available: you'd rather the agent reason over the right three documents than rank the wrong thirty.

When does scoping go too far?

It's possible to overdo scoping. A few honest cautions:

  • Selected mode is a manual allow-list. New documents added to that source after you set the scope are not automatically included. That's the point, but it also means a "Selected" agent can silently go stale if someone publishes a new policy and forgets to add it. If your content changes weekly, All documents on a curated source is lower-maintenance than babysitting a hand-picked list.
  • Don't scope around a messy library. If you find yourself hand-picking five documents out of a forty-document source for every agent, the real fix is to split that source (or restructure the underlying Drive/Notion space) so "All documents" is safe. Scope is a control, not a substitute for organizing your knowledge.
  • A dozen narrow agents is a dozen things to maintain. Agents and knowledge sources are unlimited on every plan (see the pricing page), so nothing stops you splitting one agent into ten, but each one is another instruction set to update and re-test when a policy changes. Scope deliberately, not compulsively.
  • Scope is not access control for people. It governs what an agent retrieves, not who on your team can view a document. Don't use it as your data-governance layer for human permissions; use your source-system permissions for that.

How do you set per-agent scope in Macha?

  1. Add your sources once in the data sources library — upload files, crawl a site, or connect Google Docs / Notion / Confluence as live sources. (Connecting Confluence auto-creates the source; the Google Picker lets you select Docs and Sheets natively instead of pasting IDs.)
  2. Open an agent and attach the sources it needs on its Knowledge tab.
  3. For each attached source, set the inline toggle to All documents or Selected.
  4. If Selected, hand-pick the specific documents, save, and test the agent against a real ticket to confirm it only cites what you intended.
An agent's Data Sources panel showing the Zendesk Help Center connected at 'All docs' scope (Add Sub-Agent dialog open).
An agent's Data Sources panel showing the Zendesk Help Center connected at 'All docs' scope (Add Sub-Agent dialog open).

The whole loop takes minutes, and the test step is the one people skip and shouldn't: running a real ticket through the agent is how you prove scope is doing what you think.

FAQ

Is knowledge scoped globally or per agent? Per agent. Sources live in one shared library, but each agent sets its own scope (All documents or Selected) on every source it attaches. The same source can be wide-open for one agent and narrowed to two documents for another.

Does "Selected" automatically include new documents? No, by design. Selected is an explicit allow-list. New documents added to the source later aren't included until you add them. If you want new content live automatically, use All documents on a curated source.

Do live sources update without re-uploading? Yes. Google Docs, Notion, and Confluence connect as live sources read in real time. Edit the underlying document and the agent sees the change on the next run, with no re-upload or re-index step on your end. Static uploads are different: to update one, delete the old file and upload the new version.

Can different agents use the same source with different scopes? Yes, that's the core benefit. Attach one source to many agents and scope each independently. No content is duplicated.

Does scoping change the cost? No. Billing is per ticket (one conversation, charged once), from $299 a month for 750 tickets, not per document in scope. Tighter scope won't cut your bill, but by surfacing the right context it tends to reduce retries and wrong answers, which is where the real waste hides.

Where should you start?

If your agents are confidently citing the wrong document, you don't need a bigger model; you need tighter scope. Start a free trial ($50 of usage, no credit card required), add your sources once, and give each agent exactly the documents it should answer from. Read the data sources docs for the full walkthrough, or browse the blog for more on building accurate agents on top of your helpdesk.


Written by Abbas (Customer Support & AI, Macha) · Reviewed by Ankeet Guha (Co-founder & CTO) · Published 2026-06-24 · Last updated 2026-06-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