Skip to Content
All Applications

SaaS / SMS Marketing

CliqNote

An SMS marketing platform for local businesses in Greece: build a list of customers who opted in, send campaigns and automated messages, and see whether an offer actually brought someone through the door.

Visit the Site (opens in a new tab)
  • React
  • Fastify
  • PostgreSQL
  • Prisma
  • Stripe
  • SMS
The CliqNote campaigns list, next to a menu of contacts, imports, forms, segments, automations, offers and integrations.
Campaigns, with demo data.

Product Overview

CliqNote helps cafés, hair salons, barbershops and other local businesses stay in touch with their customers by SMS: build a list of people who said yes, choose who receives each message, send it, and see what happened.

Messages go only to contacts who gave consent, and every message carries a working unsubscribe link. Around campaigns sit automations for welcome messages, birthdays, inactive customers and date reminders, and offers with a QR code that staff scan in the shop.

It is built for the Greek market: accounts default to Greek, the pages customers see are in Greek, the message counter shows how Greek characters change an SMS's length, and the invoicing integration is built for Greek VAT and myDATA.

Problem & Purpose

Local businesses already have their customers' phone numbers. Sending them a message usually means a phone's contact list, no record of who agreed to receive it, and no way to tell whether it worked.

CliqNote starts from consent and measures the result where it happens: in the shop. A redemption counts once, when a staff member scans the customer's code, which makes it the one number in the product that a bot cannot inflate.

Core Workflows

Contacts and consent — Each number appears once per business, with a consent status, tags and custom fields such as a membership end date.

Growing the list — CSV import, and hosted signup forms with a printable QR code. A submission only counts if the customer ticks the consent box.

Segments and campaigns — Choose recipients by consent, tags and fields, preview the message, run a pre-send check, then send now or schedule it.

An honest character counter — It shows how many SMS parts a message will use: 160 characters for Latin text, 70 once the text needs Unicode.

Automations — Welcome, birthday, inactivity and date-field reminders, such as three days before a membership ends.

Offers and QR — A campaign can carry an offer with its own page and code. Staff scan it with the phone's camera, and each code can be redeemed once. Results show messages delivered, offer pages opened and offers redeemed.

Billing — Subscriptions and SMS top-ups through Stripe Checkout, with SMS credit tracked in a ledger that reserves, commits and releases each send.

CRM import — A read-only Zoho CRM connection maps and imports contacts.

Architecture Overview

A React and TypeScript single-page app, built and published through Lovable, talks to one Fastify API, which also serves the public pages' data and the providers' webhooks.

PostgreSQL on Neon through Prisma, with every business's records tagged by account in one shared database. Sign-in tokens carry the user, the account and the role, and must match the session.

An SMS provider sends the messages and reports delivery through a webhook. Stripe handles payments, tax and VAT-number checks. Elorus issues invoices and tracks their submission to myDATA, the Greek tax authority's e-invoicing system. Resend sends email. Zoho CRM is read through its query API, with tokens encrypted at rest.

Scheduled work runs inside the API: due campaigns every minute, automations every five minutes, and the CRM sync and invoicing jobs on their own intervals.

The API runs on Render and is deployed from the main branch. Staging deploys any exact commit, so a release is tested before it reaches production.

Stack

Frontend: React 18, TypeScript, Vite, Tailwind CSS, shadcn/ui, TanStack Query, React Hook Form, i18next

Backend: Node.js, Fastify 5, Prisma 6, PostgreSQL (Neon), Zod, node-cron

Messaging: an SMS provider's API, Resend (email)

Payments and invoicing: Stripe (Checkout, Billing, Tax), Elorus (myDATA)

Integrations: Zoho CRM

Testing and CI: Node's test runner, Vitest, Playwright, GitHub Actions

Hosting: Render (API), Lovable (frontend)

Key Engineering Decisions

Consent enforced in code — Messages go only to subscribed contacts with a valid number. A public signup form cannot resubscribe someone who opted out, and contacts imported from the CRM start without consent until they give it.

One rule for the unsubscribe link — The system has no inbound SMS handler, so replying STOP would unsubscribe no one. Every campaign and automation must therefore carry a working unsubscribe link, enforced by one shared check wherever a message is validated, scheduled, sent or activated.

Payments processed once — Stripe webhooks are signature-checked and each event is stored under a unique ID, so a repeated delivery changes nothing. The database allows one invoice document per payment.

Redemptions that cannot double-count — Redeeming an offer is a single conditional update, so scanning the same code twice counts once.

Invoicing behind a deliberate switch — Invoices stay drafts unless issuing is switched on with an exact value, so a typo or a missing setting cannot issue real tax documents.

Every pull request proves itself — Unit tests, a blocking secret scan, a blocking dependency audit, tests proving the safety checks would catch their own removal, add-only migrations replayed on an empty PostgreSQL 16, and smoke suites against a real database.

Releases on record — Each production release has a written record of the exact commit, the migrations and the rollback plan. The newest valid record is the rollback target, and a script confirms that the deployed version matches the approved commit.

Why It Matters

In CliqNote the hard parts are not the screens. They are consent and opt-out rules, payments and Greek tax invoicing, and messages that must go out once, on time, and only to the right people.

I designed it and built it end to end: the backend, the integrations and the release process by hand, and much of the frontend with Lovable.