Z
ZAFF.AI AGENTS
Autonomous Commerce
Deep Architectural Capabilities

Why ZAFF AI Outperforms Human Reps

Explore the proprietary multimodal architecture powering 24/7 sales conversions on WhatsApp & social channels.

01

Multimodal Gemini Generative Brain

Unlike legacy chatbots that break when a customer deviates from a rigid keyword script, ZAFF AI understands natural conversational Sinhala and Singlish. It parses intent, checks stock, extracts product attributes, and makes contextual recommendations.

  • Handles typos, slang, and mixed Singlish
  • Maintains multi-turn context across 20+ turns
// Incoming Customer Message
"Machan mata wedding ekakata yanna kalisam tikak pennanna size 32"
// Extracted Structured Intent
{"intent": "product_inquiry", "category": "trousers", "size": "32", "recommended_ids": [123, 122, 135]}
// Quoted Photo Resolution
Customer replies to sent photo: "Meken 3k danna"
// Message ID Resolution
{"quoted_wamid": "wamid.HBgLOTQ...", "resolved_product": "Charcoal Grey Slim Trousers", "qty": 3}
02

Quoted Photo & Swipe-to-Reply Detection

Customers love swiping right on photos in WhatsApp. ZAFF AI uniquely tracks outgoing media message IDs (wamid) in SQLite. When a customer replies to any photo, the AI immediately resolves the exact product model.

03

Vector Canva Graphic Invoicing

Instead of plain text receipts that look amateurish, ZAFF AI renders a digital Canva PNG invoice card using Node.js Sharp graphics. It dynamically writes the customer name, itemized rows, delivery fees, and total COD in under 1.8 seconds.

OFFICIAL CANVA DIGITAL INVOICE
ZAFF PREMIER CLOTHING
Total COD Payable: Rs. 11,600/=
Rendered in 1.4s • High-Res PNG Photo Card