AVARCSolutions
HomeAboutServicesPortfolioBlogCalculator
Contact Us
All blogs

Refront: How We Built AI Workflow Automation

A deep dive into Refront, the AI-powered workflow automation platform built by AVARC Solutions — from concept to production.

AVARC Solutions20 Jan 2026 · 9 min read
Refront: How We Built AI Workflow Automation

Introduction

When we started AVARC Solutions, we kept building similar automation layers for different clients: ingest data, classify it with AI, route it to the right person, and trigger follow-up actions. After the third time we rebuilt the same pipeline from scratch, we knew it was time to productize it.

That product became Refront — an AI-native workflow automation platform that lets teams design, deploy, and monitor intelligent automations without stitching together a dozen SaaS tools. In this post we share the technical journey from idea to production.

The Problem Refront Solves

Modern businesses run on workflows. A support ticket arrives, needs to be categorized, assigned to the right agent, and answered within an SLA. A new lead fills out a form and needs scoring, enrichment, and a personalized follow-up. An invoice is received and needs matching to a purchase order before approval.

Most companies solve these with a mix of Zapier, Make, custom scripts, and manual work. The result is fragile, hard to debug, and impossible to scale. Refront replaces that patchwork with a single platform where AI handles the decision-making and orchestration.

The key differentiator is that Refront treats AI as a first-class citizen in the workflow. Instead of bolting an LLM call onto a traditional automation, the entire routing and classification logic is driven by language models that improve over time.

Architecture and Technology Stack

Refront is built on a modern event-driven architecture. At its core is a workflow engine that processes events through a directed acyclic graph (DAG) of steps. Each step can be a transformation, an AI inference call, a conditional branch, or an external API call.

The backend runs on Node.js with Supabase for data persistence and real-time subscriptions. We chose Supabase because it gave us Postgres, authentication, storage, and real-time out of the box — all things we needed without wanting to manage them ourselves.

For the AI layer, we built an abstraction that supports multiple providers — OpenAI, Anthropic, and Google — so customers are never locked into a single model. The abstraction handles retries, fallbacks, and cost tracking transparently.

The frontend is a Next.js application with a visual workflow builder. Users drag and drop steps, configure AI prompts, and connect external services. Every change is versioned so teams can roll back without fear.

Building the AI Classification Engine

The heart of Refront is its classification engine. When an event enters a workflow — say, an incoming email — the engine uses a fine-tuned model to determine intent, extract entities, and decide the next step.

We started with prompt engineering using GPT-4 and quickly learned that generic prompts produce inconsistent results at scale. So we built a feedback loop: every time a human corrects a classification, that correction feeds into a training set for the next model iteration.

After three months of production data we saw classification accuracy jump from 78 percent to 94 percent. The remaining six percent are edge cases that get routed to a human reviewer, which in turn generates more training data. It is a virtuous cycle.

Lessons Learned in Production

Running an AI-powered platform in production teaches you things that no amount of prototyping can. The biggest lesson was about latency. Users expect automations to feel instant, but an LLM call can take two to five seconds. We solved this by running classification asynchronously and showing a "processing" state in the UI.

The second lesson was about cost. LLM inference is not free, and a customer running 50,000 events per month can accumulate significant API costs. We built a caching layer that deduplicates identical inputs and a model-routing system that sends simple tasks to cheaper models.

The third lesson was about observability. When an automation fails at step seven of a twelve-step workflow, the user needs to know exactly what happened. We invested heavily in structured logging and a visual debugger that shows the state of every variable at every step.

Conclusion

Building Refront taught us that the future of automation is not about connecting APIs — it is about giving AI the context it needs to make good decisions. The platform is now in production with multiple clients and handles tens of thousands of events per week.

If you are drowning in manual workflows or outgrowing your current automation tools, reach out to us. We would love to show you what Refront can do for your team.

Share this post

AVARC Solutions

AI & Software Team

Related posts

How AI Transforms the Customer Experience
Product updates

How AI Transforms the Customer Experience

From personalized interactions to predictive support — how businesses are using AI to create customer experiences that feel intelligent, fast, and human.

AVARC Solutions10 Mar 2026 · 8 min read
AI-Driven Personalization in Web Applications
Product updates

AI-Driven Personalization in Web Applications

Users expect a tailored experience. Discover how AI-driven personalization works, what data you need, and how it increases conversion and retention.

AVARC Solutions5 Sept 2025 · 7 min read
The Ethics of AI in Business Software
Product updates

The Ethics of AI in Business Software

As AI becomes embedded in business decisions, ethical questions move from academic theory to practical urgency. We explore bias, transparency, accountability, and what responsible AI looks like in practice.

AVARC Solutions25 Jun 2025 · 8 min read
The ROI of AI Integration in Existing Software
Product updates

The ROI of AI Integration in Existing Software

What does it concretely deliver when you integrate AI into your existing software? An honest look at costs, benefits, and payback period.

AVARC Solutions17 Mar 2025 · 7 min read
e-bloom
Fitr
Fenicks
HollandsLof
Ipse
Bloominess
Bloemenwinkel.nl
Plus
VCA
Saga Driehuis
Sportief BV
White & Green Home
One Flora Group
OGJG
Refront
e-bloom
Fitr
Fenicks
HollandsLof
Ipse
Bloominess
Bloemenwinkel.nl
Plus
VCA
Saga Driehuis
Sportief BV
White & Green Home
One Flora Group
OGJG
Refront

Ready to build your
digital future?

Get in touch and discover how AVARC Solutions can transform your ideas into working software.

Contact usView our projects
AVARC Solutions
AVARC Solutions
AVARCSolutions

AVARC Solutions builds custom software, websites and AI solutions that help businesses grow.

© 2026 AVARC Solutions B.V. All rights reserved.

NavigationServicesPortfolioAbout UsContactBlogCalculator
ResourcesKnowledge BaseComparisonsExamplesToolsRefront
LocationsHaarlemAmsterdamThe HagueEindhovenBredaAmersfoortAll locations
IndustriesLegalEnergyHealthcareE-commerceLogisticsAll industries