Hashlogics
Case study · Healthcare SaaS

Algoricum

Every patient inquiry answered in seconds, until it books.

A multi-tenant platform that pulls clinic leads from 11 sources into one pipeline and puts a trained AI assistant on every one.

Client
Algoricum
Industry
Healthcare technology / Patient acquisition for clinics
Engagement
Multi-tenant SaaS · AI nurturing engine · Integrations hub · Subscription billing
Overview

Your clinic's leads arrive from Facebook Lead Ads, Google forms, your website, JotForm and a CRM. Then they sit in separate inboxes until someone at your front desk has a free minute. By then the patient has often booked elsewhere. Algoricum closes that gap. Hashlogics built the platform where every source plugs into one pipeline. A per-clinic AI assistant makes first contact within seconds, by SMS and email, and keeps going until the patient books.

The challenge

Why your front desk was losing paid leads.

Algoricum serves medical aesthetics, chiropractic, dermatology and dental clinics. Their growth depends on new patients, and their front desks have no time to chase every inquiry.

01

Your leads landed in five or more places: Facebook Lead Ads, Google lead forms, JotForm, website forms and CRM exports.

02

Your front-desk staff followed up between patients, often hours or days after the inquiry.

03

Nobody on your team had a shared view of which leads were contacted, nurtured, booked or lost.

04

An inquiry that arrived at night or on a weekend waited for your next shift.

05

Generic CRMs such as HubSpot and Pipedrive knew nothing about staff hours or appointment slots.

06

Sending email from your own domain meant manual DNS and deliverability work.

What success needed to look like

  • Every channel you connect delivers leads into the pipeline with no manual import.
  • A new lead gets its first automated touch within seconds, not hours.
  • Each lead's full conversation, AI qualification and booking status sit in one place you can open.
  • You can sign up a new clinic, verify it, connect its channels and go live without us.
Our approach

One pipeline for every clinic.

  1. 01

    Put every source behind one webhook

    You connect Facebook, Google, HubSpot, Pipedrive, JotForm, Typeform, Gravity Forms, GoHighLevel and NexHealth once, by OAuth or webhook. From then on a new inquiry is a row in your pipeline, whichever door it came through.

  2. 02

    Queue the burst, never block the app

    Webhook spikes land in pgmq queues inside PostgreSQL. Dedicated workers drain them in batches for lead ingestion, SMS and email, so an ad campaign taking off can't stall your dashboard.

  3. 03

    Train one assistant per clinic

    You upload your services, pricing and testimonial documents. A GPT-4.1 assistant answers from those, in your clinic's terms, and you retrain it from the dashboard when the price list changes.

  4. 04

    Give each clinic its own number and domain

    Your workspace gets a dedicated Twilio number and a Mailgun sending domain. Namecheap creates the DNS records for you, so deliverability never waits on someone editing a zone file.

  5. 05

    Stop the moment the patient responds

    A nurture sequence halts on a reply, a booking or an unsubscribe. SMS STOP keywords and one-click email unsubscribe halt it too. A booking flips the lead to Booked and creates a task for your staff.

  6. 06

    Keep the secrets off the browser

    Stripe, Twilio, Mailgun, OpenAI and NexHealth calls all run in serverless functions. Roles and per-route permissions live in the database, and every record is keyed to your clinic workspace.

From new inquiry to booked appointmentLive
  1. InquiryArrives from any connected channel by webhook.
  2. IngestAn edge function extracts the lead and GPT cleans the raw fields.
  3. QueueStored and queued in PostgreSQL.
  4. First touchAssistant texts and emails within seconds.
  5. NurtureSMS and email follow-ups repeat after a delay.
  6. BookedThe lead books through the clinic's link and staff get a task.
The solution

What we built.

Algoricum is a cloud dashboard where you connect your lead channels once and every inquiry flows into one pipeline. The AI assistant texts and emails each new lead within seconds, answers replies, scores interest and urgency, and shares your booking link. You watch the booked-conversion funnel and lead metrics by source. Your front-desk team works the pipeline inside its configured hours, and your marketing staff or agency connect channels and tune the sequences.

One limit is worth knowing. A trained assistant only answers from what you upload, so a clinic that never updates its price list gets an assistant quoting the old one. That is why retraining sits on your dashboard rather than with us.

  • 01Unified lead pipeline: every channel in one searchable list with statuses, filters and the full history of each conversation
  • 02AI nurturing sequences written by the assistant, with the first touch seconds after a lead arrives
  • 03Two-way SMS and email conversations that qualify each lead and share your booking link
  • 04Integrations hub for 11 lead sources plus Calendly, Acuity, Square and Booksy booking links
  • 05Analytics dashboard with KPI cards, appointment trends, a booked-conversion funnel and daily tasks generated for you
  • 06Scheduling board tied to your booking link; a new booking flips the lead to Booked and creates a staff task
  • 07Staff management: you set roles and working hours, and new staff must change their password on first login
  • 08Multi-clinic workspaces: each of your clinics keeps its own data, numbers, sending domain and billing
  • 09Stripe-hosted subscription checkout with trials, invoices and payment reminders: email-only free tier, SMS and email on paid plans
  • 10Hosted intake form, public meeting-request page and an embeddable chat widget secured by hashed API keys that expire yearly
  • 11Five-step onboarding you complete yourself: clinic profile, hours, billing plan, lead capture, booking link
Under the hood

Frontend

  • Next.js 15
  • React 18
  • TypeScript
  • Ant Design 5
  • Tailwind CSS
  • Redux Toolkit
  • TanStack Query v5

Backend & data

  • Supabase
  • PostgreSQL 15
  • Supabase Auth with OTP
  • Supabase Storage
  • pgmq job queues
  • About 30 Deno Edge Functions
  • Next.js API routes
  • Versioned SQL migrations

Integrations

  • Facebook Lead Ads
  • Google Ads
  • Google Forms
  • HubSpot
  • Pipedrive
  • JotForm
  • Typeform
  • Gravity Forms
  • GoHighLevel
  • NexHealth
  • Twilio (A2P 10DLC)
  • Mailgun
  • Namecheap DNS
  • Calendly
  • Stripe
  • OpenAI GPT-4.1

Delivery & quality

  • Vercel
  • Vercel Speed Insights
  • GitLab merge requests
  • SonarQube
  • Husky
  • lint-staged
  • ESLint
  • Prettier
  • DOMPurify
Algoricum clinic dashboard with lead, conversion, and engagement metrics
Your clinic dashboard: new leads this week, conversion rate, time to conversion and lead metrics by source.
Algoricum chatbot settings with greeting, theme, and widget appearance controls
You set your own chatbot greeting, colours and logo for the embeddable widget.
The takeaway

The model is the easy part. What makes Algoricum work is the plumbing around it. A queue absorbs a webhook burst. Each clinic gets a sending domain with the DNS done for you. A sequence knows to stop the second a patient answers. Adding your next clinic is a data change, not a deployment.

By , CEO, HashlogicsUpdated
Start

Let’s deploy working AI into your business.

We build AI agents and automation, ship them into the tools you already run, then stay on under an agreed service level. A senior engineer reads every brief, and your call gets scheduled within 24 hours.

What happens next

  1. 01

    You send a brief or book a call

    Two minutes, whichever you prefer.

  2. 02

    A senior engineer replies within 24 hours

    Not a sales rep.

  3. 03

    Honest scoping, in writing

    And if we’re not the right fit, we say so.

Abdul Basit, CEO of Hashlogics

“I started Hashlogics because too many teams ship a demo, get paid, and disappear. We build to a standard we’d run ourselves — and we stay to keep it running.”

Abdul Basit · CEO · a direct line

Not ready to talk? Take the checklist.

12 questions to ask any AI agency before you sign. They separate a demo shop from a team that ships to production.

Get the checklist

Free · no newsletter