Why Document Support Matters
File upload capabilities eliminate friction and enable smarter assistance: Eliminate Manual Data Entry - Customers share invoices, receipts, and specifications without manually entering details, reducing errors and saving time. Context-Aware Support - The AI can provide assistance based on actual document content rather than requiring customers to describe or transcribe information. Streamlined Workflows - Documents shared within conversation threads eliminate separate email submissions or portal uploads. Verification and Proof - Files serve as proof for refunds, warranty claims, identity verification, and compliance processes. Technical Troubleshooting - Customers can attach error messages, system logs, and technical documentation for targeted problem-solving.This feature targets end customers sharing personal documents during support conversations, not businesses uploading knowledge bases to the chatbot system.
Supported File Types
botBrains accepts multiple document formats: PDFs (.pdf)- Invoices and receipts
- Product manuals and specifications
- Legal documents and contracts
- Forms and applications
- Word documents (.docx)
- PowerPoint presentations (.pptx)
- OpenDocument text (.odt)
- OpenDocument presentations (.odp)
- Plain text (.txt)
- Rich text format (.rtf)
- Markdown (.md)
- Spreadsheets (.xlsx, .csv)
- JSON data (.json)
- XML files (.xml)
How Document Upload Works
- Customer uploads - User clicks attachment icon and selects file from device
- Security scanning - File is scanned for malware and viruses
- Content extraction - AI reads and extracts relevant information from the document
- Context processing - AI understands document content and conversation context
- Personalized response - AI provides assistance based on actual file contents
Use Cases
Customer Support
Order and Purchase Verification:Technical Support
Error Messages and Logs:Financial and Administrative
Receipt Processing:Document Verification
Identity Verification:- Driver’s license uploads for account verification
- Proof of address documents
- Student ID for discount verification
- Insurance cards for claims
- Receipts for returns and exchanges
- Invoices for warranty claims
- Order confirmations for shipping issues
- Payment confirmations for disputes
Configuration
Enable document upload for your deployment:- Go to Deploy → [Your Deployment] → Settings
- Enable Document Upload
- Configure accepted file types (or use all supported types)
- Set maximum file size limits
- Review security settings
- Deploy to production
Guidance Considerations
Train your AI to handle document-based interactions:Best Practices
Clear Upload Instructions
Guide users on what documents to share:Document Quality Guidance
Help users provide usable documents:Privacy and Security Communication
Be transparent about document handling:Fallback Handling
Prepare for unreadable documents:Technical Considerations
Security and Safety
Malware Protection:- All uploads scanned for viruses and malware before processing
- Infected files blocked and not processed
- User notified if file cannot be processed
- Currently implementing content moderation guardrails
- Protection against inappropriate content
- Team protection from harmful material
- Reporting mechanisms for policy violations
Privacy and Data Protection
Data Handling:- Documents processed for current conversation context
- Retention policies configurable per organization
- GDPR compliance for personal data
- Encryption in transit and at rest
- Customers can see which documents were shared
- Option to request document deletion
- Clear privacy notices in deployment
File Size and Limits
Recommended Limits:- Maximum file size: 10MB (configurable)
- Files larger than limit rejected with clear error
- Multiple files can be uploaded per conversation
- Pagination for multi-page documents
- Processing time varies by file size and type
- Typical processing: 2-5 seconds for standard documents
- Large or complex files may take longer
- Progress indicators shown during upload
Format Compatibility
Text Extraction:- PDFs with selectable text work best
- Scanned PDFs (images) have lower accuracy
- Office formats (.docx, .xlsx) fully supported
- Plain text files processed instantly
- Tables and structured data supported
- Charts and graphs in documents (limited understanding)
- Multi-column layouts handled
- Embedded images processed where relevant
Frequently Asked Questions
File upload fails
File upload fails
Possible causes:
- File size exceeds limit
- Unsupported file type
- Internet connection interrupted
- Browser compatibility issue
- File is corrupted
- Check file size (must be under limit)
- Verify file type is supported
- Try compressing large PDFs
- Check internet connection stability
- Try different browser
- Re-save document and try again
AI cannot read document content
AI cannot read document content
Possible causes:
- Scanned PDF (image-based, not text)
- Corrupted file
- Password-protected document
- Unsupported language
- Poor image quality (for scanned documents)
- Use OCR to convert scanned PDFs to text
- Remove password protection
- Re-save document in supported format
- Provide key information in text message
- Upload clearer scan or photo
Sensitive information in response
Sensitive information in response
If AI unnecessarily exposes sensitive data:Solutions:
- Update guidance to handle sensitive information carefully
- Train AI to reference documents without repeating sensitive details
- Review conversation and provide feedback
- Contact support if issue persists
Wrong information extracted
Wrong information extracted
Possible causes:
- Complex document layout
- Poor quality scan
- Ambiguous content
- AI misinterpretation
- Provide clarifying information in text
- Upload clearer version of document
- Point out specific sections AI should focus on
- Use simpler document format (e.g., .txt instead of complex .pdf)
Example Scenarios
Return Processing
Customer scenario: Needs to return defective product Action: Customer uploads purchase receipt (PDF) AI reads:- Purchase date: March 15, 2025
- Item: Wireless Headphones Model XYZ
- Price: $79.99
- Store: Downtown Location
Technical Troubleshooting
Customer scenario: Application configuration issue Action: Customer uploads config.json file AI reads:Warranty Claim
Customer scenario: Claiming warranty on broken appliance Action: Customer uploads original invoice and photos of defect AI reads invoice:- Purchase date: January 10, 2025
- Product: Coffee Maker Pro 3000
- Warranty: 2 years
Next Steps
Now that you understand document support:- Vision - Enable image understanding for visual documents
- Audio - Allow customers to describe issues with voice messages
- Data Export - Export conversations including uploaded documents
- Deploy - Configure document upload in your deployments