RecordIQ
Technical Architecture
Built with enterprise best practices, the architecture ensures scalability, maintainability, and security while providing flexibility for future enhancements.
System Architecture Overview
Presentation Layer
Lightning Web Component (vpcRecordIQ)
- Reactive data binding with @wire adapters
- Dynamic field detection using getObjectInfo
- Event-driven architecture
- Salesforce Lightning Design System
Controller Layer
VPC_RecordIQController (Apex)
- @AuraEnabled methods for LWC communication
- Dynamic SOQL query builder
- Related data aggregation
- Provider instantiation via reflection
Integration Layer
Provider Interface Pattern
- VPC_LLMProviderInterface
- VPC_ClaudeAPIIntegration
- VPC_OpenRouterIntegration
- Extensible for new providers
Configuration Layer
Custom Metadata Types
- LLM_Provider_Config__mdt
- LLM_Object_Prompt__mdt
- LLM_Related_Object_Config__mdt
- Runtime configuration without deployment
Security Layer
Enterprise Security Features
- Named Credentials for API keys
- Field-level security respect
- CRUD/FLS enforcement
- Governor limits compliance
External Services
AI Provider APIs
- Anthropic Claude API
- OpenRouter unified endpoint
- RESTful communication
- JSON request/response handling

Why RecordIQ Beats Agentforce for Intelligent Record Analysis
Discover why Salesforce Agentforce's one-size-fits-all approach falls short and how RecordIQ delivers precise, contextual AI analysis direc...