Vectralix AI Chat PRO Documentation
Step-by-step setup guides, Hybrid RAG architecture, Smart Universal Booking Auto-Fill formulas, and omnichannel API references.
1. Installation, License & 6-Step Express Setup Wizard
Vectralix AI Chat PRO is designed to be up and running in under 2 minutes without touching a single line of code. Follow these steps to initialize your environment:
Step 1.1: Upload & Activate License
- In your WordPress Admin Dashboard, navigate to Plugins → Add New → Upload Plugin and upload
vectralix-ai-chat-pro.zip. - Click Activate Plugin.
- Go to Vectralix PRO → License in the left admin menu and enter your premium license token to unlock all administrative modules and background cron workers.
Step 1.2: Run the 6-Step Express Setup Wizard
Navigate to Vectralix PRO → 🚀 Setup Wizard (or click the green launch banner at the top of the Settings page). The wizard guides you through 6 modular stages:
- Step 1 (Business Niche & Persona): Choose from 8 tailored business cards (E-Commerce, Travel/Hospitality, Vehicle Rental, Clinic/Appointment, B2B Agency, Hybrid Store, Blog/Media/Company Profile, or Custom). This automatically configures your AI System Prompt, booking card terminology, and reference prefix.
- Step 2 (AI Brain Engine): Connect your primary AI provider, test live API connectivity, and optionally set up a backup failover engine.
- Step 3 (Smart Auto-Scan & Knowledge Trainer): Automatically detects installed plugins (WooCommerce, MotoPress, WP Travel Engine, Amelia, WP Swings, CF7), selects Custom Post Types for RAG, and lets you import WordPress pages into the Knowledge Base in 1 click.
- Step 4 (Brand Persona & Live Preview): Customize your widget colors, launcher icon, greeting message, and Pre-Chat Lead Form with an interactive real-time preview.
- Step 5 (Optional Integrations): Configure WhatsApp Gateway, Telegram Group Handover, Pinecone Vector DB, and Admin Emergency Alerts (or skip and configure later).
- Step 6 (Launch): Activates the chat widget across your site immediately.
2. Multi-Provider AI Engines & Silent Failover Routing
Vectralix AI Chat PRO supports 5 industry-leading AI providers using a Dual-Engine Failover Architecture. If your Primary Engine hits a rate limit (HTTP 429), runs out of credits, or experiences server downtime, Vectralix silently reroutes the visitor's message to your Fallback Engine without interrupting the chat.
| AI Provider | Where to Get API Key | Recommended Chat Models | Best Use Case |
|---|---|---|---|
| Groq Cloud | console.groq.com/keys | llama-3.3-70b-versatile | Ultra-fast sub-second responses & generous free tier. |
| Google Gemini | aistudio.google.com/app/apikey | gemini-2.5-flash, gemini-2.5-pro | Superior multilingual reasoning, vision, & tool calling. |
| OpenAI (ChatGPT) | platform.openai.com/api-keys | gpt-4o-mini, gpt-4o | Enterprise accuracy, function calling, & multimodal vision. |
| OpenRouter | openrouter.ai/keys | Claude 3.5 Sonnet, Llama, Mistral | Access 100+ global LLMs through a single unified API key. |
| DeepSeek | platform.deepseek.com | deepseek-chat | High-reasoning performance at ultra-low token cost. |
3. System Prompt Engineering & Behavior Safeguards
The System Instructions (Prompt) box defines the identity, tone, and strict operational boundaries of your AI assistant. Vectralix includes a Quick Industry Preset Toolbar with 11 ready-to-use templates:
- 🛍️ E-Commerce & WooCommerce: Physical Retail Store and Digital Products / Software / SaaS Licensing.
- 📅 Hospitality & Appointments: Travel & Tour Packages, Hotel / Villa / Resort, Vehicle & Equipment Rental, and Medical Clinic / Salon / Spa.
- 💼 Services & General: B2B Agency & Consulting, Real Estate & Property Viewing, Academy / Online Course, Hybrid Store (Products + Booking), and Blog / Company Profile.
Built-In AI Function Tools & Silent Tags
Behind the scenes, Vectralix equips your AI with 4 native function-calling tools and silent control tags:
search_store_catalog— Searches WooCommerce products, custom post types, and Pinecone vectors before answering product/service inquiries.trigger_auto_checkout— Resolves product/variation IDs and generates an instant WooCommerce checkout redirect (`[CHECKOUT:ID:QTY]`).trigger_service_booking— Generates an interactive in-chat reservation card (`[BOOKING_CARD:...]`) with automatic past-date protection.check_woocommerce_order_status— Looks up live order status, total amount, and order date by numeric Order ID.[ESCALATE_TO_HUMAN]— Appended by the AI when a user requests a human agent, immediately triggering Telegram & Live Console alerts.[LEAD_NAME: Name]— Silently extracts the visitor's real personal name from natural conversation and updates your CRM database.
4. Hybrid RAG, Knowledge Base & Pinecone Vector DB
Vectralix prevents AI hallucinations using a 3-Layer Hybrid RAG (Retrieval-Augmented Generation) architecture:
Layer 1: Document Knowledge Base (PDF, DOCX, CSV, TXT & WP Pages)
Go to Vectralix PRO → Knowledge Base 📚 to train your AI with company policies, FAQs, and brochures:
- Direct Document Upload: Select any
.pdf,.docx(Word),.csv, or.txtfile. Vectralix extracts the text right inside your browser usingpdf.jsandmammoth.jswithout overloading your server memory. - 1-Click WordPress Content Importer: Select any published Page or Post from the dropdown and click Import to Editor to instantly pull its clean text into your Knowledge Base.
Layer 2: Universal Smart CPT & Meta Extractor (SQL RAG)
In Settings → Universal AI RAG & Service Booking Bridge, check the Post Types you want the AI to read (e.g., product, page, post, trip, mphb_room_type). Vectralix automatically scans wp_postmeta and taxonomies to extract Regular Price, Sale Price, Duration, Days/Nights, Capacity/Max Guests, Location/Destination, Amenities, Itinerary, and Booking URLs.
Layer 3: Pinecone Vector Database (Real-Time Incremental Auto-Sync)
For large catalogs and deep semantic search (understanding synonyms across languages), enable Pinecone Vector DB. Match your Pinecone Index dimension size strictly to your chosen Embedding Engine:
| Embedding Engine | Model Name | Required Pinecone Dimension | Extra API Key Needed? |
|---|---|---|---|
| Pinecone Inference (Default) | multilingual-e5-large | 1024 Dimensions (Cosine) | No (Uses your Pinecone API Key) |
| Google Gemini | text-embedding-004 | 768 Dimensions (Cosine) | Yes (Paste Gemini API Key in Embedding Key field) |
| OpenAI | text-embedding-3-small | 1536 Dimensions (Cosine) | Yes (Paste OpenAI API Key in Embedding Key field) |
5. WooCommerce Auto-Checkout & Abandoned Cart Recovery
When WooCommerce is active, Vectralix automatically reads live stock status, product descriptions, and variable product attributes:
- Smart Variable Product Resolver: If a customer asks to buy a variable product (e.g., different sizes, colors, or license tiers), the AI lists the exact options and prices, asks the customer to choose, and resolves the exact numeric
Variation ID. - Lead Gate Protection: If the Pre-Chat Form is disabled, the AI politely asks for the customer's Name and WhatsApp/Email before triggering the checkout redirect so you never lose the lead.
- Automated Abandoned Cart Recovery: In Settings → Abandoned Cart Recovery, enable Activate Multi-Channel Recovery. Powered by the WooCommerce Action Scheduler, if a session triggers
[CHECKOUT:...]but does not complete payment within 1 hour, Vectralix automatically sends a personalized reminder with an itemized product list ({name},{cart_items}) via Email and WhatsApp. You can also test it anytime using the ⚡ Force Run Abandoned Cart Recovery Now button.
6. Smart Universal Booking Bridge & 5-Plugin Auto-Fill
Vectralix features a dual-mode reservation system for Travel Agencies, Hotels, Villas, Car Rentals, Clinics, and Service Businesses:
Mode A: Smart Universal Auto-Fill (External Booking Plugin Bridge)
In Settings → External Plugin URL Pre-fill, select ✨ Smart Universal Auto-Fill (Recommended). It uses this universal query formula:
?vxc_autofill=1&vxc_date={date}&vxc_time={time}&vxc_pax={pax}&vxc_name={name}&vxc_phone={wa}&vxc_email={email}&vxc_notes={notes}When the visitor clicks ➡️ Proceed to Finalize Booking on the in-chat Booking Card, Vectralix redirects them to the service page, displays a ✨ Smart Pre-Fill Active Banner, and automatically fills in the form on the destination page:
| Supported Plugin | What Vectralix Auto-Fills Automatically |
|---|---|
| 🏨 MotoPress Hotel Booking | Calculates Check-Out Date automatically from the number of nights mentioned in chat (even if the user also mentioned a check-in clock time like "8 PM"), fills Check-In/Out calendars, selects Adults & Children, and auto-fills Guest Name, Email, Phone, Country, and Notes on the MotoPress Checkout page. |
| ✈️ WP Travel Engine | Auto-fills Enquiry & Booking fields: Package Name, Full Name, Email, Phone/WhatsApp, Enquiry Subject, Adults, Children (separated accurately), Notes, and auto-detects Country from the phone number prefix or conversation language. |
| 💇♀️ Amelia Appointment Booking | Displays the requested schedule summary banner above the Amelia container and uses a dedicated Vue.js MutationObserver to auto-fill First Name, Last Name, Email, and Phone as soon as the customer reaches the Amelia info step. |
| 📅 WooCommerce Bookings / WP Swings | Supports both Single Calendar (Flatpickr single, multiple-day array, and range modes) and Dual From/To Calendars, auto-filling rental duration, passenger/unit counts, and WooCommerce Checkout fields. |
| 📝 Contact Form 7 & HTML5 Forms | Auto-fills Name, Phone/Tel, Email, HTML5 Date (YYYY-MM-DD), Number of Guests/Pax, Subject, and composes a complete summary inside the Message textarea. |
Mode B: Native In-Chat Booking (Zero External Plugin Needed)
If your website does not use an external booking plugin, select ❌ Disable / Clear URL Pre-fill (Use Native Card Only) in Settings. Visitors confirm their reservation 100% inside the chat widget (`✅ Confirm Booking Now`), receive an instant Booking Reference Code (e.g., #TRV-8F92A1) via WhatsApp and Email, and the reservation is logged in Marketing Booster → 📅 Service Bookings.
7. Interactive Start Menu & Visual Drag-and-Drop Flow Builder
In Settings → Main Engine & Chatbox Settings (Section 6), enable the Interactive Start Menu & Guided Flows to display a welcome promo banner and clickable quick-action chips inside the chat window.
- 🌳 Branching Sub-Menu (Decision Tree): Click 🛠️ Open Visual Flow Builder on any button row to open the drag-and-drop modal. You can create unlimited sub-menu cards, link buttons to target cards via smart dropdowns, or click ⚡ Go / Create to auto-generate and link a new sub-card in one click!
- 🧭 Guided Tour: Creates sequential step-by-step slides with a "Next ➡️" button to educate visitors about your product or service.
- ⚡ Instant Reply (0 AI Token): Immediately displays a pre-written answer (such as promo codes or bank details) without consuming AI API tokens.
- 🤖 Trigger AI Question: Sends a pre-configured prompt directly to the AI engine.
- ✉️ Send Email / Feedback Form: Renders an inline contact form inside the chat bubble that sends inquiries straight to your Admin Email.
8. Proactive Sequential AI Lure & Hybrid Lead Capture
Vectralix combines proactive visitor engagement with two flexible lead-generation modes:
- Sequential Proactive Popup (1 to 3 Bubbles): Choose between ✨ Auto AI Mode (the AI reads the current page/product and generates 1, 2, or 3 sequential hook bubbles) or ✍️ Custom Chat Bubbles supporting smart variables:
{product_name},{short_desc}, and{desc}. - Smart Pre-Chat Form Toggle:
- When Pre-Chat Form is ENABLED: Proactive lures appear as floating cloud bubbles outside the widget, and visitors fill in their Name, WhatsApp, and Email before chatting.
- When Pre-Chat Form is DISABLED: After the initial wait time, the chatbox automatically pops open, displays your sequential greeting bubbles and interactive menu chips inside the chat, and captures leads naturally from the conversation!
9. Multimodal Image Vision & Multi-Language Voice Input
The frontend chat footer includes two built-in multimodal tools right next to the message input bar:
- ➕ Image Upload (AI Vision): Visitors can attach JPEG, PNG, or WEBP images (such as product photos, skin/clinical conditions, or payment receipts) for visual analysis by Gemini, OpenAI, or Groq Vision models.
- 🎙️ Voice Input (Web Speech API): Clicking the microphone icon activates real-time speech-to-text transcription with a red pulsing animation, automatically adapting to the visitor's browser language.
10. Omnichannel Live Agent Console & Two-Way Telegram Bridge
Monitor and take over conversations from either your WordPress dashboard or your smartphone:
A. Web Live Agent Console (Vectralix PRO → Live Agent Console)
View all active sessions with real-time status badges (🤖 AI Bot, 🚨 Waiting Agent, 👨💻 Handled by Human, 🏁 Finished), chat duration, and two-way typing indicators. Click 👩💻 Take Over Chat to pause the AI for that session and chat live with the visitor, or click ✅ Mark as Resolved when finished.
B. Two-Way Telegram Group Integration
- Open Telegram, message @BotFather, send
/newbot, and copy your HTTP API Bot Token. - Create a Telegram Group for your support team, invite your new Bot to the group, and promote the Bot to Admin.
- Obtain your Group Chat ID (starts with
-100...) and paste both the Telegram Bot Token and Telegram Group ID in Settings → Omnichannel Agent Handover. - Click Save All Configuration—Vectralix automatically registers your site's REST Webhook (
/wp-json/victory-ai-chat/v1/tg-webhook) with Telegram! - How to Reply from Telegram: Whenever a notification arrives in your Telegram Group (containing
#SESSION_...), simply Swipe Right / Reply directly to that message in Telegram. Your reply is delivered live into the visitor's website chatbox!
11. Marketing Booster, WhatsApp Gateways & Campaign Scheduler
Navigate to Vectralix PRO → Marketing Booster 🚀 to manage your CRM leads, service bookings, and omnichannel broadcasts:
- 6 Supported WhatsApp Gateways: Connect Fonnte, Official Meta Cloud API, Wati, WABlas, UltraMsg, or Twilio in Settings.
- ✨ AI Hyper-Personalization Broadcasts: In the Campaign Builder, choose AI Personalized Mode. Before sending your promo, the AI reads the last 4 chat messages of each recipient and uniquely rewrites the opening hook to match their past interest!
- Immediate, Scheduled & Recurring Campaigns: Execute broadcasts immediately with the Anti-Ban Safe Progress Bar, or schedule them for a future date with One-Time, Daily, Weekly, or Monthly recurrence.
- Database Leads & CSV Import/Export: Filter contacts by source (WooCommerce Checkout, Live Chat, Service Booking, CSV Import), import external contact lists via CSV, or export your leads and bookings anytime.
12. AI Economic Advisor, Outbound Webhooks & JSON Backup
- 📊 Analytics & AI Economic Advisor: Tracks Gross Revenue, Success Checkouts, Abandoned Carts, Missed AI Leads, Top 5 Selling Products, Top 5 Most Questioned Keywords, and Silent Visitor Behavioral Tracking (Average Time Spent & Scroll Depth % per URL). Click 🧠 Analyze My Data to let AI generate executive growth recommendations.
- 🔗 Outbound Booking Webhook (Zapier / Make / n8n): Paste your webhook URL in Settings → Booking Webhook URL and click 🧪 Send Test Payload. Vectralix sends a JSON payload on every `booking_created` and `booking_status_updated` event:
{
"event": "booking_created",
"booking_code": "BK-9F2A10",
"status": "pending",
"service_name": "Royal Ocean View Pool Villa",
"booking_date": "2026-11-25",
"booking_time": "3 Nights",
"guests_pax": "2 Adults, 1 Children",
"visitor_name": "Rian Barus",
"wa_number": "0895366362382",
"email": "guest@example.com",
"notes": "Check-in 8 PM"
}- 🔄 Settings Export & Import (
.json): At the bottom of the Settings page, click Download Settings (.json) to back up your entire configuration or clone your setup to another client website in one click.
13. Troubleshooting & Frequently Asked Questions
1024 for Pinecone Inference, 768 for Google Gemini, or 1536 for OpenAI. If you switch embedding engines, create a new Pinecone index with the corresponding dimension size.Cart, Checkout, and URLs containing ?vxc_autofill=1 so floating bubbles never block or distract customers while they are finalizing their payment or reservation form.localStorage for seamless multi-page continuity, always open a new Incognito / Private Browser Window when testing fresh Pre-Chat Form or multi-language booking scenarios.



