Skip to content
Skip to content
/work

Miiglu

Flenq

2026 · Designed & Built (Solo)

A Cloudflare-native no-code automation platform: visual flow canvas, durable workflow engine, agents with memory, a real headless browser and six channel connectors.

engine tests
239

packages/engine 196 more

api tests
83
channel connectors architected
6
engine, solo
1
Flenq visual editor showing an Order Status Trigger, Fetch Order Details, and Send Receipt flow
Flenq Flow editor · the same canvas, nodes and run console in light and dark via Carbon theming

Problem

Automation platforms either run on expensive always-on servers or hand you a brittle queue of webhooks. Nothing let you draw the whole thing, deploy it as an agent that survives indefinitely, and have it live in WhatsApp, Telegram or your own site, without a per-seat bill.

What I built

  • Flows are data, not code: the canvas graph is JSON, interpreted at runtime by a Cloudflare Workflows engine that parks on step.waitForEvent() and resumes on sendEvent(), so thousands of idle agents cost approximately nothing.
  • One Workflow instance per installed agent, delivered as a Dynamic Worker so each flow loads on demand and is governed in isolation, instead of one static interpreter class handling every tenant.
  • One Worker per channel (telegram, gmail, email, web-chat, whatsapp, sms) so channel isolation is the deployment boundary. Inbound webhooks ack the provider in 200ms and hand off through a Queue.
  • Agents are a model-agnostic ReAct loop with pluggable memory (session / D1 / R2), routed through a dedicated AI Worker. Workers AI by default, BYOK Claude / OpenAI / Gemini via AI Gateway Store Keys. Raw keys never touch D1, KV or the client.
  • A real browser block on Cloudflare Browser Run with Stagehand extraction, session persisted in a Durable Object, and a LiveBrowser surface streaming the headless session back into the editor.
  • A voice builder agent: an Agents SDK Durable Object with barge-in, Deepgram Flux STT and Aura TTS, where the agent edits the live canvas over voice and narrates its own diffs.
  • Sandboxed custom scripting in QuickJS-WASM (no eval in workerd), a SQL console, media attachments with per-kind caps, and full audit history on every state transition.

System design

Telegram

WhatsApp

Gmail

Email

SMS

Web chat

embeddable widget

Connector worker

one per channel

200 ack to provider

filter + ack in ms

Cloudflare Queue

inbound buffer

Workflows engine

one instance per agent

step.waitForEvent

sendEvent re-entry

agent

model-agnostic ReAct loop

memory

session / D1 / R2

run_code

QuickJS WASM

browser

Cloudflare Browser Run

ai

stateless one-shot

Dedicated AI worker

WorkersAI

Workers AI default

AI Gateway

BYOK by provider

D1

relational

KV

routing + cache

R2

archives + media

Stack

  • React Router v8
  • Cloudflare Workflows
  • Durable Objects
  • WorkersAIWorkers AI
  • AI Gateway
  • Browser Run
  • D1
  • KV
  • R2
  • Queues
  • React Flow
  • IBMIBM Carbon
  • Hono
  • Drizzle ORM
  • TypeScript

Links