License Lizard

Sales tips · Texas on-premise

Connect your CRM: each rep's daily leads, pushed to Zapier, Make or n8n

Your reps already work out of a CRM — HubSpot, Salesforce, Pipedrive, a spreadsheet, whatever the house runs. Copy-pasting the morning digest into it is the part nobody keeps up. Point License Lizard at one catch-hook URL and we POST each rep's day of leads to it right after the morning digest, signed, once per rep, with a test button so you can see the payload before you trust it.

Updated

Get 3 free leads in your county


Where the webhook URL goes

Sign in, open Manage team, and find Send leads to your CRM. This section is manager-only.

  1. Paste your catch-hook URL into Webhook URL and press Save. The URL must start with https://. Saving creates a signing secret for your team.
  2. Flip on Send each rep's daily leads to this webhook and press Save again.
  3. Press Send a test. We immediately POST two fake rows ("Sample Taproom" and "Sample Cantina", Harris County) so you can wire up the next step in Zapier/Make with real data on screen.
  4. In the members table, every rep has a CRM checkbox. It starts checked; untick it for a rep who shouldn't be pushed (a manager who doesn't sell, for example).

Rotate secret replaces the signing secret — do it if the secret was pasted somewhere it shouldn't be, then update your Zapier/Make step with the new one. The status line under the buttons shows the last push we made: when it went, whether your endpoint answered, and any error it returned.

Timing and retries, so nothing surprises you: the push happens once per rep, right after the morning digest. If your endpoint fails, we retry twice (about 1 and 5 seconds later) and then give up for the day — a missed day is not re-sent the next morning. Your endpoint should answer within 10 seconds; do the slow work (API calls, sheets) in a second step, not inside the hook.

Step 1. Create a catch hook

Zapier. Make a new Zap. For the trigger, choose Webhooks by Zapier, event Catch Hook. Zapier shows you a URL like https://hooks.zapier.com/hooks/catch/… — copy it. Add a second Zap for the test: press Send a test in your License Lizard account and Zapier offers to pull in the sample payload, which is what you'll map fields from.

Make. New scenario, add the Webhooks module, Custom webhook. Copy the URL it gives you. Run the scenario once, press Send a test in License Lizard, and Make captures the sample payload for mapping.

n8n. Add a Webhook node, method POST. Copy its production URL. Test-run the node, press Send a test, and the sample payload appears in the node output.

Any endpoint that accepts a POST with a JSON body works — the CRM itself doesn't matter. From there, a second step in your tool writes each lead where it belongs: a HubSpot "Create contact", a Google Sheets "Add row", a Pipedrive "Create organization".

What we send you

One JSON object per rep per day. Top level:

FieldWhat it is
versionPayload format version, "1". Keys are add-only — we never remove or rename one.
eventdigest.sent for the daily push, test for the Send-a-test button.
digest_idThis rep's digest for that day. The same on every retry of one push.
digest_dateThe day the leads are from, YYYY-MM-DD.
team_id, team_nameYour team.
rep_id, rep_name, rep_emailThe rep these leads belong to.
license_typesThe permit types on your plan: MB (spirits), BG (wine & beer), BE (beer only).
countiesThe rep's counties. [] means all of Texas.
leadsThe day's rows, one object per application event. Fields below.

Each object in leads:

FieldWhat it is
event_typenew_application (filed) or approved (TABC issued the license).
ll_stageThe short version: applied or approved.
trade_nameThe business name on the filing.
ownerOwner name(s) as filed.
license_typeTABC code: MB (spirits), BG (wine & beer), BE (beer only).
address, address_2, city, county, zipWhere the place is.
submission_dateThe date it was filed with TABC.
first_seen_dateThe first day it appeared in our archive — when we saw it.
issue_dateThe date TABC issued the license. Empty until approved.
ll_event_datefirst_seen_date, or issue_date once approved. Sort by this.
applicationidTABC's own record id.
ll_application_idThe same id. This is your dedupe key — see the next section.

Every POST carries four headers. X-LL-Timestamp is unix seconds; X-LL-Signature is sha256= plus an HMAC-SHA256 — keyed with your signing secret — over <timestamp>.<the raw body>; X-LL-Delivery is the same id on every retry of one push, so receivers can drop duplicates; X-LL-Event mirrors the body's event.

Check it in a few lines. Python:

  • Read the raw request body as bytes and the two headers, before any JSON parsing.
  • expected = "sha256=" + hmac.new(secret.encode(), ts.encode() + b"." + raw, hashlib.sha256).hexdigest()
  • good = hmac.compare_digest(expected, headers.get("X-LL-Signature", ""))

Node.js:

  • Read the raw body as a string and the two headers before parsing JSON.
  • const expected = "sha256=" + crypto.createHmac("sha256", secret).update(ts + "." + raw).digest("hex");
  • const good = crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(req.get("X-LL-Signature")));

In Zapier and Make you can't run this inside the hook itself — put it in a small code step (or your own thin endpoint that forwards to Zapier once the signature checks out). Skipping the check is acceptable for a spreadsheet, not for a CRM that creates things.

Upsert on ll_application_id, never the website

Two rules that keep your CRM clean:

  • The dedupe key is ll_application_id. Trade names repeat, addresses repeat, and a re-file at the same address is a different application with a different id. Key your contacts/companies on ll_application_id (store it on the record) and upsert on it. Also keep X-LL-Delivery unique — if you see the same delivery id twice, it's our retry, not a new lead.
  • We never delete. The push is one-way and append/upsert. If a filing later disappears from the public data — withdrawn, reclassified — your CRM keeps the record. Never build a sync that deletes records absent from a day's push: a push is one day, one rep, not the whole territory.

Checklist

  • Catch hook created in Zapier / Make / n8n, URL pasted and saved
  • Test push received (status 200 in the status line)
  • Signature verified in a code step
  • Upsert keyed on ll_application_id, duplicates dropped on X-LL-Delivery
  • Slow work moved out of the hook (answers in under 10 seconds)
  • CRM checkbox off for any rep who shouldn't be pushed

Sources

  • Zapier — "Webhooks by Zapier", trigger Catch Hook
  • Make — Webhooks module, Custom webhook
  • n8n — Webhook node