B-Glass
Harcastle Environmental logo

Matching rule for duplicate customer records

Email thread

Harcastle Environmental logo Harcastle Environmental · support

Imran Hussain asked for a matching rule for customers appearing twice from the routing and helpdesk sources. Dominic Hale agreed company number then site postcode, merged the duplicates on 10 Jun 2026 and left a leftover list for Imran to review.

What was said

What this says

As at Fri 9 Oct 2026

Imran Hussain asked for a matching rule for customers appearing twice from the routing and helpdesk sources. Dominic Hale agreed company number then site postcode, merged the duplicates on 10 Jun 2026 and left a leftover list for Imran to review.

Ask: Imran wanted one agreed rule so the merge was done once and could be restored. He stressed that nothing was broken and the connectors loaded cleanly.

Customer view: engaged and constructive. He tested the rule on a sample before proposing it, and Dominic accepted it with the routing record as survivor.

Next: Imran reviews the leftover list and sends ids of true matches. Marcus Bell may raise it in the next review with Nicola.

AI · claude-sonnet-5-5 · as at Fri 9 Oct 2026

The thread

Updated 9 Oct 26
Typesupport
Messages4
First message2026-06-02
Last message2026-06-10

Messages

  1. Imran Hussain
    Imran Hussain 2 Jun 2026 11:23
    to Dominic Hale
    Hi Dominic, I've got a data question rather than a fault. Some customers are showing up twice in the brain, once from the routing source and once from the helpdesk source, with slightly different names and spellings. Nothing is broken, the connectors load cleanly, but the account managers are seeing two records for one site and it is confusing the picture. Before I change anything, I'd like to agree a matching rule with you so that the merge is done once and done properly. I don't want to delete anything I can't restore. Can you tell me what you'd need from me to look at it? Imran
  2. Dominic Hale
    Dominic Hale 2 Jun 2026 11:41
    to Imran Hussain
    Hi Imran, Thanks for flagging it. I've taken ownership of this, and I've copied Marcus so he is in the loop. Here's what we know: the connectors are healthy and the records are loading, so this is about how they are matched, not about a failure on our side. What we don't yet know is how widespread it is. Could you send me a few examples? For each, the customer id from both sources and the name as it appears in each. That will let me see what the records have in common. My first thought is that company number is the most reliable thing to match on, as names and spellings drift. I'd rather not guess at a second step until I've seen your examples. Next update by 16:00 tomorrow. Thanks, Dominic
  3. Imran Hussain
    Imran Hussain 5 Jun 2026 17:09
    to Dominic Hale
    Hi Dominic, Sorry, it took me longer than I said to get this together. I wanted to test it first. I went through the examples and the pattern is clear. Where both records have a company number, it matches every time. A few records have no company number, mostly sites, and for those the site postcode is the next most reliable thing. So the rule I'd suggest is: - match on company number first - where there is no company number, match on site postcode - anything that still doesn't match stays separate and goes on a list for me to check by hand I tried it on a sample and it gave the results I expected. Which customer id is the survivor in each case? I'd suggest the routing record, since the account managers know it, but I'm happy to follow your view. If you agree, I'd like to merge the duplicates. Imran
  4. Dominic Hale
    Dominic Hale 10 Jun 2026 14:13
    to Imran Hussain
    Hi Imran, Agreed on the rule: company number first, then site postcode, and anything left over stays separate for you to check by hand. I think that is sensible, and I'd keep the routing record as the survivor, as you suggest. Here's what is confirmed: the duplicates are merged and the account managers should now see one record per site. I kept the list of the records before the merge, so we can reverse anything that looks wrong. What I haven't confirmed is the leftover list. That's yours to review, and if any of those look like true matches, send me the ids and I'll fold them in. If anything looks odd on your side in the next week, tell me and I'll pick it up myself. Marcus is copied so he can mention it in the next review with Nicola. Thanks, Dominic

BG-Demo is a fictional company; every organisation and person here is invented. B-Glass is the tool. Data as of Fri 9 Oct 2026. Help & Support

Help & Support

Open as a page

Help & Support

B-Glass is one place to read everything the company knows about its customers: the CRM, calls, emails, support tickets, product usage, invoices, documents, news and HR. Every page is built from those systems and the data is current to Fri 9 Oct 2026.

How to use the site

How to ask

Press Ask B (the speech bubble) in the header, or open the Ask B page. Type a question, or pick one of the suggestions.

What the data covers

DataRecords
Organisations225
People at customers862
BG-Demo staff records (in post and leavers)58
Calls1,995
Email threads3,013
Support tickets1,159
Documents1,218
Deals315
Invoices285
Events49
News items119

Data as of Fri 9 Oct 2026. Text marked AI was written by the AI from the records listed in its made-from link; an AI output that cannot cite its evidence is refused and the previous text kept. Where two systems disagree (for example a contract and the CRM), the key facts show both values and mark the difference.

BG-Demo is a fictional company: every organisation, person and figure here is invented for this demonstration. B-Glass is the tool that reads its data.

Who to contact

Email info@b-glass.uk or talk to your B-Glass account team. Tell us the page address and what looked wrong; a screenshot helps.

Help

Ask B

B-Glass · read-only