Work / RevIQ
Business suite for Thai vendors and small companies
RevIQ
Run your business like a brand. Not like a side hustle.
One workspace for contacts, deals, invoices, Thai tax and payroll, a shared inbox, e-signatures and AI lead qualification. Built three times in five months, each version simpler and better tested than the last.
Live, behind login · May to October 2026

- 3
- generations of the product: v1, Suite, and the V2 rebuild
- 2,222
- commits across the three repositories
- 20
- modules described on this page, from contacts to payroll
- 73
- test files in the current version, run in CI
Chapter 1
The idea
A freelancer or small vendor in Thailand runs the business from LINE, a spreadsheet and memory. RevIQ gives them the tools a bigger company has, in Thai and English, on a phone first.
Every relationship is an asset
The first marketing site set the tone: dark indigo, an emerald action colour, and a serif italic for the one phrase that matters on each page.
The headline speaks to the person the product is for: someone good at their work who wants to be taken seriously.
- Thai and English, switchable on every page
- PromptPay, VAT and withholding tax named up front
- Phone-first layouts


LeadIQ: AI qualifies every lead, you talk to the ones who are ready 
Pipeline: both sides see every stage, zero disputes
The full pages
Scroll inside each frame to read the page from top to bottom.

Scroll inside the frame
LeadIQ, complete page 
Scroll inside the frame
Pipeline, complete page
Chapter 2
The modules
What is inside, grouped by the job it does. Each of these exists in code, with routes, components and its own data model.
People and deals
- Rolodex
- The contact hub. Every person and company lands here, with duplicate detection and a scanner that turns a photo of a business card into a contact.
- Pipeline
- A deal board with stages you configure. Commercial progress and money collected are tracked side by side, never merged into one number.
- Inbox
- Email and LINE in one place: compose with a branded signature, tag threads, connect a mailbox by forwarding.
- Connect
- A public smart link for each person and team, with a themed page that merges what they offer and how to reach them.
Money
- Invoices and PaySync
- A hosted invoice page the customer opens from a link. If they have a question about it, the reason comes straight back to the vendor.
- VAT, withholding tax and reconciliation
- Thai tax handled correctly, including withholding tax certificates, expense review and bank reconciliation.
- Payroll
- Thai payroll with social security and income tax withheld each month, payslips, and a year view.
- Accountant pack
- One secure link that hands the accountant everything for the period.
Agreements and legal
- SignIQ
- A block-based agreement composer with automatic clause numbering, then send-to-sign by link, with the signed PDF produced at the end.
- LegalIQ
- Case files built from events and claims, an agreement builder, and a "pressure test" that looks for the weak points in an argument. Bilingual, and it never invents law.
- Vault
- Document storage with automatic classification and Bates numbering, so every page of a bundle has a stable reference.
- Evidence organiser
- Built as an isolated module with its own security tests: original files kept unchanged, organised into exhibits that are ready for court. It was later spun out as its own product.
Growth and AI
- LeadIQ
- Scores each new lead against a rubric for the industry, writes a nurture plan, and drafts replies in three passes: plan, write, check.
- FlowIQ
- A visual editor for referral flows, with blocks, triggers, templates and validation before a flow can run.
- Referrals and ambassadors
- Referral tracking across accounts and a tiered ambassador programme with an audit trail.
- Storefront and forms
- Themed public pages and a form builder, so a vendor's page looks like their brand, not like the tool.
The platform underneath
- Custom permission roles
- Ten built-in roles plus roles a workspace defines itself, teams, and time-boxed delegation. Access is denied unless a rule allows it.
- Entitlements
- One place decides which plan can use which feature, so limits are configuration and never scattered through the code.
- A registry that generates code
- In V2, fields are declared once in YAML and the code that uses them is generated from that.
- An AI test harness
- Scripted conversations run against the assistant and are judged against pass gates before a prompt change ships.
Chapter 3
Three generations
The honest story of the product is that it was rebuilt twice, and each rebuild threw away more than it kept.
What changed each time
- v1 · May to June 2026 · 957 commits
- The first app: referral workflow, lead qualification, storefronts and a partner programme. Fast, broad, and without automated tests.
- Suite · June to September 2026 · 706 commits
- A rewrite that added almost every module on this page. 165 screens and 304 server routes. It proved what the product should be, and how much it had grown.
- V2 · August to October 2026 · 559 commits
- A clean rebuild around a typed registry. Fewer screens, 73 test files, continuous integration and a self-audit script. This is the version that is live.
What the rebuilds taught
The second version had the features. The third has the structure: one registry for fields, one place for permissions, tests beside the money code. The rule that came out of it is now a standing one across every Studio R7 project: replace the old piece by piece, never rewrite everything at once.
Chapter 4
The brand kit
"The handoff, in a kit." Everything a designer or developer needs to build a RevIQ surface, on one page.
A brand kit you can download from
Marks, wordmarks, colour, type, voice, motion and code, with every logo variant ready to download at the size you need.
The rules are strict: Geist for interface text, no weights heavier than semibold, no pure black, touch targets of at least 44 pixels, and a 360-pixel phone as the starting point.

The whole kit
Scroll inside the frame: logos, the colour system, type scale, voice examples, motion and the code tokens.

Scroll inside the frame

Horizontal lockup 
App tile 
How the mark is constructed

The home page on a phone
Chapter 5
Papers
Architecture and product specifications written along the way.
Architecture, specifications and audits
A selection from the repositories. Summaries are public; the full documents are shared on request.
Architecture1,126 lines
Architecture v2
The foundation for the rebuild: the workspace model, channel adapters for LINE, WhatsApp and email, and the decision engine.
Architecture134 lines
Entitlements
How plans and features are gated from one place, and how that closes the loop with billing.
Design205 lines
Theme architecture
Design tokens, presets and safely scoped custom styles, so each storefront can look like its own brand.
Design3 documents, 389 lines
SignIQ composer and send-to-sign
The agreement composer, how a document goes out for signature, and what the signer sees.
Plan388 lines
LeadIQ engine plan
Scoring, nurture plans and replies that are planned, written and then checked before they are sent.
Design514 lines
Form builder redesign
A user-experience review of the form builder and the redesign that followed.
Built with
- Next.js 16
- React 19
- TypeScript
- Tailwind 4
- Firebase and Firestore
- Stripe
- Claude API
- LINE
- Twilio WhatsApp
- Postmark and Resend
- pdf-lib
- Tesseract OCR
Next story
Studio R7
You know the problem. We make the technology work.