Overview
Magic Import uses Google’s Gemini 2.5 Flash model to automatically extract actionable tasks from your documents. Upload a PDF or CSV file, and Arre will analyze the content and generate a list of tasks ready to import.Magic Import is powered by Gemini 2.5 Flash, providing fast and accurate task extraction from your documents.
Supported File Types
Magic Import currently supports:- PDF files (.pdf) - Meeting notes, reports, articles, presentations
- CSV files (.csv) - Spreadsheets, data exports, lists
- Text files (.txt) - Plain text documents
TaskEditorModal.tsx:297, functions/index.js:26-44
How It Works
When you upload a file, Arre:- Extracts text content from the document
- Sends the content to Gemini 2.5 with specialized prompts
- Receives a list of actionable tasks
- Displays them for review before importing
- Extract clear, actionable task titles
- Focus on verifiable actions (not vague ideas)
- Prioritize the most important tasks if the document is large
- Limit results to the top 10 tasks for manageability
functions/index.js:72-83
Using Magic Import
Open the Task Editor
Click the New Task button or press
Cmd+K. The modal opens on the Magic Import tab by default.Upload Your Document
Click the drop zone or drag and drop a PDF or CSV file. Files up to 25MB are supported.Reference:
TaskEditorModal.tsx:285-305Wait for Analysis
Arre displays an animated scanner while processing your document. This typically takes 3-10 seconds depending on file size.Reference:
TaskEditorModal.tsx:325-331Review Generated Tasks
The AI returns a list of tasks extracted from your document. Each task appears with a checkbox preview.Reference:
TaskEditorModal.tsx:333-342Custom Instructions
You can provide custom instructions to guide the AI’s extraction. For example:- “Only extract high-priority action items”
- “Focus on tasks for the engineering team”
- “Extract deliverables with deadlines”
functions/index.js:61, 82
Recent Magic Imports
The Magic Import interface shows your recent imports for easy reference:- Q4_Roadmap_Final.pdf - 2 hours ago
- Inventory_List_Oct.csv - Yesterday
TaskEditorModal.tsx:306-323
Recent imports are currently static examples in the UI. They will be connected to your actual import history in a future release.
How Documents Are Processed
- PDF Files
- CSV Files
- Text Files
PDF files are processed using the
pdf-parse library:- File is converted from base64 to a buffer
- Text content is extracted from all pages
- Text is sent to Gemini for task extraction
functions/index.js:29-32AI Prompt Engineering
Arre uses carefully crafted prompts to ensure high-quality task extraction:functions/index.js:72-83
Error Handling
If Magic Import encounters an error:- File too large: Reduce file size below 25MB
- Unsupported format: Convert to PDF, CSV, or TXT
- AI processing failed: Try again or upload a different file
- Authentication required: Make sure you’re logged in
TaskEditorModal.tsx:94-96, functions/index.js:108-111
Privacy & Security
Authentication Required
Only authenticated users can use Magic Import. Files are processed securely through Firebase Cloud Functions.
No Permanent Storage
Uploaded files are processed in memory and immediately discarded. Arre doesn’t store your documents on servers.
Gemini API
Document content is sent to Google’s Gemini API for processing. See Google’s privacy policy for details.
Context Window Limit
Only the first 30,000 characters are sent to the AI to stay within API limits and ensure fast processing.
functions/index.js:57-59, 91
Tips for Best Results
Prepare your documents
Prepare your documents
Clean, well-formatted documents produce better results. If your PDF is scanned images, use OCR first to convert it to text.
Be specific with instructions
Be specific with instructions
When custom instructions are available, guide the AI with specific requests like “Extract only tasks with explicit deadlines” or “Focus on action items from the executive summary.”
Review before importing
Review before importing
Always review the generated tasks before clicking Import All. The AI is smart but not perfect - you might want to edit or remove some suggestions.
Break large documents into sections
Break large documents into sections
If you have a 100-page report, consider splitting it into smaller PDFs by chapter. This gives you more control over which tasks are extracted.
Use Cases
- Meeting notes: Extract action items from meeting transcripts
- Project plans: Convert roadmap documents into task lists
- Email exports: Process saved emails for follow-up tasks
- Research papers: Pull out key points to explore further
- Spreadsheets: Convert data rows into individual tasks
Related Features
Task Management
Learn how to organize imported tasks
Projects
Assign imported tasks to projects