What you get
- One company per filing. Each lead is upserted as a HubSpot company, matched on our application id (
ll_application_id). A filing that appears again updates the same company; it never creates a second one. - License Lizard properties, in a group called "License Lizard", created for you at connect:
| Property | What it holds |
|---|---|
ll_application_id | TABC's record id. The unique key we match on. |
ll_license_type | MB (spirits), BG (wine & beer) or BE (beer only). |
ll_county | The county on the filing. |
ll_stage | applied while pending, approved once TABC issues the license. |
ll_submission_date | The date it was filed with TABC. |
ll_first_seen | The first day it reached our archive. |
ll_issue_date | The date TABC issued the license. Empty until approved. |
ll_last_seen | The date of the digest that last carried it. |
ll_owner_name | Owner name(s) as filed. |
ll_rep_email | Email of the rep whose digest carried it. |
ll_assigned_rep_email | The rep the routing table picked. Empty if none. |
ll_venue_history | What the address was before this filing: new_venue, reopening, license_change, ownership_change, existing_license. Empty for older leads. |
ll_operator_locations | How many other active licensed locations the same owner runs. Empty when unknown. |
- Standard company fields: name (trade name), address, city, zip, state
TX, countryUnited States. - Owner: set from the routing table when it resolves to a rep who has a HubSpot user with the same email.
- A dynamic list, "License Lizard leads", made at connect. It holds every company that has an
ll_application_id, so it fills itself.
Step 1. Connect in about a minute
- Sign in, open Manage team, and find the HubSpot section under the CRM webhook section. Manager only.
- Press Connect HubSpot. HubSpot opens its own approval page for License Lizard.
- Choose the HubSpot account (portal) and approve the access it asks for.
- HubSpot sends you back to your account page. The HubSpot section now shows the portal name and the date you connected.
On connect we create the properties and the list and read your HubSpot users so owners can be matched. If anything fails, nothing is saved and the page shows the reason. Press Connect HubSpot again to retry.
Step 2. Set the routing table
Owners come from the routing table, which is also used by the webhook. For each new lead, the first rule that gives a rep wins:
- An explicit county rule. You picked a rep for that county in the routing table.
- The one territory match. The single active member whose territory includes that county. If zero or two or more members match, this rule is skipped.
- The default rep. Set once at the top of the table.
If none applies, the company is still pushed, with no owner set. Save the table after each change; members who leave the team are dropped from it automatically.
Step 3. Choose your settings
The HubSpot section has three switches. Each saves as soon as you flip it.
- Push leads. Turns the push on or off for the whole team.
- Set company owner from routing. Off means companies are pushed without an owner.
- Also push approvals. Off means only
appliedleads are pushed. On means a filing also goes in when TABC issues it.
The per-rep CRM checkbox in the members table also applies. An unticked rep's leads are not pushed to HubSpot, the same as to the webhook.
How approvals update a company
A filing is pushed once it is applied. When TABC issues the license, the next digest carries the same application id with ll_stage = approved and ll_issue_date filled in. The existing company is updated in place. We never create a second company for the same application.
Timing and failures
- The push runs once per rep's digest, right after the morning email. Each digest is pushed once.
- If HubSpot rejects the push, we do not retry the next day. The status line under the HubSpot section shows the time, the number of companies and the error. Fix the cause and wait for the next digest, or use Send a test to check.
- Send a test pushes two sample companies, "Sample Taproom" and "Sample Cantina". They are labelled so you can find and delete them yourself in HubSpot.
What we never do
- Delete a company, a property or a list. The push is one-way and append/upsert only.
- Overwrite a value with a blank. Empty fields are left out of the push, so anything already in HubSpot stays.
- Touch deals or contacts. We write companies and our
ll_*properties, nothing else.
Troubleshooting
- Status says the push failed with an auth error. The connection was revoked or the app was removed in HubSpot. Press Disconnect, then Connect HubSpot again.
- Companies arrive without an owner. The routing rep has no HubSpot user with the same email, or the user was added after connect. Add the user in HubSpot, press Refresh owners on the panel, then run Send a test.
- Two companies for one filing. This only happens if someone edited or cleared
ll_application_idon one of them. Put the original id back on the one you want to keep, and delete the other by hand. - Nothing arrives at all. Check that Push leads is on, the rep's CRM box is ticked, and the status line shows a recent digest.
Checklist
- HubSpot connected from the team panel, portal name shown
- Routing table saved: a default rep and the counties you care about
- Owners refreshed after adding HubSpot users
- Send a test shows two sample companies in the "License Lizard" group
- Sample companies deleted in HubSpot by hand
- Also push approvals set the way you want
Not HubSpot?
For Zapier, Make, n8n or a spreadsheet, use the webhook instead: Connect your CRM.
Sources
- HubSpot developer docs — OAuth, CRM companies, properties and lists