Skip to main content
The Elementum Intelligence File Reader uses AI to read and analyze text-based, image, and PDF documents. Configure custom system prompts to extract specific information and leverage multimodal AI Services like OpenAI and Google Gemini to power intelligent document processing in automation workflows.

Key Features

  • AI-Powered Analysis — Uses advanced AI models to understand document content and extract structured information.
  • Multimodal Support — Process text documents, images, and PDFs with the same AI-powered approach.
  • Custom System Prompts — Configure specific instructions to extract exactly the information you need.
  • Testing Interface — Test your system prompts and field extraction before deploying in automations.

AI Provider Support

The Elementum Intelligence File Reader works with multimodal AI Services:

Supported AI Providers

Best for: Advanced reasoning and complex document analysisSupported Models:
  • o3 - Maximum intelligence for complex document analysis
  • o4-mini - Fast processing for routine document tasks
  • GPT-4 Omni - Balanced performance for general document processing
Capabilities: Text analysis, image recognition, PDF processing, complex reasoning
Best for: Cost-effective multimodal document processingSupported Models:
  • Gemini 2.5 Pro - Advanced document analysis and large responses
  • Gemini 2.5 - General-purpose document processing
  • Gemini 1.5 Flash - Speed-optimized document analysis
Capabilities: Text analysis, image recognition, PDF processing, multimodal understanding
To use Elementum Intelligence File Reader, you must first configure an AI Provider and create an AI Service. See AI Services for setup instructions.

Supported Document Types

The Elementum Intelligence File Reader can process various document formats:
  • PDF - Text-based and scanned PDFs
  • DOC/DOCX - Microsoft Word documents
  • TXT - Plain text files
  • RTF - Rich text format
  • HTML - Web pages and HTML documents
  • JPG/JPEG - Compressed images with text
  • PNG - Portable network graphics
  • TIFF - Tagged image format
  • BMP - Bitmap images
  • GIF - Graphics interchange format
  • Scanned documents - AI can read text from scanned pages
  • Multi-page PDFs - Process entire documents or specific pages
  • Mixed content - Documents with text, images, and tables
  • Handwritten text - Basic handwriting recognition capabilities

Creating an Elementum Intelligence File Reader

1

Prerequisites

Required Setup:
  • AI Provider configured (OpenAI or Gemini)
  • AI Service created for document processing
  • Access to test documents for validation
2

Navigate to File Readers

In your application, go to File Readers section
3

Create New Reader

Click + File Reader and select Elementum Intelligence from the document type options
4

Configure Basic Settings

Name: Enter a descriptive name (e.g., “Contract Analysis AI”)Description: Optional description for your teamAI Service: Select your configured AI Service
5

Configure System Prompt

Write a custom system prompt that instructs the AI on what information to extractExample: “Extract the contract parties, effective date, termination date, and key obligations from this document.”
6

Define Output Fields

Configure the fields you want the AI to populate based on your system promptExample Fields: contract_parties, effective_date, termination_date, key_obligations
7

Test with Sample Documents

Upload test documents to validate that the AI extracts the correct information

System Prompt Configuration

Writing Effective System Prompts

The system prompt instructs the AI on how to analyze documents and what information to extract:
Simple Extraction:
Extract the following information from this document:
- Customer name
- Order date
- Total amount
- Product descriptions

Return the information in the specified fields.
Best for: Simple, straightforward document analysis

System Prompt Best Practices

  • Be specific — Clearly define what information to extract and in what format.
  • Provide context — Explain the document type and purpose to help the AI understand context.
  • Define formats — Specify date formats, number formats, and text formatting requirements.
  • Handle edge cases — Include instructions for missing information or unusual formats.

Field Configuration

Configure output fields that match your system prompt requirements:

Field Types and Configuration

Text Fields:
  • Text - General text content
  • Long Text - Extended text content
  • Email - Email addresses with validation
  • Phone - Phone numbers with formatting
  • URL - Website addresses
Date and Time:
  • Date - Date values (YYYY-MM-DD)
  • DateTime - Date and time values
  • Time - Time values only
Numeric Fields:
  • Number - Integer values
  • Decimal - Floating point numbers
  • Currency - Monetary values
  • Percentage - Percentage values
Structured Data:
  • JSON - Complex structured data
  • Array - Multiple values in a single field
  • Boolean - True/false values
  • Enum - Predefined options
Validation:
  • Required - Field must be populated
  • Optional - Field can be empty
  • Default Value - Value to use if not found
  • Format Validation - Ensure data meets format requirements

Testing and Validation

Always test your Elementum Intelligence File Reader with representative documents before using in production automations.
Upload test documents similar to production, review extracted data for accuracy and format, test edge cases (missing info, unusual formats, poor quality), and refine the system prompt based on results. Test across different layouts, quality levels, and file formats to validate consistent extraction.

Using in Automations

Integration with Automation Workflows

The Elementum Intelligence File Reader integrates with automation workflows for sophisticated document processing:
Document Upload → Elementum Intelligence Reader → AI Classification → Create Record → Start Process

Common Automation Patterns

Trigger: Email Received (contract attachment) File Reader: Extract contract terms, parties, dates Actions:
  • AI Classification to determine contract type
  • Create Record with extracted contract data
  • Start Approval Process for contract review
  • Send Email Notification to legal team
Trigger: Attachment Added (invoice PDF) File Reader: Extract vendor, amounts, line items Actions:
  • Search Records to find existing vendor
  • Run Calculation to validate amounts
  • Update Record Fields with invoice data
  • Start Approval Process based on amount
Trigger: Document Upload (application form) File Reader: Extract applicant information Actions:
  • Transform Data to standardize formats
  • AI Classification to assess application quality
  • Create Record for applicant
  • Send Email Notification with next steps

Best Practices

  • Prompt engineering — Use clear, specific language; include formatting instructions and examples of desired output; specify handling of edge cases.
  • Document quality — Use high-quality documents when possible to improve AI accuracy.
  • Validation testing — Test extensively with real documents before production deployment.
  • Error handling — Implement automation logic to handle extraction errors gracefully.
  • Avoid — Overly complex or ambiguous prompts, missing format specifications, unclear field definitions, and insufficient testing.

Advanced Features

  • Multi-document processing — Configure automations to handle multiple uploads; use AI to understand relationships and validate consistency across documents.
  • Dynamic field extraction — Use AI Classification to detect document type, then route to the appropriate reader or prompt for optimized extraction.
  • AI search integration — Use extracted data for indexing and search; build searchable knowledge bases from document insights.

Error Handling and Troubleshooting

Common Issues

Symptoms: AI extracts incorrect or incomplete informationCauses:
  • Unclear system prompt
  • Poor document quality
  • Inappropriate AI model selection
  • Insufficient context in prompt
Solutions:
  • Refine system prompt with more specific instructions
  • Improve document quality before processing
  • Try different AI models for better results
  • Add more context and examples to prompts
Symptoms: File Reader fails to process documentsCauses:
  • AI service unavailable
  • Document format not supported
  • File size too large
  • Network connectivity issues
Solutions:
  • Verify AI service configuration
  • Check supported document formats
  • Optimize document size
  • Implement retry logic in automations
Symptoms: Same document types produce different extraction resultsCauses:
  • Ambiguous system prompt
  • Variable document quality
  • Model temperature settings
  • Insufficient training examples
Solutions:
  • Make system prompts more specific
  • Standardize document formats
  • Adjust AI model parameters
  • Provide more examples in prompts

Validation Strategies

Implement validation in automations: required-field checks, format validation (dates, numbers, emails), range checks for numeric fields, and cross-field validation for consistency.

Performance Optimization

  • Processing — Use appropriate AI models for task complexity; optimize document size and format; use faster models for simple extraction.
  • Cost — Choose cost-effective models for routine tasks; optimize prompts to reduce token usage; use batch processing and monitor usage.

File Reader Comparison

Choose Elementum Intelligence when:
  • Processing complex, unstructured documents
  • You need intelligent content understanding
  • Working with various document formats
  • Requiring custom field extraction logic
  • Handling documents with mixed content types

Next Steps

AI Services

Configure AI providers and services to power your document processing

Automation System

Learn how to integrate AI document processing with automation workflows
https://mintcdn.com/elementum/zEtDA8cEluOX9_Yd/images/openai-logo.svg?fit=max&auto=format&n=zEtDA8cEluOX9_Yd&q=85&s=b86775beefbc0aabbf223f8226c84519

OpenAI Setup

Set up OpenAI for advanced document analysis capabilities

Gemini Setup

Configure Google Gemini for cost-effective multimodal document processing

The Elementum Intelligence File Reader brings the power of AI to document processing, enabling sophisticated extraction and analysis of complex documents. Use it when you need intelligent understanding of document content beyond simple text extraction.