Rule Engine: No-Code Builder

Rule Engine: No-Code Builder

Rule Engine: No-Code Builder

Portfolio project image
Portfolio project image

What is Convin & Rule Engine?

About Convin

Convin is an AI Agent Platform designed to optimize sales, customer service, and collection teams through three powerful agents:

  • AI Conversation Intelligence Agent → Analyzes customer-agent conversations across channels, audits calls, and delivers insights.

  • Live Agent Assist → Offers real-time prompts, objection handling, and resource support during calls.

  • AI Voice Agent → Handles outbound calling tasks autonomously.

The Rule Engine lives inside the Conversation Intelligence Agent, acting as the brain behind automated auditing — defining what should be checked, how, and when, all without code.

Why did we build it?

Strategic Context & Opportunity

In late 2023, Convin was preparing to onboard a major enterprise client but, we hit a wall.

Their QA workflows weren’t just complex; they were deeply conditional, multi-layered, and full of nested exceptions:

Delivery Logic: Redelivery after 3 failed attempts, real-time dispatch validation, stock checks
Incident Logic: Split flows for lost vs. damaged parcels with unique refund/escalation conditions



An image of If/Else logic



Our existing Python-based auditing system couldn’t scale. Custom logic for every template took 7–14 days, required engineers, and wasn’t reusable.

That’s when I proposed building something bigger:

  • visual, self-serve rule builder for internal and external users.

  • A system that could eventually power not just audit logic, but AI agent workflows (e.g., voice agents, chat automations).

  • A way to reduce internal ops headcount and boost product adaptability across verticals.

This wasn’t just about landing a client. It was about turning a service into a product.

Research & Discovery

Since we were short on time, I did a deep dive into our internal process:

  • Met with our Product Delivery Team to understand why each template took days.

  • Shadowed engineers building Python rules line-by-line for 3–8 templates, each with 10+ parameters.

  • Reviewed past delivery tickets to spot common bottlenecks.


g_1 = [t for t in _tags if "r_x9f2a".lower() in t]
g_2 = [t for t in _tags if "r_mk8q5".lower() in t]
g_3 = [t for t in _tags if "r_gd4z7".lower() in t]
g_4 = [t for t in _tags if "r_cq2n6".lower() in t]
g_5 = [t for t in _tags if "r_gf5l0".lower() in t]
g_6 = [t for t in _tags if "r_tt1y8".lower() in t]
g_7 = [t for t in _tags if "r_hr9u3".lower() in t]
g_8 = [t for t in _tags if "r_th0b4".lower() in t]
g_9 = [t for t in _tags if "r_pc7o2".lower() in t]
g_10 = [t for t in _tags if "r_mo6z9".lower() in t]
g_11 = [t for t in _tags if "r_he4r5".lower() in t]
g_12 = [t for t in _tags if "r_vu2w1".lower() in t]

if ((s_1 or g_7) and f_a) \
   or ((s_2 or g_6) and f_b) \
   or ((g_5 or g_5 or g_5) and f_c) \
   or ((s_3 or g_3) and f_d) \
   or ((g_4 or g_4) and f_e) \
   or ((g_6 or g_8) and f_f) \
   or ((g_9 or g_9) and f_g) \
   or (s_2 and (g_11 or s_2)) \
   or (s_1 and (g_10 or s_1)) \
   or (f_h and (g_12 or s_3)):
    _r = "YES"
else:
    _r = "NO"


Insight: Most complexity stemmed from lack of modularity and low traceability in the system


On the market side:

  • I researched competitors — but none offered advanced logic beyond basic AND/OR flows.

  • So I zoomed out and looked at SalesforceZapierWebflow, and internal tooling from other industries.

  • That’s when I remembered my days at IBM, seeing Salesforce’s workflow engine: powerful, but painful to use.


This gave me the conviction: Convin needed a real rule engine, not a logic toy. It needed:

Reusability

Nested logic support

Testability

Transparency for QA leads and non-technical users

Design Exploration & Iteration

The initial design was drag-and-drop — a classic visual builder. But during internal testing, we hit real usability friction:

Most users on Windows ran browsers at 125–150% zoom → canvas felt too tight → drag actions became unreliable

So we pivoted:

  • Removed side-panel drag/drop.

  • Replaced with modal-based “choose block” flow.

  • Allowed for single block or group creation to keep things modular and visible.

We explored:

  • Inline vs. tray-based block previews.

  • Collapsible rule cards for long flows.

  • Hierarchical nesting vs. same-level groups.

The result: a cleaner interface that adapted to most screen sizes, even if it meant sacrificing some visual flair.

What Didn’t Work (Failures & Tradeoffs)

I initially assumed this would be quick to build — but that was naïve.

  • It took us over 120 days to build and stabilize what became a full-fledged product — not just an MVP.

  • Our backend team needed time to architect a system that could parse, store, and execute logic blocks from a UI layer.

At the time, I didn’t fully understand the technical term "rule parsing" — but I learned on the go. I realized each visual block needed to map to an underlying JSON structure that our backend could process and validate.

This taught me:

  • How to think in terms of system-state trees and execution flows.

  • How to balance design abstraction with data integrity.

  • How logic nesting and modularity affect backend parsing and error handling.

Stakeholder conflicts:

  • Product wanted to launch faster with fewer features.

  • I had to push back: “If we ship this raw, we’ll create a new bottleneck — not a solution.”

In the end, we chose to:

  • Delay a few weeks to build reusable blocks and test/debug views.

  • Cut some complex features (currently in-progress).

  • Prioritize long-term scalability over short-term polish.

Governance & Scalability Considerations

We didn’t just build this for now — we’re building it for the future of Convin’s platform.

Ongoing discussions:

  • Rule versioning and rollback (in progress).

  • Audit logs per rule execution.

  • Templates for reusability.

  • Potential to power Voice Agent flows and AI Agent decision trees.

The Rule Engine has now evolved into its own mini-platform within Convin; a framework to build logic for any AI system, not just auditing.

Leadership & Influence

Even though I was the solo designer here, I acted as a Design Lead in spirit:

  • Mentored our visual designer to think systematically.

  • Guided an intern who now owns Rule Engine iterations full-time.

  • Conducted internal team walkthroughs for adoption.

  • Helped onboard clients by conducting live training calls.

Internally, I pushed back on:

  • Scope reduction that would hurt usability.

  • Dev choices that affected UX traceability.

  • Copy decisions that lacked clarity for QA users.

The product has seen early adoption across multiple clients, with new onboarding flows, contextual help, and self-serve tutorials underway to improve usability and scale.

Learnings

  • No-code = designing for invisible complexity.

  • Design is not just user-first, it's system-aware and constraint-conscious.

  • Not everything can be simplified but everything must be explainable.

  • Real UX decisions happen in tradeoffs, not in tools.

  • Building a platform? Design for the next 100 templates, not just today’s 5.

TL;DR Summary

Project: Rule Engine – No-Code Builder for Auto QA
Role: Product Designer + Strategy Partner
Skills: UX Strategy, Platform Thinking, Dev Collaboration, Team Enablement
Impact:

  • Reduced onboarding setup time by 50%.

  • Lowered engineering dependency by 70%.

  • Evolved from audit tool → logic platform for AI agent control.

  • Led cross-functional strategy from research → design → adoption.

  • MVP to GTM

  • SaaS - B2B - B2C

  • Problem Identifier

  • Coffee & Anime

  • Handoff <72 hours

Available for Full-time, Part-time & Contract

Back to top

Back to top

Let's build
something
bold
together.

Your Vision. Sharpened and shipped.

Avatar of the website author

Ashik

Sr. Product Designer

Looking for a fast, reliable designer who gets business too? Let's talk

FFJ

Foreigner from Jupiter

  • MVP to GTM

  • SaaS - B2B - B2C

  • Problem Identifier

  • Coffee & Anime

  • Handoff <72 hours

Available for Collabration

Back to top

Back to top

Let's build
something
bold
together.

Your Vision. Sharpened and shipped.

Avatar of the website author

Ashik

Sr. Product Designer

Looking for a fast, reliable designer who gets business too? Let's talk

FFJ

Foreigner from Jupiter

  • MVP to GTM

  • SaaS - B2B - B2C

  • Problem Identifier

  • Coffee & Anime

  • Handoff <72 hours

Available for Full-time, Part-time & Contract

Back to top

Back to top

Let's build
something
bold
together.

Your Vision. Sharpened and shipped.

Avatar of the website author

Ashik

Sr. Product Designer

Looking for a fast, reliable designer who gets business too? Let's talk

FFJ

Foreigner from Jupiter