Where the webhook URL goes
Sign in, open Manage team, and find Send leads to your CRM. This section is manager-only.
- 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. - Flip on Send each rep's daily leads to this webhook and press Save again.
- 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.
- 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:
| Field | What it is |
|---|---|
version | Payload format version, "1". Keys are add-only — we never remove or rename one. |
event | digest.sent for the daily push, test for the Send-a-test button. |
digest_id | This rep's digest for that day. The same on every retry of one push. |
digest_date | The day the leads are from, YYYY-MM-DD. |
team_id, team_name | Your team. |
rep_id, rep_name, rep_email | The rep these leads belong to. |
license_types | The permit types on your plan: MB (spirits), BG (wine & beer), BE (beer only). |
counties | The rep's counties. [] means all of Texas. |
leads | The day's rows, one object per application event. Fields below. |
Each object in leads:
| Field | What it is |
|---|---|
event_type | new_application (filed) or approved (TABC issued the license). |
ll_stage | The short version: applied or approved. |
trade_name | The business name on the filing. |
owner | Owner name(s) as filed. |
license_type | TABC code: MB (spirits), BG (wine & beer), BE (beer only). |
address, address_2, city, county, zip | Where the place is. |
submission_date | The date it was filed with TABC. |
first_seen_date | The first day it appeared in our archive — when we saw it. |
issue_date | The date TABC issued the license. Empty until approved. |
ll_event_date | first_seen_date, or issue_date once approved. Sort by this. |
applicationid | TABC's own record id. |
ll_application_id | The same id. This is your dedupe key — see the next section. |
Verify the signature (recommended)
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 onll_application_id(store it on the record) and upsert on it. Also keepX-LL-Deliveryunique — 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 onX-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