# Match Recipes on HubSpot

> Every comparison Dedupify can apply to a property on HubSpot, the options each one has, and which properties make reliable rules.

A **recipe** is how Dedupify compares one property when it checks two contacts for duplicates. Each recipe cleans both values first, for example by ignoring case or stripping a company suffix, then compares them. Recipes are tuned to one kind of value, so an email address and a company name aren't compared the same way.

See how values are cleaned before they are compared:

**Normalization: why these match**

1. **Spot the same value written two ways** Records hold the same fact in different forms: a phone number with brackets on one, with a country code on the other.
2. **Both values are cleaned first** Each recipe cleans both values before it compares them, so formatting alone never separates two records. Extensions are ignored, and an email ignores case.
3. **Each recipe cleans its own kind of value** An email ignores +tags, and a name ignores accents. Each is an option under What counts as the same on the field's card, on by default, and you can turn it off.
4. **Typos stay as typed** Cleaning removes formatting, and a misspelled name stays a different value.

Dedupify picks the recipe from the property's type, and for common properties such as email and phone it fixes the choice. Where a property has a real choice, a field's card offers it under **Change how this field is compared**, in the **Comparison** list. **Automatic** is the recipe Dedupify would pick, and the field's current recipe is marked **(current)**. The list never offers a strong identifier. A field on an identifier such as email, or on a property whose recipe is fixed, has no list: Dedupify already applies the right comparison. A name field keeps a name recipe, and switching recipe resets the field's options to the new recipe's defaults.

For how rules use recipes, see [Match Rules](../rules/).

## Choosing the right properties

A recipe's signal strength sets how much it counts in a pair's score. **Weight** is the multiplier **Test pair** shows next to each property.

| Recipe | Typical values | Signal strength | Weight |
|---|---|---|---|
| Match by email address | Email | Strong identifier | 2 |
| Match by phone number | Phone, mobile, fax | Strong identifier | 2 |
| Match by LinkedIn profile | LinkedIn URL | Strong identifier | 2 |
| Match by ID from another system | Account or ERP number | Strong identifier | 2 |
| Match by website domain | Website, domain | Supporting signal | 1 |
| Match by first name | First name | Supporting signal | 1 |
| Match by last name | Last name | Supporting signal | 1 |
| Match by full name | Full name | Supporting signal | 1 |
| Match by company name | Company name | Weak signal | 0.5 |
| Match by country, state, postal code | Address parts | Weak signal | 0.5 |
| Match by text | Short text | Weak signal | 0.5 |
| Match by dropdown | Single choice | Weak signal | 0.5 |
| Match by multiple checkboxes | Multiple choice | Weak signal | 0.5 |
| Match by job title, department, middle name | Title, team, initial | Tie-breaker | 0.25 |
| Match by number, yes/no | Numbers, flags | Tie-breaker | 0.25 |

* **Strong identifiers** anchor a rule. A rule with one produces far fewer false positives than a rule on names or text, and only a rule with one can auto-merge.
* **Supporting signals** work combined with a strong identifier or with each other.
* **Weak signals** narrow a rule that already has a stronger signal. Never use one alone.
* **Tie-breakers** count for very little and never decide a match.

Start with one strong identifier plus one or two supporting signals.

Give an identifier **A different email rules the pair out** (with the field's own name in place of "email"), or choose **Rule out the match** under **When one record is blank**, when two records that differ on it should never merge.

## Settings shared across recipes

* **Fuzzy match** appears on recipes that can match approximately, on by default. Off, the recipe accepts exact matches only, which is also the only mode where a veto applies. Phone numbers call it **Multi-step match**: on, Dedupify matches international, national and partial forms of one number; off, only the whole number counts.
* **A different value rules the pair out** (a veto on conflict) and the blank-values choice, **Skip this field** or **Rule out the match**, are explained in [Match Rules](../rules/#blank-values-and-conflicts).

You set all three on each field's card. Fuzzy match and the other toggles below appear under **What counts as the same**, the veto under **When the values differ**, and the blank choice under **When one record is blank**.

## Recipe catalog

### Identifiers

#### Match by email address

Same address after ignoring case, +tags, dots in Gmail addresses, the googlemail.com spelling and common typos in free email domains. Different addresses never match, even at the same company.

Pair it with **A different email rules the pair out** on most rules.

* **Fix typos in free email domains**: on by default. `alex@gmial.com` matches `alex@gmail.com`.
* **Ignore +tags**: on by default. `alex+work@gmail.com` matches `alex@gmail.com`.
* **Treat googlemail.com as gmail.com**: on by default.
* **Ignore dots in Gmail addresses**: on by default. Dots in other addresses always count.

#### Match by phone number

Same number written differently: `+1 (415) 823-9047` and `4158239047` match. Extensions are ignored. When only the last digits agree, it counts as a weaker match.

* **Multi-step match**: on by default, as described above.

A whole-number match qualifies a rule for auto-merge. Partial matches go to review.

#### Match by LinkedIn profile

Same profile name at the end of the address, whatever the country site or trailing slash: `linkedin.com/in/jane-doe` and `@jane-doe` match. A value that isn't a LinkedIn address doesn't match. Coverage is often incomplete, so it works best as an extra signal.

#### Match by ID from another system

Identical once spaces are ignored. Different IDs never match. For IDs that should be unique, such as an account number synced from another system.

* **Ignore spaces**: on by default. `PO 12345` matches `PO12345`.
* **Ignore dashes, dots and slashes**: off by default. On, `AB-123` matches `AB123`.
* **Case sensitive**: on by default, so `ABC` and `abc` differ.
* **A different value rules the pair out**: always on and locked, with **This always applies to this kind of field.** Two different IDs can't be the same record.

Choose **Rule out the match** for blank values if every record should have one.

#### Match by website domain

Same domain: `https://www.harborlogistics.com/about` and `harborlogistics.com` match. Typos in the ending, such as `.con` for `.com`, are fixed first. `harborlogistics.com` and `harborlogistics.co.uk` differ.

* **Ignore subdomains**: on by default. `shop.harborlogistics.com` matches `harborlogistics.com`. Off, the part before the domain must match too.

Combine a domain with a company name for a reliable company rule.

### Names

#### Match by first name

Same after ignoring case and accents and treating nicknames as the full name: Bob and Robert match.

* **Treat nicknames as the full name**: on by default. Turn it off if your records hold names from other languages.
* **Ignore accents**: on by default. `José` matches `Jose`.

#### Match by last name

Same after ignoring case, accents, hyphens and endings such as Jr. or III: `Smith Jr.` matches `Smith`, and `Smith-Jones` matches `Smith Jones`.

* **Ignore Jr., III and PhD endings**: on by default.
* **Ignore accents**: on by default. `García` matches `Garcia`.

#### Match by full name (one field)

Same words in any order, ignoring case, accents and endings such as Jr. or PhD: `Robert Smith` and `Smith Robert` match. For a single property that holds the whole name.

#### Match by middle name

Same after ignoring case, accents and periods: `J.` and `J` match. Many records have no middle name.

### Organization details

#### Match by company name

Same after ignoring case, accents and endings such as Inc, LLC, Corp or GmbH. With **Fuzzy match** on, the same words in a different order, or very close spellings, match too. Works well alongside a domain or an external ID.

#### Match by job title

Same once abbreviations are spelled out: `VP of Sales` and `Vice President of Sales` match, and so do CEO and Chief Executive Officer.

* **Ignore seniority words**: off by default. On, Senior, Junior, Lead, Principal, Staff and Associate at the start of a title are ignored.

#### Match by department

Same team: IT and Engineering match, and so do HR and People Ops.

### Places

#### Match by country

Same country: US, USA, United States and America count as one. A value that isn't a recognized country doesn't match.

#### Match by state or province

Same place: CA, Calif. and California match. Covers US states, DC and Canadian provinces and territories.

#### Match by postal code

US ZIP codes match on their first 5 digits: `10001` and `10001-2345` match. Other countries' postal codes must be identical, ignoring case.

### Other values

#### Match by text

Same words, ignoring case, surrounding spaces and accents. With **Fuzzy match** on, a different word order and close spellings match too. Common words such as the or and can make unrelated text look alike. For IDs, use Match by ID from another system.

* **Case sensitive**: off by default. On, case counts and matching becomes exact.

#### Match by number

Equal numbers: 2 and 2.0 match. Close numbers don't.

* **Round to whole numbers**: off by default. On, `1.4` matches `1`.

#### Match by yes/no

Same meaning: yes, true, 1 and t all count as yes. Yes and no differ.

#### Match by dropdown

Same option, ignoring case.

For HubSpot's own dropdowns, such as Lifecycle stage and Lead status, differently worded versions of the same choice count as the same.

#### Match by multiple checkboxes

Exactly the same set of options, in any order and letter case: `Gold; SaaS` matches `saas; gold`. `Gold` alone doesn't match `Gold and SaaS`.

### Not available

Date and date-time recipes aren't offered yet, so a date property can't be part of a rule.

Source page: https://artifactapps.com/docs/dedupify/hubspot/properties/
