Architecture & Workflow

How ChatBot Creator Studio Works

A look under the hood of our framework-free, highly performant PHP 8.3+ multi-tenant SaaS architecture.

1

Chatbot Definition & Multi-Tenant Isolation

Each user operates in an isolated workspace with strict database row-level ownership. When you create a chatbot, the system assigns a unique UUID, slug, and cryptographic public token.

2

Hybrid Knowledge Matching Engine

When a visitor sends a query, our engine evaluates MySQL full-text indices and tokenized keyword scores. If a high-confidence match is found, the verified answer is returned immediately. When external AI is enabled, the matching docs are injected into an OpenAI-compatible context window.

3

Encapsulated CDN Delivery

Our embeddable widget uses modern browser Shadow DOM encapsulation. This prevents host website CSS rules from distorting chatbot appearance and guarantees zero styling collisions.

4

Cryptographically Verified Subscriptions

SaaS entitlements are never trusted from client-side requests. Upgrades are authorized server-side using the official PayPal REST Subscriptions API with asynchronous webhook event verification and idempotency safeguards.