Automated post-purchase review invitations for Vendure, timed off your order dates. Sends a branded, Trustpilot-style email that links to your free Trustpilot review page — no paid Automatic Feedback Service required — and can show your live star rating pulled from the free Trustpilot API.
Plugin page & pricing: https://huloglobal.com/vendure-plugins/review-requests/
https://www.trustpilot.com/evaluate/<your-domain> (organic Service Reviews,
free). Optionally add a free Trustpilot developer API key and the email shows
your live TrustScore + review count as social proof. The link template is
configurable, so you can point at Google reviews or anywhere else instead.reviews.io/company-reviews/store/<id>) or your own link. Paste your review
page and the plugin takes the domain, Place ID or store ID from it; an
identifier the platform cannot use is refused with the reason. Until the
review page is set nothing is sent — no dead review buttons, and nobody is
held back by the cooldown.The e-mail is a 600px card: your logo (or the business name in bold), a bar
in your accent colour, the subject and body you edit on the E-mail tab, then a
footer strip with the unsubscribe link and your footerText. Every e-mail
also carries a plain-text version. The built-in body ends with {{signOff}}:
"Kind regards," and the business name, plus the channel's reply-to address
when one is set. A template you saved earlier renders as it is, inside the
card; to pick up the new built-in text, use Reset to default on the E-mail
tab. Variables: {{firstName}} {{orderCode}} {{businessName}}
{{reviewUrl}} {{ratingBlock}} {{reviewButton}} {{productList}}
{{signOff}} {{unsubscribeUrl}}.
Admin UI:
This registers the Review Requests page (Marketing section of the admin
nav, /admin/extensions/review-requests), the review panel on the order
detail page and the dashboard widget. Open the page, follow the set-up
checklist at the top (SMTP, email, review page, timing, first send), hit
Send test, and switch the channel on.
Since 0.18.0: the invitation e-mail and the unsubscribe pages use the new card design (optional
Since 0.15.2: invitations need
publicBaseUrl(the unsubscribe link); setoptOutSecretto keep unsubscribe links valid across reinstalls (otherwise a per-install secret is generated and stored); the trigger matches orders at or beyond the chosen state within a 45-day window.Since 0.15.3: the email body may be up to 4 MB (the column is widened to MEDIUMTEXT on first boot) and the subject up to 255 characters — larger saves are refused with a
400that says so. Skipped/failed audit rows older than 18 months are pruned monthly on the worker; sent rows are kept.Since 0.17.0: nothing is sent until the review page is set; sending from the order page is free (the weekly report, set-up checklist and the star-rating box are premium); new Customers tab (lists, Not invited yet), an Orders-list bulk action and the unsubscribed list. Tables
review_queueand columnreview_log.queueIdare created on boot.Since 0.16.0: the review button goes through a signed click redirect on
publicBaseUrl, the worker sends a weekly report (Settings → Weekly report), and the admin nav gains a Review Requests entry plus a dashboard widget. Needs@huloglobal/vendure-licence-sdk0.15.1.
evaluate/<your-domain>.| Setting | Default | Notes |
|---|---|---|
| Trigger state | Delivered | Delivered / Payment settled / Shipped |
| Delay (days) | 14 | days after the order date |
| Min order value | 0 | skip low-value orders |
| Cooldown (days) | 120 | don't re-ask the same customer |
| Most invitations per hour | 200 | per channel; scheduled and staff sends together |
| Review link template | Trustpilot evaluate URL | {domain} is substituted; must be an http(s) link |
| Identifier | — | Trustpilot domain, Google Place ID or Reviews.io store ID (validated on save) |
Customers tab → Invite customers from a list. Paste one customer per line —
Name, e-mail, e-mail, Name, Name <e-mail>, the e-mail alone, several
addresses on a line, or a To: line copied from an e-mail (Gmail, Outlook's
Last, First <e-mail>, Apple Mail) — or choose a CSV file (up to 1 MB, 5,000
lines) whose header row names an e-mail column (Email, E-mail address,
Google's E-mail 1 - Value …) and a name column (the first name wins over the
full name; never the company, account, surname or username). Lines that cannot
be read are counted and the first is quoted back. Send now sends the first
20 straight away and the rest in the background, 20 a minute within the hourly
limit; Schedule invites each customer the channel's delay in days from now
(the hourly run sends them while the channel's sending is on). A customer from a
list gets the built-in e-mail without the order sentence (a custom template's
{{orderCode}} is empty for them).
Not invited yet lists recent orders at or beyond each channel's trigger state that have had no invitation (including orders not due yet), flags excluded customers and those in their cooldown, leaves out customers who unsubscribed, and shows the scheduled list rows and the background queue. Select any and press Invite selected. The Orders list gains a Send review invitation bulk action that does the same for the selected orders.
Opt-outs, exclusions, the per-customer cooldown and the hourly limit apply to
every one of these sends. REST (admin, UpdateSettings): POST /review-requests/lists?channelId=&mode=now|schedule (text/plain body), GET /review-requests/not-invited, POST /review-requests/invite-selected, POST /review-requests/bulk-send, DELETE /review-requests/queue/:id; GET /review-requests/optouts (free).
Weekly report (premium). Every Monday at 08:00 (server-local time) the worker
emails one summary of last week — invitations sent, review links clicked,
orders skipped, failures and opt-outs, each against the previous week — plus
up to three next steps while the set-up checklist is incomplete. It is sent
through the same SMTP as the invitations (SMTP_* env or the smtp option),
so it needs nothing extra; without SMTP nothing is sent and the Settings card
says why. The recipient defaults to the first channel reply-to, then the
licence customer email, then the address given to "Email me before it ends";
change it or switch the report off under Settings → Weekly report, where
Send me a test and Preview show exactly what goes out. Sent once per
install, on the worker, and never more than once a week even with several
worker replicas.
Set-up checklist (premium). The Overview opens with the five things that have to be true before invitations go out: SMTP configured, invitation email saved, business name and review page set, a channel switched on, first invitation sent. Each row links to the right tab; Hide puts it away until an item comes undone, and it disappears on its own once everything is done.
Dashboard widget. Dashboard → Add widget → Review Requests: the last 7 days' invitations sent, review links clicked and opt-outs, the licence notice when a trial or key is about to end, and a link to the page.
Click tracking. The review button in every real invitation goes through
GET /review-requests/r/<token> on your publicBaseUrl — a signed, rate-
limited redirect that records the first click on that invitation and sends the
customer straight on to Trustpilot / Google. Previews and test emails link
directly. The Overview shows Clicked (30d) and the click-through rate.
The licence server receives the same numbers (invitesSent,
reviewLinkClicks, invitesSkipped, invitesFailed, optOuts, last 30
days) through the evaluation client and the daily heartbeat — counts only,
never customer data.
Every install starts with a 14-day evaluation with everything enabled (no card needed). Afterwards:
| Free | Premium (licence) |
|---|---|
| Configure, e-mail editor, preview, test send | Automatic sending a set number of days after each order (hourly), Send due now |
| Send the invitation for one order from the order page (opt-outs, exclusions, cooldown and hourly limit apply) | Invite from a pasted or CSV list, now or scheduled |
| Exclusions and the unsubscribe list; one-click unsubscribe | "Not invited yet" with Invite selected; the Orders-list bulk action |
| Click tracking, order note, dashboard widget | Resend (overrides a previous invitation, exclusions or the cooldown — never an opt-out) |
| Trustpilot/Google star-rating box in the e-mail | |
| Weekly e-mail report and set-up checklist |
When a licence lapses nothing is deleted: the premium features stop (the weekly report is not sent, the checklist is not shown, lists and the background queue wait) and resume as soon as a licence is active. Licences: https://huloglobal.com/vendure-plugins/review-requests/.
Vendure >=3.5 <4. MySQL / MariaDB / PostgreSQL (every statement is checked
against PostgreSQL 17 and MariaDB by the corpus test in tests/). Tables are created on
boot. Sends via your SMTP (SMTP_SERVER / SMTP_PORT / SMTP_USER / SMTP_PASSWORD / SMTP_FROM,
or pass smtp to init()).
AGPL-3.0-only — commercial licences available from HULO Global.
Pick monthly or annual on the plugin's admin banner and click Subscribe (cancel any time), or choose lifetime — checkout opens in a new tab and the key installs itself within a minute. You can also buy at https://elite.charity/licence/buy/vendure-plugin-review-requests and paste the emailed key into the admin.
All notable changes to @huloglobal/vendure-plugin-review-requests are documented
here. Format: Keep a Changelog; this project
follows semantic versioning.
publicBaseUrl host and the HULO licence server keeps one evaluation per site
(localhost and private hosts are keyed on the install's public address network). A reinstall, a
new database or a new container hostname picks up the original evaluation; once it has ended it
stays ended. Days left come from a signed answer counted on a monotonic clock, so changing the
system clock or blocking the licence server can't extend it. Licensed installs are unaffected.@huloglobal/vendure-licence-sdk ^0.15.8.email.accentColor (default #155dfc),
email.logoUrl, email.logoWidth and email.footerText.{{signOff}} variable: "Kind regards," and the business name,
plus the channel's reply-to address when one is set. Templates you saved keep their own wording and render
unchanged inside the new card; Reset to default picks up the new text.@nestjs/common
12.5, @nestjs/schedule 12.0.4, nodemailer 6.10, typescript 5.9, vitest 2.1.9 and types).en translation sent no product list. Each product now uses
the order channel's default language, then English, then any translation it has./review-requests/optout
from the site root; it now posts back to its own address.400 on POST too (it answered 200).http(s) links and #rrggbb
colours).Parity with the WordPress edition (HULO Review Requests 0.1.x + Pro), and the new tier split.
trustpilot.com/review/<domain>) or the shop's own address gives the
domain, a Google writereview?placeid=… link gives the Place ID, a Reviews.io page gives the store ID.
An identifier the platform cannot use (Trustpilot's own address, a g.page link as a Place ID, a store ID
with spaces) is not kept and the save says why; a custom link must be an http(s) link. The Connect
button applies the same rules.reviews.io/company-review/store/{id}/new, which
is not a review page; it is now https://www.reviews.io/company-reviews/store/{id}, and a template saved
by an earlier version is read as the new one.PREMIUM_FEATURES lists exactly the premium features above (it listed send-now for any order and
exclusions, which are free).POST /review-requests/lists?channelId=…&mode=now|schedule (text/plain or text/csv body).GET /review-requests/not-invited, POST /review-requests/invite-selected,
DELETE /review-requests/queue/:id.POST /review-requests/bulk-send.GET /review-requests/optouts.maxPerRun, now labelled "Most invitations per hour") counts scheduled and staff
sends together, per channel.review_queue (list rows and the background outbox) and column review_log.queueId, both
created on boot (MariaDB/MySQL and PostgreSQL); existing data is untouched. A worker job runs the outbox
every minute.${} expression used to stop the extractor silently).isAdminApiSession from the licence SDK 0.15.6, the same rule as Vendure's own AuthGuard). The admin UI
is unaffected; administrators logged in before the 3.8 upgrade log in again once, as Vendure already
requires. No change on Vendure 3.5 to 3.7.@nestjs/graphql 14, Apollo Server 5), as well as 3.5 to 3.7.
The peer range stays @vendure/core >=3.5.0 <4.0.0; nothing here needs 3.8.@huloglobal/vendure-licence-sdk ^0.15.6.license field is now AGPL-3.0-only, matching LICENSE, which grants the GNU Affero
General Public License version 3 (it said AGPL-3.0-or-later). Published npm builds remain under the
separate commercial licence described in LICENSE. No code changes.^0.15.4. The first weekly report is no longer skipped either (it used to start a week late). MySQL and MariaDB were not affected.homepage is now the product page, https://huloglobal.com/vendure-plugins/review-requests/, instead of the GitHub repository.description that npm shows in full (npm cuts descriptions at 255 characters). Keywords drop nps (the plugin sends no NPS surveys) and add customer-reviews and google-reviews.Security and reliability fixes. One table (review_email_claim) is created on boot.
vendure-token), so an
administrator whose role covers one channel could read every channel's send
log (customer emails), config (review-platform API keys), stats, templates,
order panels and customer search, change other channels' config and
templates, and send for their orders. Holding the permission on the default
channel still means every channel (no change for the usual admin); otherwise
only the active channel. Install-wide settings (licence activate/deactivate,
purchase and billing-portal links, weekly-report settings and test send,
evaluation reminders) now need a role on the default channel.escapeHtml also escapes " and ': a customer-chosen first name placed in an
attribute of an edited template could add attributes (such as its own link).Retention pass: a weekly report, a set-up checklist, a dashboard widget and
review-link click tracking. One shared table (hulo_plugin_prefs) and one
column (review_log.clickedAt, with an index) are created on boot. Requires
@huloglobal/vendure-licence-sdk 0.15.1.
GET /review-requests/r/<token>, HMAC over the log row id using the same
secret as unsubscribe links) that stamps review_log.clickedAt on the
first click and sends the customer on to the review page. Previews and
test emails link straight to the review page. The Overview gains a
Clicked (30d) tile with the click-through rate next to Sent.GET/POST digest/settings,
POST digest/send-test, GET digest/preview.GET setup): SMTP
reachable, invitation email saved, business name and review page set,
sending switched on, first invitation sent — each with a hint and a link
to the right tab. Hide it once you are done; it comes back if an item
comes undone. The same items feed the weekly report's next steps.GET widget) shows the 7-day
invitations sent, review links clicked and opt-outs with a link to the
page.invitesSent, reviewLinkClicks,
invitesSkipped, invitesFailed and optOuts for the last 30 days are
reported through both the evaluation client and the daily heartbeat, so
renewal and win-back emails can say what the plugin did. Numbers only.GET meta now includes notice (trial ending, key
expiring, evaluation ended), premiumFeatures, recentStats and
buyUrl. The licensed banner shows the amber notice strip when one
applies and reads "Renews automatically — current key valid until …" for
subscriptions; the trial and free banners list what a licence includes
and the 30-day figures so far. Every "needs a licence" failure (402 or
a licence_required / premium-feature body) is worded the same way in
the admin, and 402 bodies carry buyUrl.review_log row as sending before
the email goes out (so the email can carry that row's click link), then
sets sent or failed. logSend returns the row id.evalStats() reports the last 30 days (was all-time invitesSent).licenceKeyProvider), so an install licensed from the admin page or by
the purchase claim no longer reports unlicensed until restart — the
licence server keeps its usage stats after purchase.Optimisation pass — no new features, no new tables. review_template.body
is widened from TEXT to MEDIUMTEXT on MySQL/MariaDB at boot (Postgres TEXT is
already unbounded).
IN (…) queries instead
of three round trips per order. Skip logging is unchanged (still once
per order and reason). A failed lookup aborts the channel run rather
than sending past the exclusion list.GET /stats no longer runs the full
dry-run scan on every open: the pending summary is memoised for 60 s,
shared between concurrent callers, and dropped after a real run, a
manual send, or a config / exclusion / opt-out change.Number.isFinite guard, formatScore).review_template.body is MEDIUMTEXT (16 MB; was 64 KB
— templates with inlined images were silently truncated). Saving now
returns 400 with the size in the message when the subject exceeds 255
characters or the body 4 MB, and a 500 with the database message
instead of a bare "Save failed"; the admin UI shows that message.review_log rows with
status <> 'sent' older than 18 months are deleted in batches of 5 000.
sent rows are kept — dedup and cooldown depend on them.tests/pg-corpus.test.ts, skipped unless
HULO_PG_URL is set) extracts every SQL statement in src/, translates
it with the dialect adapter and runs it against PostgreSQL 17 with
quoted-camelCase stand-ins for the Vendure tables. 43 statements, all
passing.Reliability and security pass — no new features. A review_claim table
and a (status, createdAt) index on review_log are created on boot.
List-Unsubscribe headers on every email and a rate limit on the route.
Sending is refused when no publicBaseUrl (hence no unsubscribe link)
is configured.review_claim
before the email goes out, so the hourly cron (worker), "Send due now"
(server) and the order page can no longer send twice for the same order;
a failed send releases the claim for the next run.PaymentSettled/Shipped triggers matched only
orders still in exactly that state; an order that had moved on to
Delivered was skipped. The scan now matches every state at or beyond the
trigger, and the lookback window is 45 days (was 3) so slow deliveries
and worker downtime no longer lose invitations silently.SUM(boolean) replaced with SUM(CASE …); ADD COLUMN IF NOT EXISTS
replaced with an information-schema check (MySQL 8 boots again).requireTLS on 587 replaces a
fresh transport per message; a failure on one order no longer aborts the
whole run; log values are truncated to their columns.@, timers are cleared on destroy.hulo-global-logo.svg is now the HG wordmark on the HULO black rounded square (the same mark as the huloglobal.com header), with explicit -light and -dark variants alongside the auto-switching default..env edit, no restart. Renewed subscription keys are picked up automatically too. New admin endpoints licence/purchase-link and licence/claim-status.@huloglobal/vendure-licence-sdk ^0.12.0.order.channelId column, but Vendure stores the order↔channel
relation in the order_channels_channel join table — so the hourly scan
failed on every install (the error was caught and logged, and no
invitations were ever sent). The scan, the admin order panel and manual
send now resolve the channel through the join table.dbConnectionOptions use.
Verified against PostgreSQL 17. MySQL/MariaDB installs are unaffected
(byte-identical passthrough).GET /review-requests/customers/search,
GET /review-requests/exclusions/check.POST /review-requests/trustpilot/detect — resolve review link +
business-unit id + live rating from a domain (+ key) in one call.First release.
trustpilot.com/evaluate/<domain> page (organic reviews, no paid AFS). Optional
free Trustpilot API key reads the live TrustScore + review count to show as
social proof in the email. Link template is configurable (Google, etc.).