The fill gaps check
What it does
The check dq.fill_gaps finds fields that are filled on most records of a group but empty on a few.
- A skipped step. A field that 47 of 50 deals have, with 3 deals lacking it, is probably a step someone skipped.
- One card per gap. With the money at stake, examples and a likely cause.
- Read only. The check counts; fixes happen in the card, with a person's approval.
Groups (segments)
Deals are grouped by pipeline: deals that are open, or that closed in the last 365 days. Companies and contacts are grouped by lifecycle stage, from Marketing Qualified Lead upward (customer stages, subsidiaries and churned included). Subscribers and leads are left out because they are mostly created automatically. The check has a setting called include leads that adds them. The app has no screen for it: Askling support sets it.
When a gap opens
A gap opens when all of these are true:
- the group has at least 20 records
- the field is filled on at least 80% of them
- enough records are missing it: the gap minimum you picked (see below)
- nobody said it is normal
A gap stays open until nothing is missing any more, even when the fill rate later drops below 80%. A gap that gets worse never disappears.
Gap minimum
You pick how many records must miss a field before a gap opens. Open Configuration in the run card (the navy card beside the tiles) of Discrepancies:
- At least 3 and 1% (preselected): at least 3 records and at least 1% of the group. Priority High needs at least 5 missing records.
- At least 5%: at least 5% of the group.
- Any missing value: one record is enough. A tiny gap (under 3 records or under 1% of the group) gets priority Low.
So one test deal without a deal type no longer becomes the top card.
Which fields are counted
Every field except these:
- calculated, read only and hidden fields,
- fields created in the last 30 days,
- fields an integration or HubSpot analytics fill,
- fields HubSpot fills from the company domain (logo, social pages, technologies),
- fields that hold a default value everywhere, or are only filled after the sale (your Setup answers),
- fields another check owns, such as the company domain.
The always check list overrides these exclusions. The never check list adds to them. Neither list can be edited in the app; Askling support sets them.
The card
- Title: the object, then the field, then the group: "Deals · Deal type · New business", "Companies · Country · Customer". The same field can have one card per group.
- Band: adds up to the number on the tile: values to approve, values to set, companies Askling tried and could not fill. Fixed means written by Askling or filled by you in HubSpot. The band never says Fixed while a company is still missing.
- Big number: how many are missing of how many. The line under it names the group, such as "Deals in New business".
- Also shown: the fill rate, how many records are new since the last run, and up to 10 examples, newest first.
- Each example: created date, deal amount and the pills open, protected and hands off.
- Contacts: shown as "Contact at" and the company name. Names, email addresses and phone numbers are never shown or stored.
Who owns the missing records
When the missing records have owners in HubSpot, the popup lists them under their owner instead of a flat Examples list:
- Owner rows. One row per owner with the number of records and a green bar for the share. The owner with the most is first; ties go by name, A to Z. The first row is open. Click a row to open or close it. An open row lists that owner's records, newest first, each a link to HubSpot.
- Look there first. The first row says so when there are two or more owners.
- No owner. Records nobody owns, or whose owner left, sit in one last row with their count. Nobody is asked about them.
- The green bar. Under the big number it shows the share of records that have the value, for example
97.6% filled. - Slack and the HubSpot task. Slack 3 owners and HubSpot task for 3 owners sit beside the big number. Slack sends each owner their own records. The task is one HubSpot task per owner.
- A long gap. Askling counts the owners from the first 1,000 records the run listed. A longer gap says
Share of the first 1,000in the column head. - Not shown. A gap without owners keeps the Examples list. Cards with their own record rows (Set value, Assign owners, Find websites, Fill with Askling) keep those rows.
The owners come from the same HubSpot read as Ask the owners. Nothing is written to HubSpot.
Money at stake
- Open deals: the sum of their amount in your reporting currency. A monthly deal value counts as one year of money (your answer in Setup).
- Only closed deals: the won amount.
- Companies and contacts: a count.
- Tile total: each deal once, even when it is missing two fields.
- No amount: the deal is left out, and the card says "1 deal amount not known". Unknown money is never shown as 0.
The owner field counts too
"Company owner missing on 6 of 105" is found like any other field. On Companies · Company owner and Deals · Deal owner you give the records an owner right in the card: Assign owners, then Assign now, with Undo. See Assign owners in the card.
What stands out
The popup says so when one creation source or owner covers at least 60% of the missing records and under 50% of the filled ones. Example: "8 of 9 were created by Web form".
Askling checks your setup
In Configuration, a card says when every segment is under the minimum, so Fill gaps judges nothing, and proposes a lower minimum. See Askling checks your setup.
Records you fill in HubSpot
When you open a card, Askling reads only the records it lists, straight from HubSpot. The ones that now have a value leave the card, the tile and the page totals. The card opens at once with what Askling knew, and HubSpot's answer updates it a moment later. The card says so: 12 filled in HubSpot since the last run, so they left the count. The answer is kept, so the tile is right after a reload without a run.
- Limits. Opening a card reads it again; a second open within a few seconds reuses the answer. A read takes 100 records per HubSpot call and at most 30 calls (3,000 records).
- On a page of cards. The same read runs in the background for at most 6 cards, two at once, at most once a minute per card. Numbers change by themselves if something was filled in HubSpot, and stay if HubSpot cannot be read.
- A longer card says
Checked 3,000 of 4,200 in HubSpot. The rest are checked at the next run. - Read only. Nothing is written to HubSpot. If HubSpot cannot be read, the card keeps its number and says nothing. The next run counts HubSpot itself.
- Values that were waiting. A value waiting for a company you filled in HubSpot leaves the card. If it is still in the inbox, Askling reads the company again before it writes, sees the field is no longer empty and writes nothing.
- A card with nothing left disappears. When Askling wrote every record, you filled them in HubSpot, or both, the tile leaves the page and the Home numbers drop it. A card that is open stays open until you close it.
How to use it
You need first
- Profile: Admin or Non admin to approve, assign or set values.
- HubSpot connected, and a first run done (Home or the run card).
- Know this: the check writes nothing. Each fix in the card is approved by you, written through the safe write path and can be undone. Approve all writes with Undo, and an admin can switch Auto on for a company field in its Fill with Askling section. Auto writes only values Askling is sure of, within a daily limit. See Fill with Askling.
Fix a gap
- Open Data quality, then Discrepancies, and click Run now in its run card. Or wait for the schedule.
- Click a tile such as Companies · Country.
- In the card, click the button that fits the field:
- Owner field: pick an owner under Assign owners and click Assign now. See Assign owners in the card.
- Dropdown, checkbox or yes or no field: pick a value under Set value and click Approve all. See Set value, Ask the owners and Find websites in the card.
- Deal field the reps know: click Ask the owners.
- Company domain name: click Find websites, a web search on the company name, country and city.
- Company field a website states (country, city, Companies · Website URL): click Fill N with Askling, as in Fill 9 with Askling. A redirect or a site that blocks readers is proposed as Unsure. A company without a domain says
No domainon its row: on Companies · Website URL the card then has Set value for typing its address. See Fill with Askling. - Text, number or date field without these buttons: fix it in HubSpot.
- Optional: click Normal, stop flagging if the gap is expected. Type a reason.
- Optional: click Look into it to ask Askling to find the cause. It only reads.
Check it worked: the card band shows the fixed count going up, and a card with nothing left disappears from the category.
What it does not do
- It does not write to HubSpot by itself. You assign owners, set values or approve found domains in the card. Fill with Askling proposes values for company fields a website states, and you approve them.
- It does not store records. Only the numbers and the ids of the missing records are kept.
- It does not judge groups under 20 records. The last run counts them as too small.
- It does not show more than 15 cards (8 per object) from one run. The gaps that did not fit are named on the run card and in the Runs list, for example "2 more gaps wait: Industry, Country". A waiting gap in another segment of a field that already has a card is not named. The line says "in other segments of fields that already have a card".
- It does not count fields it cannot read. HubSpot refusing a field is not the same as the field being empty.
- It does not use AI for the counting. Counting is plain code.
Why it works this way
A missing value on a field that nearly everyone fills is a stronger sign of a broken process than an empty field that nobody fills. Counting is exact: Askling reads each group page by page, 200 records at a time, never through HubSpot's 10,000 result window. At most 4 requests run at once. A run stops after 10 minutes in total, so it never blocks the portal.
Common questions
I filled some records in HubSpot. Why does the card still count them? It does not. Opening a card reads its records in HubSpot, and the filled ones leave the card, the tile and the page totals.
When does a gap come back after I said it is normal? When the number of missing records reaches the number you accepted plus 5 or 50%, whichever is larger. It then returns as reflagged.
Why does a gap stay open when fewer than 80% are filled? Because it was open already. It closes only when nothing is missing any more. The card says so in plain words, for example Only 25% is filled, under your 80% rule. It stays open because it was open before and more went missing. It closes when nothing is missing. A gap that meets the rule shows no such line.
Why does a group not show up? It has fewer than 20 records, it is a lifecycle stage below Marketing Qualified Lead, or its pipeline was marked as ignore in Setup. The last run counts the groups that were too small.
What does "new" mean on the card? Records that are missing the field now but were not missing it at the last run. On the first run it counts missing records created in the last 7 days.
How do I change the gap minimum? Open Data quality, Discrepancies, then Configuration in the run card. Open Records missing before a gap opens, pick a choice and click Save 1 change. The next run uses it, and an open gap stays open until nothing is missing.
Why does Logo URL never get a card? HubSpot fills the logo itself from the company domain. A person never types it, so a missing logo is not a process gap.
Can I change the 80% or the 20 records? Only the gap minimum, in Configuration. The 80 percent threshold, the number of cards and the check lists are defaults that Askling support can change. The group size of 20 changes only when every segment is under it, through a Segments too small card in Configuration.
Why is there no Companies · Company domain name card? The domain checks own the company domain, so fill gaps counts it only when companies.domain is on the always check list, which Askling support sets. That card then offers Find websites.
Is anything written to HubSpot when the kill switch is on? Nothing is written by the run itself. Owners you assign, values you set and values from Fill with Askling wait until Askling is resumed. With the kill switch on it still runs by hand and shows its cards, and scheduled runs wait.
When something goes wrong
| Symptom | Cause | What to do |
|---|---|---|
Run ended partial with Askling stopped counting after 10 minutes. The fields it had finished are up to date. The rest are counted at the next run. | The portal is big and the run reached its 10 minutes in total | Run again. The fields that finished are up to date. See more on this message |
Run failed with The settings of this check are not valid. | The check settings are not valid | Save the settings again. See more on this message |
Run failed with The protection rules are not valid. Open the protection settings and save them again. | Protection rules missing or invalid | Open Settings, then Protection rules, and save. See more on this message |
| A field you expect has no card | It is excluded, too small, or HubSpot refused to serve it | Open Runs and schedules and read the last run in Recent runs for unreadable fields and the exclusion counts |
| Money says not known | No open deal in the gap has an amount, or the money settings are missing | Fill the amounts in HubSpot, or answer the money questions in Setup |