Capture new WhatsApp leads and log them for your law firm

Catches new WhatsApp messages, checks for duplicates, and saves new leads straight into your Supabase database.

How the work actually flows

It branches. Exactly one path is taken.

Pattern: Exclusive Choice (4)

flowchart TD trig>"new whatsapp message arrives"]:::trig s0["extract phone number"]:::task s1["check for existing lead"]:::task trig --> s0 s0 --> s1 gx{"× is the lead new"}:::gate s1 --> gx p00["save lead to supabase"]:::task gx -->|"new lead"| p00 p10["skip record"]:::task gx -->|"duplicate lead"| p10 p00 --> out p10 --> out out[/"deduplicated lead record saved"/]:::out pay{{"no lost or duplicate leads"}}:::pay out --> pay classDef task fill:#e7f6fe,stroke:#34b8f0,color:#2c2a29 classDef svc fill:#f6f8fa,stroke:#7c8795,color:#2c2a29 classDef mi fill:#e7f6fe,stroke:#0079a8,color:#2c2a29,stroke-width:2px classDef human fill:#fff,stroke:#0079a8,color:#0079a8 classDef store fill:#f6f8fa,stroke:#0079a8,color:#2c2a29 classDef trig fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigtime fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigdata fill:#8ad4f5,stroke:#0079a8,color:#06314c,font-weight:bold classDef gate fill:#fff,stroke:#e8a23d,color:#6b4708,font-weight:bold classDef out fill:#1f9d6b,stroke:#167a53,color:#fff,font-weight:bold classDef pay fill:#06314c,stroke:#021f33,color:#fff
Starts itA stepOne path onlyResultPayoff
Build size
Standard

A mid-size build with several tools working together.

Business functions
CRM & Sales PipelineLead Generation & ProspectingMessaging & NotificationsSpreadsheet & Database OpsAPI & Webhook Integration
Connects
WhatsAppSupabase
Featured in

The problem it solves

Leads reach out on WhatsApp at all hours, and if no one is watching, an inquiry can sit unanswered and eventually get lost. Copying every new contact into a spreadsheet or CRM by hand also means duplicates and missed follow-ups.

Who it fits

Law firms and legal practices that receive client inquiries over WhatsApp.

How it works

  1. A new WhatsApp message comes in
  2. The system extracts the sender's phone number
  3. It checks Supabase to see if the lead already exists
  4. A new lead is saved to Supabase with source and timestamp details
What you get

Every inquiry logged the moment it lands

New WhatsApp inquiries get captured and stored automatically, so no client message slips through the cracks.

What you get

A clean, deduplicated record of every new lead in your Supabase database, ready for follow-up.

What you need

A WhatsApp business messaging connection and a Supabase account.

We can build this. But should you?

The hard question is not how to build it. It is whether this is the right thing to build first.

That is what a Fractional Chief AI Officer figures out with you, before anyone writes a line of code.

Let's Talk Strategy

Related automations

Back to the AI Playbook