Support teams inside Perfex CRM lose hours switching tabs to draft repetitive replies, translate customer screenshots, and triage incoming tickets manually. Static reply templates rarely pull live context cleanly, while disconnected bots risk looping or hallucinating on sensitive billing threads.
PolyUtilities v3.7.0 embeds the Ticket AI Copilot toolbar, slash-triggered Smart Canned Responses, and a zero-Node.js Multimodal Automation Engine directly into Perfex CRM so agents resolve tickets faster with full budget and safety controls.
Confirm module activation and sub-feature flags in the Guide to Install and Use PolyUtilities for Perfex CRM first.
| Engine Component | Core Capability | Supported Scope | Built-In Safeguard |
|---|---|---|---|
| Ticket AI Copilot | Draft, 3 Smart Replies, Rewrite, Grammar, Summarize, Sentiment, Translate | OpenAI, Claude, Gemini, OpenAI-Compatible | Daily USD cap and Use AI role permission |
| Smart Canned Responses | Slash /shortcode macros with variable interpolation | Unified Inbox and Core Ticket reply box | Supports {CLIENT_NAME}, {CONTACT_NAME}, {TICKET_ID} |
| Multimodal AI Engine | Voice STT transcription and Image Vision analysis | Whisper-1, GPT-4o Mini Transcribe, Gemini | Cross-provider STT fallback and cached output |
| Automation Rules | IF/THEN triggers on inbound, outside hours, sentiment | Assign staff, tag, create ticket, AI reply | Per-conversation cooldown loop guard |
1. Configure Multi-Provider AI Hub and Ticket Copilot
PolyUtilities renders the Ticket AI Copilot toolbar on Perfex ticket views whenever enable_ai_hub is active and the agent holds use_ai permission. Every API key in the Multi-Key Pool is encrypted with AES-256-CBC (enc:v1:), rotating automatically across Priority Failover, Round Robin, or Least Used if HTTP 429 occurs.
- Open OmniChat Settings > AI Hub, choose OpenAI, Claude, Gemini, or OpenAI-Compatible (DeepSeek, OpenRouter, Ollama), and add multiple keys for failover.
- Set a Daily Cost Budget Limit (USD) and System Persona aligned with your support tone and refund rules.
- Toggle Copilot buttons (Draft, Smart Replies, Rewrite, Grammar, Summarize, Sentiment, Translate) and review spend in the Executive Dashboard alongside WhatsApp Cloud API and AI Chat.
2. Build Slash Canned Responses and Multimodal Automation Rules
Agents insert standardized macros in two keystrokes and refine them via AI Rewrite. Beneath the composer, the Multimodal Automation Engine evaluates both typed text and AI Voice transcripts or Vision summaries, routing urgent tickets and channels like Facebook Messenger and Instagram DM automatically.
- Create macros under Canned Responses with a clean shortcode (such as
refund_policy) and placeholders like{CLIENT_NAME},{STAFF_NAME},{TICKET_ID}, and{TICKET_SUBJECT}. - In Automation Rules, pair triggers (
inbound_message,new_conversation,outside_hours,sentiment_alert) withequals,contains,starts_with, orregexconditions. - Execute actions to assign staff or departments, adjust priority, auto-create Perfex Tickets, or send cooldown-guarded AI Auto-Replies.
Common Pitfalls and Quick Fixes
- Ticket Copilot toolbar missing for an agent: Confirm
enable_ai_hubis ON in General Settings and grant the rolepoly_utilities_omnichat_aiUse AI access. - Voice note transcription fails on Claude: Claude handles text and Vision only; add a Gemini or OpenAI key to enable automatic cross-provider Voice STT fallback.
- AI Auto-Reply stops firing on repeated pings: Verify the per-conversation cooldown timer and confirm Daily Cost Budget Limit is not exhausted.
Frequently Asked Questions
Does Ticket AI Copilot require a separate Node.js server or SaaS relay?
No. PolyUtilities executes all AI Hub requests, multi-key AES-256-CBC rotation, canned macro interpolation, and IF/THEN automation evaluations directly in pure PHP inside Perfex CRM. Standard PHP and MySQL hosting with cURL enabled runs every Copilot and automation feature out of the box.
Which merge variables work inside Smart Canned Responses?
Smart Canned Responses automatically interpolate live ticket and chat context variables including {CLIENT_NAME}, {CONTACT_NAME}, {STAFF_NAME}, {TICKET_ID}, and {TICKET_SUBJECT}. Agents type / in Unified Inbox or the Perfex Ticket reply box to search and insert macros instantly.
How does PolyUtilities prevent runaway AI bills and bot reply loops?
Administrators configure a hard Daily Cost Budget Limit in USD at the AI Hub level alongside optional per-key daily spend caps inside the Multi-Key Pool. Outbound AI Auto-Reply also enforces a strict per-conversation cooldown loop guard and did_send_ai_auto_reply() turn deduplication.
Can automation rules inspect voice notes and customer screenshots?
Yes. When Multimodal AI is enabled, inbound voice notes are transcribed via Whisper or Gemini Native Audio and uploaded images are summarized by AI Vision before automation conditions run, letting rules trigger ticket creation or escalation from spoken or visual keywords.

Leave a Reply