PolyUtilities For PerfexCRM

Perfex CRM Ticket AI Copilot, Canned Responses & Automation

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 ComponentCore CapabilitySupported ScopeBuilt-In Safeguard
Ticket AI CopilotDraft, 3 Smart Replies, Rewrite, Grammar, Summarize, Sentiment, TranslateOpenAI, Claude, Gemini, OpenAI-CompatibleDaily USD cap and Use AI role permission
Smart Canned ResponsesSlash /shortcode macros with variable interpolationUnified Inbox and Core Ticket reply boxSupports {CLIENT_NAME}, {CONTACT_NAME}, {TICKET_ID}
Multimodal AI EngineVoice STT transcription and Image Vision analysisWhisper-1, GPT-4o Mini Transcribe, GeminiCross-provider STT fallback and cached output
Automation RulesIF/THEN triggers on inbound, outside hours, sentimentAssign staff, tag, create ticket, AI replyPer-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) with equals, contains, starts_with, or regex conditions.
  • 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_hub is ON in General Settings and grant the role poly_utilities_omnichat_ai Use 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.


Comments

Leave a Reply

Your email address will not be published.Required fields are marked *