All work

$ cd ~/work/triagely

Python · Google Gemini

Triagely

A tool for a small online store: it reads an export of customer messages, sorts each one, drafts a reply in the store's own voice and scores the wholesale enquiries. Nothing is ever sent.

Triagely

00//the walkthrough

walkthrough.mp4Length 1:53
2-minute walkthrough: the safety rules, the review page with its flagged drafts, the wholesale view and live scoring, how it works and the sample output.

3 screens · tap to enlarge

01//the problem

A small store's inbox mixes order questions, returns, complaints and the occasional bulk buyer, and the owner answers every one by hand. The valuable wholesale enquiries get buried, and an AI that replies on its own can promise a refund or claim an order has shipped when it hasn't.

02//the approach

A Python script sends each message to Google Gemini with the store's policy and sample replies, and gets back a category, a priority, the customer's mood, any quantity and company, and a draft. The script then decides: it checks the quantity and company are really in the message, scores leads by the owner's thresholds and tests every draft against the policy, before writing a review page and a CSV.

03//what I built

01

Six categories, one priority

Order status, returns, product question, wholesale, complaint or other, each with a high, normal or low priority.

02

Drafts in the store's voice

Written from a one-page policy and a few of the owner's own replies.

03

Wholesale lead scoring

Hot, warm or cold by the owner's thresholds; a quantity or company the message doesn't contain is ignored.

04

Rules that run in code

Refunds, angry customers, claimed order statuses, promises and quoted prices are flagged “check before sending”.

05

Review page and CSV

A wholesale-only view and a copy button on every draft, with everything also saved to a CSV.

// the impact

6
Categories
Hot · warm · cold
Leads
Never automatic
Sending

Triagely is DevoraX client work. The live demo shows the review page from one real run on 30 fictional messages, with a demo-only panel for trying the scoring rules; it makes no AI calls. The 2-minute video above walks through the safety rules, the review page, the wholesale view and the sample output.

// let's build yours

Have a product like this in mind?

Chat on WhatsApp