PolyUtilities v3.7.0 for Perfex CRM: OmniChat AI Hub & Executive Master Dashboard
PolyUtilities for Perfex CRM v3.7.0 introduces a complete pure-PHP Executive Master Dashboard and the isolated Poly OmniChat & AI Hub subsystem, unifying real-time customer messaging, multi-provider AI copilots, 9 external channel gateways, and 10-layer file defense directly inside Perfex CRM 3.2.0+ with zero Node.js server requirements. Developed as an independent module by HeadRandom for Perfex CRM, release 3.7.0 ships with 1,646 synchronized localization keys across 16 languages, verified by 789 automated PHP assertions and 32/32 live multi-session concurrent stress checks.
Executive Master Dashboard Architecture (4 Command Tabs)
Accessible directly at admin/poly_utilities/dashboard, the Executive Master Dashboard replaces scattered module status pages with a single real-time command center powered by indexed MySQL aggregations and Chart.js v2/v3 safe rendering. Administrators can switch across 7-day, 30-day, 90-day, and 365-day lookback windows to recalculate every KPI card, daily spend chart, message trend, and accounting CSV export instantly.

| Dashboard Tab | Primary Telemetry & Controls | Operational Value for CRM Admins |
|---|---|---|
| Executive Overview | Active PolyUtilities count, open/pending/resolved OmniChat threads, daily AI spend vs USD budget cap, healthy AI key count, CrossTag mentions, and dual trend charts | Spot support backlogs, budget spikes, and inactive subsystems in under 10s without running manual SQL queries |
| AI Costs & Estimator | Daily budget progress bar, 30-day run-rate forecast, Starter / Growth / Scale presets, Load Real Chat Data button, per-1M-token pricing catalog, and Export AI Cost CSV | Predict monthly and annual AI bills before scaling Auto-Reply or Voice STT across customer channels |
| OmniChat & Channels | Inbound vs outbound message volume line chart, channel distribution doughnut chart (Staff DM, Client Portal, Groups, 9 External Gateways), and active gateway inventory | Measure which channels drive the highest ticket deflection and agent workload |
| Modules & Ecosystem | Live status grid across all 12 PolyUtilities pillars (OmniChat, CrossTag, Custom Menus, Quick Access, AIO Support 2.0, Widgets, Banners, JS/CSS, Themes, White-Label, Multiple Companies, Anti-Spam) | Audit active modules and jump directly to each configuration screen in 1 click |
30-Day Run-Rate Forecasting, Demand Estimator & CSV Export
Managing AI API expenditure across support teams requires transparent unit economics rather than end-of-month billing surprises. Inside the AI Costs & Estimator tab, PolyUtilities calculates your live 30-day run-rate projection directly from tblomnichat_ai_usage_logs and breaks spend down by Model, Action Type (including draft_reply, voice_transcribe, vision_analysis, and kb_answer), and API Key Label.

The interactive Demand Cost Estimator lets you simulate daily, monthly, and annual spend across OpenAI (gpt-4o-mini at $0.15/$0.60 per 1M tokens), Anthropic Claude, Google Gemini (gemini-2.5-flash with free-tier support), and self-hosted Ollama ($0.00). You can benchmark three built-in workload profiles (Starter, Growth, and Scale) or click Load Real Chat Data to populate the simulator with your CRM's actual historical message volume and average prompt/completion token lengths. Click Export AI Cost CSV at any time to download itemized token, latency (duration_ms), key label, and USD cost ledgers for finance reconciliation.

Isolated Pure-PHP Architecture & Zero-Node Deployment
A recurring obstacle with modern CRM chat add-ons is infrastructure bloat: many tools require Node.js daemons, Redis clusters, PM2 process managers, or third-party SaaS relay subscriptions costing $49+ per month. PolyUtilities v3.7.0 eliminates every external runtime dependency so standard cPanel, Plesk, CyberPanel, and VPS LAMP/LEMP stacks can run the full communication and AI suite natively.
- Pure-PHP 7.4 to 8.3 Compatibility: All real-time polling, Pusher event publishing, multi-provider AI API calls, multimodal audio/image processing, 10-layer file sanitization, and webhook signature verification run using standard PHP extensions (
curl,fileinfo,gd,mbstring,openssl,zip, plusimapif connecting Email). - Master Toggle + Sub-Feature Isolation: OmniChat initializes through a single decoupled bootstrap (
libraries/omnichat/Poly_omnichat_bootstrap.php). Turning OFF the master OmniChat toggle or individual sub-toggles (enable_ai_hub,enable_internal_chat,enable_aio_livechat,enable_channels,enable_automation) skips registering hooks, frontend CSS/JS assets, and cron tasks completely. - Bidirectional Mutual Exclusion Guard: Just like the CrossTag integration introduced in v3.6.0, v3.7.0 enforces a two-way conflict guard against standalone OmniChat installations. If an administrator leaves a standalone module active while enabling the integrated subsystem, PolyUtilities halts duplicate hook registration and surfaces a clear admin warning on Setup > Modules.
- Full-Height Natural Scrolling & macOS Scrollbars: Dashboard and Settings screens use full-height natural document flow with a sticky desktop left navigation rail (
top: 76px) and slim6pxpill scrollbars supporting Light and Dark modes, reserving100vhviewport locking strictly for the 3-panel Unified Inbox.
Teams planning deeper CRM modernization alongside PolyUtilities for Perfex CRM can also review custom module engineering and CodeIgniter 4 architecture options via HeadRandom's Perfex CRM module development services.
16-Language Parity, 32 Contextual Guides & QA Verification
Enterprise Perfex CRM deployments often serve multilingual teams across Europe, Asia, and the Americas. PolyUtilities v3.7.0 ships with 16 fully synchronized language catalogs, containing 1,646 keys per locale with 0 missing keys, 0 orphaned keys, and >= 98% native Vietnamese coverage, verified continuously by an automated i18n parity test suite (test_v370_omnichat_i18n.php).
- Zero Hardcoded UI Strings: Every dashboard KPI, Chart.js axis legend, modal confirmation dialog, error toast, status badge, and guide title resolves via Perfex
_l()and CSP-safe<meta>JSON payloads with automatic"entity decoding. - 32 Contextual
?Setup Guide Modals: Powered byPoly_omnichat_guides, every complex section across Dashboard, OmniChat Settings, and Unified Inbox displays an inline?button opening a localized step-by-step guide with direct vendor API portal links, credential field reference tables, and 1-click signed Webhook URL copy. - Zero Native Browser Dialogs: Every destructive confirmation, group member prompt, and translation dialog uses accessible Light/Dark custom modals (
role="dialog",aria-modal="true",Escapesupport) instead ofwindow.alert(),window.confirm(), orwindow.prompt().
Upgrade Checklist: Moving from v3.5.x / v3.6.x to v3.7.0
Upgrading an existing installation takes under 5 minutes when following this production checklist. For first-time installations, start with the Complete Guide to Install and Use PolyUtilities for Perfex CRM.
- Back Up Database & Files: Export a full MySQL dump of your Perfex CRM database and back up
modules/poly_utilities/. - Check Standalone Conflict Guards: If you previously activated standalone CrossTag or standalone OmniChat, deactivate the standalone module under Setup > Modules first so tables and hooks never collide.
- Upload & Upgrade Package: Go to Setup > Modules, upload the v3.7.0
poly_utilities.ziparchive (or replacemodules/poly_utilities/over SFTP), and click Upgrade Database when prompted to apply new OmniChat, AI Key Pool, Presence, and Automation tables. - Verify PHP Extensions & Cron: Confirm PHP
gd,fileinfo,openssl,curl, andzipare active, and ensure Perfex Core's standard 5-minute cron job is running (after_cron_runhandles IMAP email sync, retention purge, and stale guest presence cleanup). - Configure Sub-Modules & Permissions: Visit Poly Utilities > Dashboard to inspect live ecosystem status, open Setup > Roles to grant OmniChat and AI permissions, and enable only the sub-features your team requires under OmniChat & AI Hub > Settings.
Complete PolyUtilities v3.7.0 Documentation Hub
Use this structured directory to dive deep into every subsystem and external channel gateway shipped in release 3.7.0.
Core Platform & AI Deep-Dive Guides
- Unified 3-Panel Inbox, Staff/Client/Mixed Group Chat & Live Presence: Workspace architecture,
last_message_id + 1history isolation, CrossTag@and$smart pills, 1-click CRM actions, Smart Polling vs Pusher, andsendBeaconpresence. - Multi-Provider AI Hub, AES-256 Encrypted Key Vault & Multimodal Voice/Vision AI: OpenAI, Anthropic Claude, Google Gemini, OpenRouter, DeepSeek, Groq, and local Ollama setup, key failover, daily budget guard, Whisper/Gemini Voice STT, and Image Vision.
- Perfex Core Ticket AI Copilot, Smart Canned Responses & Automation Engine: Inline AI toolbar on
admin/tickets/ticket/{id},/macros with dynamic variables, and multimodal IF/THEN workflow rules. - AIO Support 2.0 Unified Floating Bridge, Client Portal Live Chat & AI Knowledge Base: Zero-duplicate floating launcher, Personalized Project Staff routing, AI KB self-service Q&A, Quick Tickets, and Mon-Sun Business Hours.
- 10-Layer Pure-PHP File Security, GD Image CDR, ClamAV & Multi-Session Governance: RTLO/double-extension blocking, 25MP GD pixel re-encoding, PDF/ZIP/VBA scans, ClamAV
zINSTREAM, SSRF DNS pinning, and 6-session BOLA verification.
Official Omnichannel Gateway Setup Guides (9 Channels)
- Connect WhatsApp Business Cloud API v21.0 to Perfex CRM
- Connect Facebook Messenger & Instagram DM API to Perfex CRM
- Connect Telegram Bot API & Voice Notes to Perfex CRM
- Connect Zalo OA API v3 to Perfex CRM
- Connect Slack Events API Bot to Perfex CRM
- Connect Two-Way Twilio SMS to Perfex CRM
- Connect Viber Bot API to Perfex CRM
- Connect Email IMAP/SMTP to Perfex CRM Unified Inbox
Ready to consolidate your CRM utilities, team chat, omnichannel support, and AI automation into one self-hosted module? Explore full licensing details and live demo access on the PolyUtilities for Perfex CRM product page.
Frequently Asked Questions
Does PolyUtilities v3.7.0 require Node.js or external SaaS subscriptions?
No. Every component of PolyUtilities v3.7.0, including the Executive Master Dashboard, 3-panel Unified Inbox, Smart Polling engine, 9 channel webhooks, AI API integrations, Voice STT, Image Vision, and 10-layer File Security CDR, runs in 100% pure PHP on standard shared or VPS hosting. You only pay direct API rates to your chosen AI or messaging providers (or $0 with local Ollama and free-tier Gemini/Telegram).
Will enabling PolyUtilities v3.7.0 slow down Perfex CRM if I do not use OmniChat?
No. OmniChat & AI Hub is isolated behind a master feature flag and five granular sub-toggles. When OmniChat or any individual sub-module is turned OFF, Poly_omnichat_bootstrap exits immediately without registering hooks, querying chat tables, scheduling cron jobs, or loading Vue 3 and CSS bundles.
Can I upgrade from PolyUtilities v3.5.0 or v3.6.0 without losing menus, themes, or CrossTag data?
Yes. All database migrations in v3.7.0 are strictly additive. Existing Custom Menus, Widgets, Banners, Brand Themes, White-Label settings, Anti-Spam Guard rules, and CrossTag mention records remain completely intact after uploading the v3.7.0 package and running the Perfex database upgrade step.
How accurate is the Executive Dashboard AI Demand Cost Estimator?
The estimator computes costs using official per-1M-token rates (plus audio per-minute rates for whisper-1 and gpt-4o-mini-transcribe) and honors any custom rate overrides you enter for OpenRouter, DeepSeek, Groq, or Ollama. Clicking Load Real Chat Data seeds the model with your CRM's real historical message count and average prompt/completion token sizes for realistic monthly and annual forecasts.
What Perfex CRM and PHP versions are supported in PolyUtilities v3.7.0?
PolyUtilities v3.7.0 requires Perfex CRM 3.2.0 or higher and supports PHP 7.4, 8.0, 8.1, 8.2, and 8.3 with MySQL 5.7+ or MariaDB 10.3+. Core extensions required are curl, fileinfo, gd, mbstring, openssl, and zip.
PolyUtilities boosts Perfex CRM with powerful customization and workflow enhancements. Create multi-level menus, group menus by purpose, embed iframe links, open content in popups, and reorganize system navigation with drag-and-drop. Add dynamic widgets across dozens of display positions, use right-click navigation, manage custom JS/CSS, support multi-company and multi-address structures, and convert selected text into tasks instantly. Combined with banners, announcements, quick-access shortcuts, and many smart utilities, PolyUtilities turns Perfex CRM into a faster, cleaner, and highly personalized workspace for every team member.
Need a Custom Perfex CRM Module, Bug Fix, or CodeIgniter 4 Upgrade?
Avoid broken updates, PHP 8.2-8.4 errors, and risky core edits. HeadRandom provides custom Perfex CRM module development, upgrade, and bug-fixing services for any third-party or custom module on your Perfex CRM installation, plus upgrading Perfex CRM from CodeIgniter 3 to CodeIgniter 4 via IgniteCore for Perfex CRM.
Develop new custom modules from scratch, patch bugs or hook conflicts on existing client modules, and update legacy code for clean PHP 8.2-8.4 compatibility with zero core file hacks. View Perfex CRM module development scope.
Migrate your Perfex CRM runtime to CodeIgniter 4 (4.7.6) using IgniteCore for Perfex CRM (independent module by HeadRandom) with Dual-Mode CI3 fallback, 32% to 75% lower latency, 50% less RAM, and custom CI4 porting for third-party modules. See CI3 to CI4 upgrade options.
Combine 2+ HeadRandom services (Custom Module, IgniteCore CI4 Upgrade, or Website Care) to save 30% automatically.