Back to Documentation
Data Sources5 min read
Uploading Files
Learn how to upload and process files in Craveva AI for data analysis and AI agent creation.
Uploading Files
Overview
Upload CSV, Excel, PDF, and other file types directly to Craveva AI. Once uploaded and processed, your AI agents can analyze the content and answer questions about your data.
Prerequisites
- File ready to upload (CSV, Excel, PDF, Word, PowerPoint, etc.)
- File size under 10MB (recommended)
- Appropriate file format (see supported types below)
Step-by-Step Instructions
1. Navigate to Data Sources
- Go to Data Sources from the main navigation
- Click Connect New Data Source
- Select File Upload from the available options
2. Select Your File
- Click Choose File or drag and drop your file
- Select the file from your computer
- The file name will appear once selected
3. Enter Connection Details
- Connection Name: Give your file a descriptive name (e.g., "Sales Data Q4 2024", "Customer List")
- This name will be used to identify the file in your data sources
4. Upload File
- Click Upload File
- Wait for the upload to complete
- The file will begin processing automatically
5. Wait for Processing
- Processing status will be shown in real-time
- Large files may take several minutes to process
- You can monitor the progress percentage
- Once complete, the status will change to "Connected"
Supported File Types
Spreadsheets
- CSV (.csv) - Comma-separated values
- Excel (.xlsx, .xls) - Microsoft Excel files
- Parquet (.parquet) - Columnar storage format
Documents
- PDF (.pdf) - Portable Document Format
- Word (.docx, .doc) - Microsoft Word documents
- PowerPoint (.pptx, .ppt) - Microsoft PowerPoint presentations
- Markdown (.md, .markdown) - Markdown text files
- Text (.txt) - Plain text files
- HTML (.html, .htm) - HTML documents
Data Files
- JSON (.json) - JavaScript Object Notation
- DuckDB (.duckdb) - DuckDB database files
File Size Limits
- Maximum file size: 10MB
- Recommended size: Under 5MB for faster processing
- Large files may take longer to process
Processing Status
Pending
- File is queued for processing
- Wait for processing to begin
Processing
- File is being analyzed and chunked
- Progress percentage will be shown
- Do not close the page during processing
Connected
- File processing is complete
- File is ready to use in Agent Builder
- You can now create agents using this file
Error
- Processing failed
- Check the error message for details
- Try re-uploading the file
Best Practices
File Preparation
- Ensure your file is well-formatted
- Remove unnecessary columns or rows
- Use clear headers for spreadsheets
- For PDFs, ensure text is selectable (not scanned images)
File Naming
- Use descriptive names (e.g., "Sales_Data_2024_Q4.csv")
- Avoid special characters in file names
- Keep names concise but clear
Data Quality
- Clean your data before uploading
- Remove duplicate rows
- Ensure consistent data formats
- Check for missing values
Troubleshooting
Upload Failed
- Check your internet connection
- Verify file size is under 10MB
- Try a different browser
- Check file permissions
Processing Stuck
- Large files may take 5-10 minutes
- Wait for processing to complete
- If stuck for more than 15 minutes, try re-uploading
Processing Error
- Check file format is supported
- Verify file isn't corrupted
- Try opening the file in its native application
- For PDFs, ensure text is extractable
File Not Recognized
- Verify file extension matches the format
- Check file isn't corrupted
- Try converting to a different format
Next Steps
- Go to Agent Builder to create an AI agent using this file
- Wait for processing to complete before creating agents
- Use the file in multiple agents if needed
- Upload additional files as needed
Related Guides
Connecting Qashier POS to Craveva
Step-by-step guide to integrate your Qashier POS system with Craveva AI for real-time sales data and...
Connecting MongoDB Database
Complete guide to connect your MongoDB database, analyze collections, and create data analysis agent...
Getting Started with Agent Builder
Your first AI agent in 5 minutes. Learn the basics of creating, configuring, and deploying agents....