Affinsy for Haravan

Market basket analysis for Haravan orders, turned into a test backlog.

Upload a Haravan order export or add one private webhook in Haravan's own settings. Affinsy finds the products your customers buy together, segments them by purchase behavior, and hands you ranked experiments to run. No Haravan app to install.

7-day free trial · First report in minutes

01 · How it works

What market basket analysis finds inHaravan order data.

Market basket analysis is a data mining technique that reads every order in your Haravan store and finds the products that land in the same basket more often than chance would predict. The output is a list of association rules: if a customer buys product A, how likely they are to also buy product B, and how much more likely than a random shopper. Every rule is ranked by revenue impact rather than statistical lift alone, and arrives with the hypothesis it supports.

Rule · #4 of 200Moderate
Salvia 'Caradonna' → Lavandula 'Hidcote'
Support
10.4%
Confidence
67%
Lift
2.9×
Revenue through the pair$84.6k
01 · Support
Support

How often the pair appears together across all orders. Salvia 'Caradonna' and Lavandula 'Hidcote' share a basket in 10.4% of the sample store's orders, so the rule rests on hundreds of real transactions rather than a handful.

Rule · #4 of 200Moderate
Salvia 'Caradonna' → Lavandula 'Hidcote'
Support
10.4%
Confidence
67%
Lift
2.9×
Revenue through the pair$84.6k
02 · Confidence
Confidence

How often the second product follows the first. 67% of baskets holding the Salvia also hold the Lavandula, which decides whether a product-page recommendation lands.

Rule · #4 of 200Moderate
Salvia 'Caradonna' → Lavandula 'Hidcote'
Support
10.4%
Confidence
67%
Lift
2.9×
Revenue through the pair$84.6k
03 · Lift
Lift

How much more likely the pair is than chance. A lift of 2.9 means customers who buy the Salvia are almost three times as likely to buy the Lavandula as a random customer. Above 1 is a real association; below 1 is a pair of substitutes that cannibalise each other.

Numbers from the live sample report →

Beyond the same basket,what else the report sees.

01 · Adaptive support
Rules with evidence behind them

The minimum-support floor adapts to your order count, between 0.3% and 5%, so a 2,000-order store and a 200,000-order store both get rules that hold up. Substitute pairs and out-of-stock products are filtered out of the ranked list by default, because a bundle built on two products that replace each other loses money.

02 · Purchase order
What customers buy first

Same-basket rules cannot tell you which product opens the relationship. Purchase order looks across a customer's later orders and reports which product tends to come first, so you know what to lead with in ads and on the homepage.

03 · Replenishment
Products bought on a cycle

Consumables come back on a rhythm the basket view never shows. In the sample store, pine bark mulch is reordered every 129 days on average by 278 repeat buyers: a reorder reminder waiting to be scheduled, with the audience already built.

Affinsy report — replenishment table: 64 products with a repeat cadence, each with its reorder cycle and range, consistency meter, repeat rate, buyers, reorders and estimated revenue, with totals for buyers before, in, and past their reorder window
In window
$4.6M
665 buyers due to reorder right now
02 · Getting data in

How your Haravan data gets in

Three paths, all using what Haravan already gives you. Affinsy is not a Haravan app: there is nothing to install and no store-wide permissions to grant.

Upload an order export
CSV upload
  1. In Haravan admin, open Đơn hàng (Orders), then Tất cả đơn hàng, and click Xuất dữ liệu (Export).
  2. Pick Tất cả đơn hàng or a month or quarter range, choose CSV, and click Xuất đơn hàng. Files over 200 rows arrive by email.
  3. Drop the file into Affinsy. Haravan's Vietnamese column names (Mã đơn hàng, Tên sản phẩm, Số lượng sản phẩm) are detected and mapped automatically.
Choose CSV rather than Excel: Affinsy reads CSV files. Order times in the file are in UTC; Haravan admin shows them 7 hours later.
Add a private webhook
Webhook
  1. Copy your signed webhook URL from the Affinsy dashboard.
  2. In Haravan admin, open Settings, then Notifications, scroll to Webhooks and click Add webhook. Pick the new-order event and paste your URL.
  3. Copy Haravan's webhook authentication secret from the same page into Affinsy. New orders stream in automatically from then on.
Private webhooks are a built-in Haravan setting for the store owner account, not an app.
Push over the API
REST API
  1. Create a dataset and authenticate with your API key.
  2. POST orders to /api/v1/data/orders from your pipeline, one by one or in batches.
  3. Trigger runs and pull results over /api/v1/reports, or get a webhook when a run finishes.
Built for agencies that plug Affinsy into an existing data pipeline.Read the API docs
03 · What you get

Two reports and a plan,from one order history.

Affinsy report — executive summary revenue waterfall: captured revenue, winnable cross-sell, replenishment due, total potential
On the table
$3.5M
+25% on captured revenue
01 · Market Basket Analysis
What sells together

Association rules over your real orders: which products pull each other into the cart, how often, and what each pairing is worth. Ranked by revenue impact, not just statistical lift.

02 · RFM Segmentation
Who your customers are

Every customer scored on recency, frequency, and monetary value, then grouped into segments like Champions, Loyal, At risk, and Hibernating, each with counts and revenue share. Acquisition cohorts show which months' new customers came back and what they are worth.

03 · Test backlog
What to do about it

Each finding comes with a hypothesis you can act on: the bundle to offer, the segment to target, the cross-sell to test, ranked so you know where to start.

Browse the live sample report →Segment exports come as formatted CSVs ready for Klaviyo, Omnisend, MailerLite, Mailchimp, HubSpot.
For agencies

Running Haravan stores for clients?

One workspace, one dataset per client, on a flat $299/month for up to 10 client datasets. Schedule reruns on your cadence and walk into every QBR with a fresh, statistically backed test backlog instead of rebuilding spreadsheets the night before.

5 team seats10 client datasetsDaily scheduled reruns
See how agencies use Affinsy →
04 · Playbooks

What to do with the ruleson Haravan.

The report ends in a ranked test backlog. These are the four places its findings usually go on a Haravan store.

01
Combo · Buy X Get Y
Bundle candidates

Take the top rules by revenue with lift above 1.5 and enough support behind them, and build them with Haravan's Combo and Buy X Get Y apps. Start with pairs the substitute filter has already cleared.

02
Related products
Product-page recommendations

Use the related-products slot on each Haravan product page for the highest-confidence consequent, so the slot shows what customers actually add rather than what you guessed.

03
RFM export · CSV
Email by segment

Export any RFM segment as a CSV with Klaviyo, Omnisend, or MailerLite headers and send it its own offer: win-back for At risk, early access for Champions, a second-order nudge for new customers. The rules tell you which product to put in the email.

04
Replenishment audience
Reorder reminders

For products on a replenishment cycle, schedule a reminder just before the observed gap. Affinsy builds the audience of customers due in that window, so the email reaches people who are about to run out rather than everyone who ever bought.

Affinsy report — ranked association rules table with tags, trend sparkline, score, lift, confidence, support, revenue through the pair and AOV delta, with substitutes and out-of-stock products hidden
Bark mulch → Compost
$619.2k
revenue behind the top rule, 1.1× lift
05 · Questions

Haravan specifics

Does Affinsy read Haravan's export as-is?

Yes. Haravan exports one row per product line with Vietnamese column names, the same layout as Shopify's order export. Affinsy recognizes Mã đơn hàng, Email, Ngày đặt hàng, Tên sản phẩm, Mã sản phẩm, Giá sản phẩm, and Số lượng sản phẩm and maps them for you. You see the mapping before anything is processed.

Do I need an app from the Haravan App Store?

No. Affinsy is not a Haravan app. You upload a CSV export, add a private webhook in Haravan's own notification settings, or push orders over the API. Nothing is installed in your store.

How does Affinsy know a webhook really came from Haravan?

Haravan signs every delivery with your webhook authentication secret, and Affinsy checks that signature before storing anything. Deliveries that fail the check are rejected.

What is market basket analysis?

A data mining technique that finds products bought together more often than chance would predict. It works on transaction data you already have: one row per product per order. Affinsy runs it on your Haravan order export and reports each pairing with its support, confidence, lift, and the revenue flowing through it.

Which algorithm does Affinsy use?

Association rule mining with a minimum-support floor that adapts to your order count for same-basket rules, and PrefixSpan for the purchase-order sequences across a customer's later orders. You never set thresholds by hand; a re-run dialog is there if you want to override them.

How do I run market basket analysis on Haravan data?

Export your orders, upload the file, and start the analysis; the first report is ready in minutes. The result is a ranked list of association rules with the revenue behind each one, plus RFM segments and a test backlog built from the same order history. No spreadsheet formulas, no Python.

How many orders do I need for useful results?

RFM segmentation works from your first upload. Market Basket Analysis gets stronger with more co-purchase history: the more orders you include, the more reliable the bought-together rules become, so export the widest date range you can.

What about customer privacy?

Affinsy only needs a stable per-customer identifier for segmentation. You can use a customer number or a hashed email instead of a raw address if you prefer to keep PII out. If you plan to export segments to an email tool later, keep real email addresses in the data.

Affinsy for Haravan

Your next bundle is alreadyin your order history.

Export your Haravan orders and see the first report in minutes.