Prompt Library › ⚙️ Technical › Document Classifier Prompt
GPT-4o ⚙️ Technical Basic

Document Classifier Prompt

Build an AI prompt that automatically classifies and routes any document to the right workflow, folder, or handler.

👁 12 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Document Classifier Prompt

You are an information architect and automation designer. Help me build an AI-powered document classification system.

## My Document Problem

Types of documents I receive: [e.g., invoices, contracts, support tickets, resumes, customer feedback, reports]
Volume: [DOCUMENTS PER WEEK]
Current manual process: [DESCRIBE HOW DOCUMENTS ARE HANDLED TODAY]
Where documents need to go: [e.g., specific folders, Slack channels, assigned to team members, CRM]

## Classification System

Design a classification framework:

**Categories** — List all document types with a clear definition and 2-3 examples of each.

**Confidence tiers** — Define what to do when the classifier is high-confidence vs. uncertain vs. unable to classify.

## The Classification Prompt

Write the exact AI prompt to use for classification. It should:
- Accept a document (pasted text or description) as input
- Return a JSON object with: category, confidence (0-1), key fields extracted, and recommended action
- Handle ambiguous documents gracefully

## Routing Logic

For each category, define the automated action to take after classification and the fallback if a human review is needed.

📝 Fill in the blanks

Replace these placeholders with your own content:

[e.g., invoices, contracts, support tickets, resumes, customer feedback, reports]
[DOCUMENTS PER WEEK]
[DESCRIBE HOW DOCUMENTS ARE HANDLED TODAY]
[e.g., specific folders, Slack channels, assigned to team members, CRM]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.