License Lizard

Sales tips · Texas on-premise

Connect HubSpot: every lead as a company, owners set from your routing table

If your reps work out of HubSpot, you can skip the webhook. Connect HubSpot once and each morning's leads land in it as companies, with the License Lizard fields filled in and the owner set from a county routing table you edit on the team panel. Nothing is deleted, and nothing in HubSpot is changed except our own fields and the company record itself.

Updated

Get 3 free leads in your county


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:
PropertyWhat it holds
ll_application_idTABC's record id. The unique key we match on.
ll_license_typeMB (spirits), BG (wine & beer) or BE (beer only).
ll_countyThe county on the filing.
ll_stageapplied while pending, approved once TABC issues the license.
ll_submission_dateThe date it was filed with TABC.
ll_first_seenThe first day it reached our archive.
ll_issue_dateThe date TABC issued the license. Empty until approved.
ll_last_seenThe date of the digest that last carried it.
ll_owner_nameOwner name(s) as filed.
ll_rep_emailEmail of the rep whose digest carried it.
ll_assigned_rep_emailThe rep the routing table picked. Empty if none.
ll_venue_historyWhat the address was before this filing: new_venue, reopening, license_change, ownership_change, existing_license. Empty for older leads.
ll_operator_locationsHow many other active licensed locations the same owner runs. Empty when unknown.
  • Standard company fields: name (trade name), address, city, zip, state TX, country United 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

  1. Sign in, open Manage team, and find the HubSpot section under the CRM webhook section. Manager only.
  2. Press Connect HubSpot. HubSpot opens its own approval page for License Lizard.
  3. Choose the HubSpot account (portal) and approve the access it asks for.
  4. 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:

  1. An explicit county rule. You picked a rep for that county in the routing table.
  2. 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.
  3. 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 applied leads 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

  1. 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.
  2. 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.
  3. Two companies for one filing. This only happens if someone edited or cleared ll_application_id on one of them. Put the original id back on the one you want to keep, and delete the other by hand.
  4. 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