AI integration for OpenText RightFax focuses on the inbound fax queue and the document processing workflow. The primary integration points are the RightFax FaxUtil API or document capture hot folders, where inbound TIFF or PDF files land. At this stage, an AI service can be triggered via webhook or a watched directory to perform OCR (Optical Character Recognition) and subsequent analysis. The AI layer acts as a pre-processing engine, analyzing the document content to determine its type (e.g., prescription, invoice, claim form, patient referral), extracting key data fields (patient name, PO number, account ID), and assigning metadata before the document proceeds to its next destination in the workflow.
Integration
AI Integration for OpenText RightFax

Where AI Fits into the RightFax Workflow
A practical guide to integrating AI into the inbound fax processing pipeline to automate classification, data extraction, and routing.
Implementation typically involves a lightweight microservice or serverless function that receives the fax image, calls a vision/LLM API (like Azure Document Intelligence or Google Document AI) for OCR and classification, and then uses an LLM for entity extraction and intent classification. The enriched data—document type, extracted fields, confidence scores—is then injected back into the RightFax workflow. This can be done by updating the fax's index fields (UserData1-10) via the API or by moving the file to a designated routing folder based on its classification. For example, a fax identified as a medical prescription can be automatically routed to a pharmacy queue folder, while an insurance claim form is sent to a claims processing folder, with its data pre-populated into a downstream system.
Rollout should be phased, starting with a single, high-volume document type to validate accuracy and workflow logic. Governance is critical: a human-in-the-loop review queue should be established for low-confidence classifications or exceptions. Audit trails must log the AI's classification decision, extracted data, and the final routing action for compliance. This architecture doesn't replace RightFax; it augments its routing logic with cognitive understanding, turning a manual triage process into an automated, intelligent intake system. For related architectural patterns, see our guide on Intelligent Document Processing in ECM Platforms.
Key Integration Points in the RightFax Architecture
Automating Document Triage
Inbound faxes arrive as TIFF or PDF attachments via RightFax's Universal Transport or Email Transport. This is the primary trigger for AI integration. By connecting an AI service via RightFax's API or monitoring the inbound fax directory, you can immediately process each document.
Key integration actions include:
- OCR & Text Extraction: Convert the fax image to machine-readable text for analysis.
- Document Classification: Use an LLM to determine the fax type (e.g.,
medical referral,purchase order,insurance claim). - Intent & Urgency Detection: Identify if the fax requires immediate attention or is routine.
Based on this analysis, the system can automatically update the fax's metadata and route it to the correct RightFax mailbox, workflow, or external system via the RightFax COM API or RESTful services, eliminating manual sorting.
High-Value AI Use Cases for RightFax
Transform inbound faxes from static images into structured, actionable data. Integrate AI directly into your RightFax server or cloud instance to automate classification, extraction, and routing, turning a legacy communication channel into a modern digital intake engine.
Automated Invoice Processing
Apply OCR and LLMs to inbound vendor invoices received via fax. Extract line items, PO numbers, totals, and due dates with validation against your ERP. Automatically route validated invoices to AP workflows in systems like SAP or NetSuite, and flag exceptions for review.
Patient Intake & Record Routing
Process faxed patient forms, referrals, and lab results in healthcare. Classify document type (e.g., HIPAA Authorization, H&P), extract patient MRN/name/DOB, and route the digitized record to the correct folder in your EHR (Epic, Cerner) or document management system, ensuring timely filing.
Legal & Compliance Document Intake
Handle faxed legal correspondence, subpoenas, or regulatory filings. Use AI to identify sender, matter number, and critical dates. Classify urgency and priority, then automatically create a task or matter in your practice management system (Clio, NetDocuments) and notify the responsible attorney or clerk.
Insurance Claim FNOL Triage
Accelerate First Notice of Loss (FNOL) in P&C or healthcare. When a claim form or medical report arrives via fax, AI extracts policy/claim numbers, incident details, and claimant info. It assesses completeness, assigns a preliminary severity score, and creates a claim file in Guidewire or similar, routing it to the appropriate adjuster's queue.
Intelligent Exception Handling & Human-in-the-Loop
For faxes where AI confidence is low (poor quality, complex handwriting), the system automatically routes the image and extracted data to a human review queue within a platform like ServiceNow or a custom dashboard. Reviewers can correct fields with a single click, training the model and ensuring 100% accuracy for critical processes.
API-Driven Workflow Orchestration
Architect a serverless integration where RightFax triggers a webhook on receipt. The payload (fax TIFF/PDF) is sent to an AI processing pipeline (Azure AI Document Intelligence, AWS Textract + LLM). Results are returned via API to update RightFax metadata, post data to a database, and kick off a downstream workflow in Power Automate or a custom app.
Example AI-Powered Fax Workflows
These concrete workflows illustrate how AI can be injected into RightFax's inbound and outbound fax lifecycle, transforming static documents into structured, actionable data that triggers downstream business processes.
Trigger: A new inbound fax arrives in a designated RightFax mailbox.
AI Action:
- The fax image is sent via RightFax API to an AI processing service.
- An OCR + LLM model performs multi-step analysis:
- Document Classification: Identifies the document type (e.g.,
medical claim form,purchase order,patient referral,legal notice). - Urgency & Priority Scoring: Analyzes content for keywords (
URGENT,STAT,final notice) and sender information to assign a priority flag. - Entity Extraction: Pulls key data like patient ID, PO number, account number, or case reference.
- Document Classification: Identifies the document type (e.g.,
System Update:
- The processed fax is saved back to RightFax with enriched metadata (document type, priority, extracted fields).
- Based on classification and rules, the fax is automatically routed:
- A medical claim is routed to a specific AP clerk's RightFax inbox and a task is created in the ERP.
- A high-priority legal notice is emailed to the legal department's shared mailbox with the AI summary in the body.
- A standard purchase order proceeds to a generic processing queue.
Human Review Point: Faxes with low-confidence classification or missing critical data are flagged for manual review in a dedicated RightFax "QA" mailbox.
Implementation Architecture: Data Flow and System Design
A practical blueprint for connecting AI to inbound fax workflows in OpenText RightFax.
The integration architecture is event-driven, designed to intercept inbound faxes before they become static PDFs in a user's inbox. The core flow begins when a fax is successfully received by the RightFax server. Using RightFax's FaxUtil API or by monitoring the \Fax\Data\Receive directory, a lightweight connector service captures the fax image (typically a TIFF or PDF). This service immediately posts the document to a secure processing queue (e.g., Azure Service Bus, AWS SQS). This decouples the fax reception—which must be highly reliable—from the subsequent AI processing steps, ensuring fax system stability.
A dedicated AI processing service consumes documents from the queue. Its first step is to run the fax image through a high-accuracy OCR engine (like Azure AI Document Intelligence, Google Document AI, or AWS Textract) to extract machine-readable text and layout information. This OCR'd text, along with the original image, is then passed to a configured LLM (e.g., GPT-4, Claude 3) via a secure API call. The LLM executes a pre-defined prompt chain to perform the core business logic: document classification (e.g., 'Invoice', 'Prescription', 'Insurance Claim'), entity extraction (dates, amounts, patient IDs, PO numbers), and sentiment or urgency scoring. The results are structured into a JSON payload containing the extracted data, confidence scores, and the AI's classification decision.
This enriched data payload is then injected back into the business workflow. Using the RightFax COM API or Enterprise Fax Manager, the system can automatically: 1) Apply metadata to the fax within RightFax, populating custom fields with extracted values for search and reporting; 2) Trigger a RightFax workflow to route the fax to a specific user, department, or network folder based on its classified type; or 3) Post the data to a downstream system via a webhook—such as an ERP (SAP, NetSuite) for invoice processing, an EHR for patient intake, or a case management system. All AI decisions and extracted data are logged to a separate audit database with the original fax ID, enabling human review, model performance tracking, and compliance. The final, routed fax and its AI-generated metadata become a searchable, actionable record within the RightFax environment or connected systems, turning a passive document into a structured workflow trigger.
Code and Payload Examples
Event-Driven OCR & Classification
When a fax arrives in RightFax, an event triggers your AI service. The first step is to extract text via OCR (if not already done) and classify the document type.
Typical Workflow:
- RightFax generates a
FaxReceivedevent. - A webhook posts the fax image/TIFF file to your processing endpoint.
- Your service runs OCR (using Azure AI Vision, Google Document AI, or AWS Textract).
- The extracted text is sent to an LLM for classification (e.g.,
invoice,prescription,legal_demand,patient_intake). - The classification and raw text are returned to orchestrate the next step.
python# Example: Webhook handler for inbound fax from fastapi import FastAPI, HTTPException import httpx app = FastAPI() @app.post("/webhook/rightfax/fax-received") async def process_fax(payload: dict): fax_id = payload.get('faxId') image_url = payload.get('contentUrl') # 1. Fetch the fax image from RightFax async with httpx.AsyncClient() as client: image_response = await client.get(image_url, auth=(RF_USER, RF_PASS)) # 2. Perform OCR ocr_result = await call_ocr_service(image_response.content) # 3. Classify document via LLM doc_class = await classify_document(ocr_result.text) return { "faxId": fax_id, "documentType": doc_class, "extractedText": ocr_result.text[:500] # First 500 chars for logging }
Realistic Time Savings and Business Impact
How AI integration transforms manual fax handling in OpenText RightFax into an automated, intelligent intake system.
| Process Step | Before AI | After AI | Key Impact |
|---|---|---|---|
Document Classification & Routing | Manual review and sorting (5-10 min per fax) | Automatic classification and routing (< 30 sec) | Staff focus shifts from sorting to exception handling |
Data Extraction (e.g., PO #, Invoice #) | Manual keying from fax image (3-5 min) | AI-assisted extraction with human verification (1 min) | Reduces data entry errors and accelerates downstream workflows |
Exception Handling & Triage | All faxes treated equally; exceptions found late | Priority routing for incomplete/flagged documents | Critical issues addressed same-day instead of next-day |
Metadata Application & Indexing | Manual entry into RightFax or linked ECM | Automated population from extracted data | Ensures consistent searchability and records compliance |
Initial Implementation & Rollout | Custom scripting per document type (weeks) | Pilot on 1-2 high-volume fax types (2-4 weeks) | Fast time-to-value with controlled scope and learning |
Ongoing Processing Volume | Linear scaling with staff hours | AI handles volume spikes; staff manage exceptions | Enables growth without proportional headcount increase |
Compliance & Audit Readiness | Manual checks for PII/PHI in fax content | Automated redaction and policy flagging | Proactive risk reduction and streamlined audit evidence gathering |
Governance, Security, and Phased Rollout
Integrating AI into a critical system like RightFax requires a deliberate approach to security, data governance, and user adoption.
A production AI integration for RightFax must be architected with zero trust principles and data sovereignty at its core. Inbound faxes often contain PII, PHI, or financial data, requiring processing within your designated environment. The recommended pattern uses a secure, event-driven pipeline: RightFax generates an event (e.g., via the RightFax Enterprise Fax Server API or by dropping a TIFF/PDF into a monitored network folder), which triggers a serverless function in your VPC. This function sends only the document image to a private, compliant AI service (like Azure OpenAI with a VNet) for OCR and analysis. All extracted data and classification tags are written back to RightFax via its API, populating custom metadata fields or routing rules, while the original fax and AI outputs are logged to a secure audit trail. This keeps sensitive document content within your controlled infrastructure at all times.
Governance is enforced through role-based access control (RBAC) on the AI system's outputs and human-in-the-loop approvals for high-stakes decisions. For example, an AI model might classify a fax as a "Patient Lab Result" with 95% confidence and extract critical values, but a configured workflow can still require a nurse's review before the fax is routed to the patient's chart in the EHR. Similarly, extracted data from an insurance claim form can be presented to a claims adjuster in a copilot interface within RightFax or a connected case management system for verification before submission. All AI actions—classification, extraction, routing suggestions—are logged with a user or system ID, creating a transparent chain of custody for compliance audits.
A phased rollout mitigates risk and builds trust. Start with a non-critical, high-volume workflow, such as automatically classifying and routing vendor marketing faxes to a generic inbox. This validates the integration's stability and accuracy in a low-risk scenario. Phase two might target a specific department, like Accounts Payable, to extract invoice numbers, dates, and amounts from supplier faxes for pre-population into your ERP, keeping all human reviewers in the loop. The final phase expands to regulated areas like Healthcare or Financial Services, implementing strict confidence thresholds and mandatory review queues for documents containing sensitive data. This iterative approach allows for tuning of AI models, refinement of prompts, and adaptation of user workflows, ensuring the integration delivers reliable, governed value without disrupting critical business operations.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Practical questions and workflow walkthroughs for integrating AI with OpenText RightFax to automate inbound fax processing.
This workflow automates the extraction and validation of invoice data from a received fax for ERP posting.
-
Trigger: A new inbound fax PDF is delivered to a monitored RightFax mailbox or folder.
-
Context Pulled: The integration service retrieves the fax PDF via the RightFax Enterprise Fax Server (EFS) API or by monitoring a network share.
-
AI Action: The document is processed through a pipeline:
- OCR & Classification: An AI model first classifies the document as an
Invoice(vs. a purchase order or medical form). - Data Extraction: A specialized LLM or vision model extracts key fields: Vendor Name, Invoice Number, Invoice Date, Line Items, and Total Amount.
- Validation: The extracted vendor name and invoice number are checked against the ERP (e.g., SAP, Oracle) via an API to find the corresponding Purchase Order.
- OCR & Classification: An AI model first classifies the document as an
-
System Update: A validated invoice record is created in the ERP's accounts payable module, with the extracted data populated and the original fax PDF attached as a source document. If the PO match fails, the task is routed to an AP clerk's queue with the AI's extraction and validation notes.
-
Human Review Point: All invoices over a configurable monetary threshold, or those where confidence scores for key fields are below a set level, are flagged for mandatory human review before ERP posting.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us