Working with Several Documents at Once

You want to get a cat. So you give Claude three documents: your lease, an email from your property manager, and the building rules. You ask, "Can I keep a cat?"

Claude says yes. Pets are fine. You feel relieved. Then you wonder: which document said that? Was it the lease you signed, or a quick email? And did any of them say something different?

When you mix several documents in one chat, the answers can blend together. You lose track of who said what. This article shows you how to keep every document separate, so each answer tells you exactly where it came from, and what to do when the documents disagree.

Throughout this article, I label what you are reading:

  • Verified — checked against Anthropic's official documentation on the date at the end of this article.
  • Example — an illustration written for this article.
  • Recommendation — my own advice.

Resource: >> The Multi-Document Sheet <<

Five words you need

New term: a source is any document you give Claude to work from: a PDF, an email, a page of notes, a spreadsheet.

New term: a label is a short name you give each source, such as "Document A — Lease". It is how you and Claude point at one source and not the others.

New term: attribution means saying which source each part of an answer came from. "You need written approval [A]" is attributed. "You need written approval" is not.

New term: a conflict is when two sources say different things about the same question.

New term: a gap is a question that one source answers and the others do not, or that no source answers at all.

Why answers blend together

When you paste three documents into one message with no labels, Claude sees one long block of text. It can still read all of it. But when it answers, nothing tells it to keep the sources apart, so it tends to give you one smooth answer that mixes them.

That smooth answer hides three things you need to know:

  • which document each point came from,
  • where two documents disagree, and
  • what only one document mentions, or what none of them mention.

The one idea in this article: label every source, and ask for the label on every claim.

The labelling approach



It works in three steps:

  1. Label each source. Give every document a letter, a name and a date: "Document A — Lease, signed 1 February 2026".
  2. Put the documents first and the question last. Paste all the documents, then ask your question at the end.
  3. Ask for the label on every claim. Tell Claude to put the letter after each point, to point out where the documents disagree, and to say plainly when only one document, or none, covers something.

Verified: Anthropic's prompting guide recommends placing long documents "near the top of your prompt, above your query, instructions, and examples". It says that when using multiple documents you should "wrap each document in <document> tags with <document_content> and <source> (and other metadata) subtags for clarity". It also suggests asking Claude "to quote relevant parts of the documents first before carrying out its task".

New term: tags are short markers in angle brackets, like <document> and </document>, that show where something starts and ends. You do not need to learn any code. They are just labels Claude reads easily.

Recommendation: a plain letter and name, like "Document A — Lease", is enough for most everyday jobs. Use the tags when you have long documents, or more than three.

Five kinds of question you can ask

Once your sources are labelled, you can ask much better questions. Most fall into one of five kinds.

Question type Example question Watch for
Find Which documents mention pets? A source left out of the list without saying so.
Compare How do the lease and the email differ on pets? Differences smoothed over to sound like agreement.
Combine What is the full list of steps, from all three? Steps with no label, so you cannot check them.
Check Do the documents agree about pets? Where not? "They all agree" when they do not.
Gap What does only one document cover? What does none cover? A gap filled with a guess instead of "not covered".

Worked example: can I keep a cat?

Example: the three documents below are invented for this article. You can paste them into Claude and follow along.

The lease, signed 1 February 2026:

Clause 14. Pets. The tenant must not keep any animal at the property without the landlord's written approval. Approval will not be unreasonably refused.
Clause 15. The tenant must follow the building rules.

An email from the property manager, 3 March 2026:

Hi Jess, pets are fine at Unit 4. Just let me know before the animal moves in. Thanks, Mark

The building rules, updated July 2025:

Rule 6. Cats must be kept indoors at all times.
Rule 7. Every pet must be registered with the building manager within 14 days of arriving.
Rule 8. Dogs over 10 kg are not permitted.

Pass 1: paste and ask

Here are some documents about my rental:

[paste all three documents, with no labels]

Can I keep a cat in my unit, and what do I need to do first?

The answer will usually read well. It may open with "Yes, pets are fine" and then list some steps. But look closely. Which document said "pets are fine"? It was the email, not the lease. Does a quick email count as the landlord's written approval? The answer may not even raise the question. You cannot check anything, because nothing is labelled.

Pass 2: label the sources

Document A — Lease, signed 1 February 2026:
[paste the lease]

Document B — Email from Mark, property manager, 3 March 2026:
[paste the email]

Document C — Building rules, updated July 2025:
[paste the building rules]

Can I keep a cat in my unit, and what do I need to do first?
After each point, put the letter of the document it comes from, like [A].

Now every point has a letter. You can see that "pets are fine" comes from [B], and "written approval" comes from [A]. You can open each document and check. That is attribution.

Pass 3: ask for conflicts and gaps

<documents>
<document index="A">
<source>Lease, signed 1 February 2026</source>
<document_content>[paste the lease]</document_content>
</document>
<document index="B">
<source>Email from Mark, property manager, 3 March 2026</source>
<document_content>[paste the email]</document_content>
</document>
<document index="C">
<source>Building rules, updated July 2025</source>
<document_content>[paste the building rules]</document_content>
</document>
</documents>

Question: Can I keep a cat in my unit, and what do I need to do first?

1. First, quote the exact lines from each document that matter, with the letter.
2. Then answer. Put the letter after every point.
3. If two documents disagree, say so and show both sides. Do not pick one.
4. If only one document covers something, write "Only [letter] covers this."
5. If none of the documents answer part of my question, write "Not covered" rather than guessing.

This answer should now show you three things the first one hid:

  • A possible conflict. The lease [A] needs the landlord's written approval. The email [B] says pets are fine, but it comes from the property manager and only asks you to "let me know". It may or may not count as approval. That is worth asking about.
  • A gap only one source fills. Only the building rules [C] say cats must stay indoors, and that you must register the cat within 14 days.
  • A gap no source fills. None of the documents mention a pet bond or a fee. The honest answer is "Not covered".

Recommendation: when a conflict matters, like approval to keep a pet, do not let Claude settle it. Ask the person who can. Here, that means asking Mark for the landlord's written approval. This article is not legal advice; tenancy rules differ between states, so check your own state's rules.

When the sources disagree

Conflicts are useful. They show you exactly what to check. Here is how to handle them.

  1. Ask Claude to show both sides. "If two documents disagree, show both and do not pick one."
  2. Look at the dates. A newer document may replace an older one, but not always. An email does not usually change a signed lease.
  3. Look at who wrote it. A signed agreement usually carries more weight than a quick message. Claude cannot know which one wins in your situation.
  4. Ask a person. Take the conflict to whoever can settle it, with both quotes in hand.

Recommendation: put the date and the author in every label. They are the two things you will need most when sources disagree.

How many documents can you use?

Verified: Anthropic's help centre says you can upload "up to 20 files per chat", with a limit of "500MB per file". Supported document types include PDF, DOCX, CSV, TXT, HTML, ODT, RTF, EPUB, JSON and XLSX. Limits can change, so check the help centre page linked below.

Recommendation: just because you can upload 20 files does not mean you should. Three to five well-labelled documents give clearer answers than twenty unlabelled ones. If a document has nothing to do with the question, leave it out.

Recommendation: when you upload files instead of pasting text, still label them in your message: "File 1 (lease.pdf) is Document A, the signed lease." Then ask for the letters in the answer.

Five reusable templates

Example: templates written for this article. Replace everything in [square brackets].

1. Label and attribute

Document A — [name, author, date]:
[paste]

Document B — [name, author, date]:
[paste]

[Your question]
After each point, put the letter of the document it comes from, like [A].

2. Compare side by side

Using Documents A and B above, compare what each says about [topic].
Make a table with columns: Point | Document A says | Document B says | Same or different?
If a document says nothing on a point, write "Not mentioned".

3. Find the disagreements

Read all the documents above. List every place where two documents disagree.
For each one, quote both documents with their letters. Do not decide which is right.

4. Check the gaps

For my question "[question]", tell me:
- what all documents agree on,
- what only one document covers (write "Only [letter] covers this"),
- what none of the documents cover (write "Not covered").

5. Quote first, then answer

Before answering, quote the exact lines from the documents above that relate to my question, each with its letter.
Then answer my question using only those quotes. Put the letter after every point.
Question: [question]

Common mistakes

Mistake Why it hurts The fix
Pasting documents with no labels The answer blends them and you cannot check anything Give each one a letter, name and date
Not asking for the label in the answer Labels in the prompt alone do not guarantee labels in the reply Say "put the letter after each point"
Asking the question before the documents The question gets buried under long text Documents first, question last
Letting Claude pick a winner in a conflict It cannot know which document counts more in your situation Ask it to show both sides, then ask a person
No rule for gaps A gap gets filled with a sensible-sounding guess Ask for "Not covered" when nothing answers it
Adding every document you have Unrelated text adds noise and confusion Include only the sources the question needs
Trusting the letter without checking A label can be wrong, like any other part of an answer Open the document and find the quoted line

Exercise: try it in 20 minutes

  1. Pick a real question that needs two or three documents. For example: a work policy plus an email from your manager, or two quotes from tradespeople.
  2. Paste the documents into a new chat with no labels, and ask your question. Save the answer.
  3. Open a new chat. Label each document with a letter, a name and a date. Ask the same question, and ask for the letter after each point.
  4. Check three of the lettered points. Open the document and find the line each one came from.
  5. Now break it on purpose. Ask a question that none of your documents answer, without the "Not covered" rule. Watch whether Claude fills the gap with a guess.
  6. Ask again with template 4. Compare the two answers. The second should say "Not covered" instead of guessing.

Verification checklist

Run this before you act on any answer drawn from several documents.

  • ☐ Every source has a letter, a name, an author and a date.
  • ☐ The documents come first and the question comes last.
  • ☐ I asked for the letter after every point.
  • ☐ Every point in the answer has a letter.
  • ☐ I checked at least three points against the original document.
  • ☐ Conflicts are shown with both sides, not settled by Claude.
  • ☐ Anything only one source covers is marked as such.
  • ☐ Anything no source covers says "Not covered", not a guess.
  • ☐ Any conflict that matters has gone to a person who can settle it.

Key takeaways

  • Unlabelled documents blend into one answer, and you lose track of who said what.
  • Label every source, and ask for the label on every claim.
  • Give each label a letter, a name, an author and a date.
  • Put the documents first and the question last.
  • For long or many documents, wrap each one in document tags.
  • Ask Claude to quote the relevant lines before it answers.
  • When sources disagree, ask for both sides and let a person decide.
  • Ask for "Only [letter] covers this" and "Not covered" so gaps stay visible.
  • Fewer, relevant documents beat many unrelated ones.
  • Check the letters against the documents, just as you would check any other answer.

What to read next

Next in the series: Keeping a Working Knowledge Base You Can Trust. It shows how to build a set of reference documents you reuse, record where each fact came from, and spot material that has gone out of date.

Sources

Last verified: 23 October 2026. Product features and limits change. Check the linked documentation rather than this article for current details. The labelling approach, the five question types and the templates are my own framework, not Anthropic features.

Paresh Sharma
Functional Consultant | Dynamics 365 | Power Platform | AI
Paresh's Stack · pareshstack.blogspot.com

Comments

Popular posts from this blog

Claude AI Explained: A Beginner's Introduction

I Built a Dynamics 365 App, and Claude Did the Heavy Lifting

Hallucinations, Bias, Privacy, and Responsible Use of Claude