AI APP · SAAS · CASE STUDY

ReplyMagic

Multi-tenant SaaS that connects to Instagram Business accounts, monitors incoming comments in real-time, and generates brand-voice-aware replies.

ZipLyne built the entire platform on Cloudflare — Workers, D1, KV, R2 — with an 8-layer spam gate that classifies every comment before spending a single AI credit. Each merchant gets an isolated brand profile; replies either auto-send or queue for human review.

Visit replymagic.ai → Start a project like this
[ WHAT WE BUILT ]

Every layer, from scratch.

Spam Gate
8-Layer Comment Classifier

Bot detection → keyword filter → language detection → sentiment pre-screen → rate limit → block-list → pattern match → confidence threshold. Every comment classified before touching the LLM.

Brand Voice
Tone Extraction Onboarding

Merchants paste examples of their ideal replies. The system extracts tone, style rules, and vocabulary constraints — embedded into every generation prompt. Replies sound like the brand, not a bot.

Dual Reply Mode
Auto-Send vs. Review Queue

High-confidence comments fire immediately. Edge cases route to a human approval queue. Merchants set their own confidence threshold per campaign — full control without manual overhead.

Multi-Tenant Isolation
100% Cloudflare Stack

Each merchant has isolated D1 tables, separate KV namespaces, and a separate brand profile. Workers, D1 (SQLite), KV (session/cache), R2 (media) — zero external infrastructure.

[ AI & TECH ]

How the AI works.

GENERATION
GEMINI FLASH VIA OPENROUTER

Fast, cheap reply generation. Brand voice system prompt injected on every call. Falls back to secondary model automatically on rate-limit.

CLASSIFICATION
CUSTOM SPAM GATE LOGIC

Rule-based layers run before any LLM call. Only comments that pass all 8 gates consume AI credits — keeps cost-per-reply low at scale.

DASHBOARD
REPLY ANALYTICS

Reply volume, approval rate, spam catch rate, cost per reply — surfaced per merchant in real-time. Know exactly what the system is doing and what it costs.

[ STACK ]

What it runs on.

Cloudflare Workers
Compute / routing
Cloudflare D1
SQLite per tenant
Cloudflare KV
Session + cache
Cloudflare R2
Media storage
OpenRouter
Model routing + fallback
Gemini Flash
Reply generation
Instagram Graph API
Comment webhooks
NEXT PROJECT

Need a multi-tenant SaaS
built on Cloudflare?

We've done it. Workers, D1, KV, R2 — the whole stack. Tell us what you're building.

Start the conversation →