Skip to main content

Reading CRM Data into Knock2: Deals & Custom Columns

Pull deal/opportunity data and extra fields from your HubSpot, Salesforce, or Attio records into Knock2, including how values update, the Salesforce "Sync existing accounts" button, and how duplicate Salesforce Accounts are handled.

Written by Sara

Field mapping controls what Knock2 writes out to your CRM. The opposite direction — what Knock2 reads in from your CRM — is configured in the Read from [CRM] section of the same screen. This works for Salesforce, HubSpot, and Attio.

Read data flows one way: from your CRM into Knock2. These fields are read-only inside Knock2 — Knock2 never writes back to them.


Where to find it

  1. Go to Settings → Integrations.

  2. Open Salesforce, HubSpot, or Attio.

  3. Scroll to Read from [CRM] (the Read tab of Field Mapping), below the Write section.


Deal & opportunity fields (automatic)

Knock2 automatically reads your deal/opportunity data and attaches it to the matching account, so you can see live pipeline context next to your identified visitors. These mappings are fixed and read-only:

HubSpot (Deals)

  • Deal name → Deal name

  • Deal stage → Deal stage

  • Amount → Deal value

  • Close date → Close date

  • Deal owner → Deal owner

  • Company owner → Company owner

Salesforce (Opportunities)

  • Opportunity name → Deal name

  • Opportunity stage → Deal stage

  • Amount → Deal value

  • Close date → Close date

  • Opportunity owner → Deal owner

  • Account owner → Account owner

Attio (Deals)

  • Deal name → Deal name

  • Stage → Deal stage

  • Value → Deal value

  • Close date → Close date

  • Deal owner → Deal owner

  • Company owner → Company owner

There is nothing to configure here — these fields appear automatically once your CRM is connected. Knock2 matches a HubSpot Company or Salesforce Account by domain, and matches an Attio Company by domain as well. A record whose website is a subdomain of the company's domain (for example eu.acme.com for acme.com) also counts as a match.


Which deal Knock2 shows on an account

Knock2 keeps one deal per account for each connected CRM. When a company has several deals or opportunities in your CRM, Knock2 picks one and attaches it to the account. Everything in Knock2 that shows or filters on CRM deal data uses that one deal: the Contacts and Accounts tabs, the CRM Deal Stage and owner filters, Plays, Slack alerts, and the public API.

The pick is by stage, not by date:

  1. A won deal, if the account has one.

  2. Otherwise an open deal.

  3. Otherwise a lost deal.

In practice: if an account has any won deal, Knock2 shows a won deal. If it has no won deal but any open one, Knock2 shows an open deal. A lost deal is shown only when every deal on the account is lost. If the CRM record exists but has no deals, Knock2 still shows the account or company owner, with the deal fields left blank.

How each CRM decides won, open and lost

  • Salesforce: Knock2 looks at every Opportunity on every Account whose website matches the company's domain, including duplicate Accounts (see the next section). Won and lost come from Salesforce's own Won and Closed flags on each opportunity, so a custom stage name such as "Signed" or "Duplicate" is treated the way your Salesforce stage settings define it. When two opportunities tie on stage, the newer record is shown.

  • HubSpot: Knock2 finds the Company by domain and looks at up to 10 of its associated deals, across all pipelines. Won and lost are read from the stage's label: "Closed Won" or a label starting with "Won" counts as won, "Closed Lost" or a label starting with "Lost" counts as lost, and any other label counts as open. If your pipeline names its closed stages differently (for example "Signed"), Knock2 treats that stage as open. When two deals tie on stage, the one HubSpot lists last is shown.

  • Attio: Knock2 finds the Company by domain and looks at up to 10 of its associated deals. Stage labels are read the same way as HubSpot, so "Won 🎉" counts as won and "Lost" counts as lost. When two deals tie on stage, the one Attio lists last is shown.

When it updates

Deal data is refreshed each time the account is identified on your website (at most once a day per account if you have set a daily Salesforce API limit in Knock2). A deal that changes stage, closes, or is added in your CRM is picked up on that account's next identification.


Building filters and exclusions on CRM data

CRM filters in Knock2 evaluate the one deal kept on the account, so read them as questions about the account's strongest deal rather than about every deal. Because a won deal always outranks an open one, and an open one always outranks a lost one, you can still build rules that hold across the whole account:

  • Exclude customers: CRM Deal Stage is not in your won stage (for example "Closed Won"). Any account with any won deal is excluded, since a won deal is always the one shown. If you also read a custom field such as Account Type, you can filter on that as well.

  • Exclude accounts with any open opportunity: add your open stage names to the same is not in list. Knock2 does not have a single "is open" condition, so list each open stage by name. Together with the won exclusion, this removes every account that has any won or any open deal. Accounts with no deal at all still pass.

  • Exclude recent Closed Lost: a CRM Deal Close Date filter only matches accounts that have a deal, so adding one to the rule above would also drop every account that is not in your CRM. Use two alerts to the same channel instead: one for accounts with no deal (CRM Deal Stage does not exist), and one for accounts whose deal is Closed Lost (CRM Deal Stage is one of "Closed Lost") with a CRM Deal Close Date before the date 12 months ago. The date is fixed rather than rolling, so update it now and then.

  • Exclude accounts owned by a rep: use the Account Owner filter (Salesforce) or Company Owner filter (HubSpot, Attio) with is not in and the reps' email addresses, or does not exist to keep only unowned accounts. The owner comes from the same CRM record Knock2 picked, so for Salesforce duplicates it is the owner of the Account chosen by the rules in the next section.

  • Not in your CRM at all: CRM Deal Stage does not exist matches accounts with no deal on file.

Two things to keep in mind:

  • Duplicate records: Salesforce duplicates are covered by the rules in the next section as long as they share the company's website. HubSpot and Attio match a single Company by domain, so a duplicate Company with a different domain, or no domain, is not seen.

  • Stage names: filters compare the stage name as it appears in your CRM. If you rename a stage, update the filter.

These filters work anywhere you build a contact or account filter, including Plays, Workflows and Slack alerts. A contact inherits the deal data of its company.


When Salesforce has duplicate Accounts for one company

It is common for one company's website to match more than one Salesforce Account. Knock2 always picks the same one, using these rules in order:

  1. The Account with the strongest opportunity: won, then open, then lost, then no opportunity at all.

  2. If that is a tie, the Account whose website matches the domain exactly, rather than a subdomain.

  3. If that is still a tie, the most recently modified Account.

Deal fields, owners, custom read columns, the "Sync existing accounts" button, and Account updates pushed by Knock2 all use this same choice, so a value like Account Type will not change depending on which duplicate was read last. If a value looks wrong for a company, check whether Salesforce has more than one Account with that website; merging the duplicates in Salesforce is the cleanest fix.


Custom read columns

Beyond the standard deal fields, you can pull additional fields off your HubSpot Company, Salesforce Account, or Attio Company records into Knock2 — for example a renewal date, account tier, or any custom property your team uses. Each one becomes a custom read column on your account data in Knock2.

To add a custom read column:

  1. In the Read from [CRM] section, under Custom fields, click Add field.

  2. Pick the CRM field to read from. Both standard and custom CRM properties (or Attio attributes) are available, grouped accordingly.

  3. Enter a Knock2 label — the name this column shows under in Knock2.

  4. Choose a type: Text, Number, Date, or Boolean. Knock2 pre-fills this based on the CRM property, but you can change it.

  5. Click Save.


When values fill in and update

Knock2 reads deal fields and custom read columns when an account is identified on your website (if you have set a daily Salesforce API limit in Knock2, at most once a day per account). That means:

  • A new custom read column starts empty on accounts that are already in Knock2. It fills in for each account the next time that account visits.

  • If you change a value in your CRM, Knock2 picks up the change the next time that account is identified.

  • Until a value appears on at least one account, it is not offered in the filter's dropdown. You can still type the value into an "is one of" filter (for example "Customer") and save it; it will match as soon as accounts have that value.

For Salesforce, you do not have to wait: use Sync existing accounts below.


Sync existing accounts (Salesforce)

The Sync existing accounts button pulls the latest Salesforce data into every account already in Knock2, without waiting for each one to visit again. It appears under Custom fields in the Read from Salesforce section once you have at least one custom read column.

What it updates

  • Your custom read columns on every matching account.

  • Deal and owner fields too, when Salesforce is your workspace's Primary CRM.

How it runs

  • It runs in the background. You can leave the page, and progress shows under the button (for example "Syncing: 2,000 of 4,200 Salesforce accounts checked.").

  • It reads your Salesforce Accounts in large batches, so it uses roughly one Salesforce API call per 2,000 Accounts.

  • To protect visitor identification, it pauses if your Salesforce org is running low on API calls for the day, and if you have set a daily Salesforce API limit in Knock2, it uses at most 20% of that limit per day. Either way it resumes on its own and shows when.

  • One sync runs at a time per workspace, and you can run it again one hour after the last one finished.

  • It only updates data in Knock2. It does not trigger Plays, Slack alerts, or anything sent to your CRM.

  • Locked or expired accounts (ones not yet unlocked on your plan) are skipped.

  • The sync never runs automatically, because it uses your Salesforce API calls. Click it after adding a new custom read column, or whenever you want existing accounts refreshed.

Good to know

  • If the Salesforce user connected to Knock2 cannot see Opportunities, the sync still fills in custom read columns but skips deal fields.

  • The button is available to workspace admins.

  • For HubSpot and Attio, values fill in as accounts are identified again.


Limits & behavior

  • Up to 3 custom read columns per workspace. This limit is shared across HubSpot, Salesforce, and Attio combined.

  • To remove a column, click the trash icon next to it.

  • If a mapped CRM field is later deleted or renamed in your CRM, the column is flagged Unavailable. Remove it or remap it to a field that still exists.


Viewing your custom columns in Knock2

After you add a custom read column, it may be hidden by default in the Contacts and Accounts tabs. If you do not see your data right away, turn the column on:

  1. Open the Contacts or Accounts tab.

  2. Click the three-dot menu in the top-right corner of the table and select Columns.

  3. Find your new column and toggle it on. You can also drag to reorder and resize it.

Column preferences are saved per user, so each teammate controls their own view. See Using the Contacts Tab and Using the Accounts Tab for more.


Frequently asked questions

Does Knock2 evaluate all of an account's deals, or only one?
It looks at all of them when it reads your CRM, then keeps one per account: won first, then open, then lost. Filters evaluate that one deal. See "Which deal Knock2 shows on an account" and "Building filters and exclusions on CRM data" above for how to turn that into account-wide rules.

I added a custom read column but it is empty on most accounts. Why?
New columns fill in as accounts are identified again. For Salesforce, click Sync existing accounts to fill them in for every existing account now.

A value I know exists (like "Customer") is not in the filter dropdown.
The dropdown only lists values that at least one account already has. Type the value into the filter and save it, or run Sync existing accounts (Salesforce) so existing accounts get their values.

Knock2 shows a different value than the Salesforce Account I am looking at.
The company probably has duplicate Accounts in Salesforce. Knock2 picks one using the rules in "When Salesforce has duplicate Accounts for one company" above. Merging the duplicates in Salesforce resolves it.

Does reading CRM data change anything in my CRM?
No. Reading, including Sync existing accounts, only updates data inside Knock2.


Who can edit

Like field mappings, read columns are managed by the teammate who connected the CRM. Other teammates see them as read-only, with a note showing who manages them.


Related articles

Did this answer your question?