Skip to content
mcpcrm
Working with a CRM through your AI agent

Chapter 5 of 10

Keeping CRM data clean

An agent can create records faster than any person, so it can also make a mess faster. These rules come from the standard CRM manual that mcpcrm gives every agent. They keep your data clean whether a person or an agent does the work.

Search before you create

From the CRM manual: Before you create a record

  • Search first: by email address, then phone number, then company name. If the person or company is already there, update that record instead of creating another.
  • One person is one Contact and one company is one Organisation. When someone moves to another company, change their Organisation and add a comment.
  • If you find two records for the same person or company, tell the person you work for. Do not merge them unless they ask; when they do, use merge_records, which keeps everything linked to both.

Duplicates are the most common mess in any CRM, and an agent that creates records without searching makes them quickly. Search in this order because an email address is the most reliable match, a phone number the next, and a company name the least, since people spell names in many ways.

When two records turn out to be the same person, the agent should tell you and let you decide which one to keep. Merging by deleting loses history if the wrong record goes.

One format for names, numbers and dates

From the CRM manual: Writing data

  • Use only the fields describe_module lists, and only the values a picklist offers.
  • First and last name go in their own fields, in normal capitals. Email addresses in lower case. Phone numbers with the country code, for example +27 21 555 0100. Dates as YYYY-MM-DD.
  • One value per field. Leave a field empty when you do not know the answer; never guess or invent names, numbers or companies.
  • Record where a Lead came from (Lead source) and who referred them when you know it.

One format makes records easy to search and sort, and makes duplicates easy to spot. A phone number with the country code matches whether the person wrote 021 555 0100 or +27 21 555 0100.

The rule that matters most is to leave a field empty rather than guess. An empty field shows that nobody knows the answer, while a guessed email address bounces and a guessed name embarrasses you in front of a customer.

From the CRM manual: People's data and consent

  • Never contact someone on the do-not-contact list or who has said no. Record an opt-out as soon as you see one.
  • Keep only what the business relationship needs. Do not store ID numbers, bank details, health or other sensitive information unless the workspace's rules say so.
  • Do not copy CRM data into other tools or documents unless the person you work for asks.

Data protection laws such as the GDPR in Europe and POPIA in South Africa expect you to keep only what you need and to respect a request to stop contacting someone. An agent that reads every email can record an opt-out the moment it appears, which is faster than most people manage.

Change a status, and delete only mistakes

From the CRM manual: Changing and deleting

  • Prefer a status change to a delete. Delete only clear mistakes and duplicates, and only when asked.
  • Make small, specific changes. For many records, say what you will change and how many first, work in batches, and stop at the first CONFIRM_REQUIRED.
  • Do not change who a record is assigned to, or edit records another person is working on, unless asked.

A Lead marked Lost Lead or Junk Lead, with a comment, tells the next person not to contact them again. A deleted lead tells nobody anything, and next year the same business can be imported again from a new list.

There are good reasons to delete: a test record, a clear duplicate once its details are copied to the record you keep, and a request from a person to erase their data under the GDPR or POPIA. A person handles an erasure request, because it is a legal request.

A worked example: cleaning up after an import

The agent did the slow work of matching and fixing, and the owner made every decision that could lose data.

Prompts for clean data

Find duplicates

Look for duplicate Contacts and Organisations: the same email address, the same phone number, or names that differ only in spelling or capitals. List each group with record IDs and say which record looks most complete. Merge and delete nothing. I will decide.

Fill in missing details

List Leads with no lead source, no email address or no phone number. For a missing lead source, suggest a value from the description and the first email. For missing contact details, look only on the company’s own website and give the page address as the source. Never guess an email address from a pattern.

Record opt-outs

Search the emails and comments of the last 30 days for anyone who asked not to be contacted again. List them with the words they used. When I confirm, record the opt-out the way this workspace does it, set any Lead among them to Junk Lead, and add a comment with the date and their words.

The clean-up routine has one more, for fixing formats in batches.

Try it with your own agent

mcpcrm Solo is free for one person and runs in your browser. Connect your agent, and it gets the CRM manual and your rules when it connects. Then start with the prompts in this guide.