How to

How Attio handles duplicate records

Attio prevents duplicates with unique attributes: email addresses on people and domains on companies, which no two records can share. CSV imports, the API upsert endpoint and the Create or update record workflow block match on these before creating anything. Duplicates that still appear are merged two at a time from the record page, or cleared with a bulk delete.

By Sonny Driscoll, Official Attio Expert Partner · Checked against vendor documentation on

When this applies

You have two records for the same person or company and nobody is sure which to update. The usual causes are a CSV import with no email or domain column, an integration calling create instead of upsert, and email sync creating a person someone also added by hand under another address. Attio blocks duplicates at the point of entry, prompts you to merge two records when it detects a shared domain or email address, and leaves the rest to a manual merge.

How it is done

Route in How Attio checks What to set
CSV import Matches on a unique attribute: email addresses for people, domains for companies, record ID for any object Map one unique attribute. Attio warns at the preview step if you have not. Empty cells are skipped
List import Add again or Update existing for records already in the list Choose Update existing
API The upsert endpoint matches on one attribute, updates the match, creates when there is none, and rejects a value that matches more than one record Email addresses and domains are unique by default. Deals have no unique attribute, so add one, such as an ID from your own system
Workflows The Create or update record block checks a matching attribute before creating Use it instead of Create record on forms and integrations
Email and calendar sync Links a person to a company when the email domain matches. Public providers are excluded Admins pick All contacts, Selective contact creation or None. Record suppression, Pro and above, blocks named addresses and domains
Merge Record page menu, pick the duplicate, confirm. The right-hand record wins where values conflict People and companies only, two at a time, write access needed

Where it goes wrong

  • Deals and custom objects cannot be merged. A duplicate deal is fixed by moving its activity across by hand and deleting one, so give deals a unique attribute before an integration writes to them.
  • Deleting is permanent. A deleted record takes its notes and files with it. Merge where the history matters and delete only an empty duplicate. Filter on Created at to isolate a bad import first. Members who are not admins can delete up to 50 records at a time.
  • Multi-value fields grow on import. When an import matches an existing record, multi-value attributes gain the new values rather than replacing the old. A second spelling of a phone number leaves both.
  • One domain, several trading entities. Domains are unique, so a group running several entities from one website gets one company record. Model the entities as a custom object or as list entries under it.
  • Only email and domain are checked by default. Two people with the same name and different addresses are two records. Apps in Attio’s App Store also match on name, phone number and LinkedIn profile and merge a group of duplicates at once, which is the route for hundreds of duplicates.

For how the same rules apply to a first import, read how to move from spreadsheets to Attio.

Read next

Questions people ask about this

Can Attio merge duplicate records in bulk?
No. Attio's own merge tool combines two records at a time from the record page, and it covers people and companies only, not deals or custom objects. For a large clean-up, apps in Attio's App Store scan for duplicates, group them and merge a whole group at once, or you bulk delete the duplicates and re-import with a unique attribute mapped.
Why did my CSV import create duplicates in Attio?
Because no unique attribute was mapped. Attio matches people on email address and companies on domain. If the file has neither column mapped, it cannot check for existing records and creates a new one for every row. Attio shows an Avoid creating duplicate records warning at the preview step when this is about to happen.
Which record wins when two Attio records are merged?
The record on the right of the merge screen. Where the two hold conflicting values, its values are kept. Everything else is combined: list entries, notes, files, tasks, comments, call recordings and meetings, and emails when two people are merged. The merged record gets a new record ID.
How do I stop the Attio API creating duplicate records?
Use the upsert endpoint rather than create. It takes a matching attribute, such as email addresses or domains, finds the existing record and updates it, and only creates a record when nothing matches. A value that matches more than one record is rejected, so existing duplicates have to be merged first.