# How to Build a CRM Enrichment Audit Trail

> Build a CRM enrichment audit trail that logs before and after values, sources and timestamps, so you can review a sample and reverse any bad batch.

Canonical: https://revnu.com/blog/how-to-build-a-crm-enrichment-audit-trail
Published December 5, 2026 by George Jefferson, Co-founder and CEO, Revnu

# How to Build a CRM Enrichment Audit Trail

A CRM enrichment audit trail is a change log that records, for every field an enrichment run touches, the old value, the new value, where the new value came from, when it was written and which batch wrote it. Build it before the first bulk write, because it is the only thing that lets you answer "what did enrichment change?" and undo the answer if it was wrong.

This post is about the log itself. It is separate from choosing overwrite rules (covered in [CRM Enrichment: What Should You Overwrite?](https://revnu.com/blog/crm-enrichment-what-should-you-overwrite)) and from measuring accuracy (see [How to Test CRM Enrichment Accuracy](https://revnu.com/blog/how-to-test-crm-enrichment-accuracy)). Rules decide what should happen. Accuracy tests tell you how good the data was. The audit trail tells you what actually happened, record by record, and gives you a way back.

The design below works whether you enrich through Salesforce, HubSpot, Zoho or a spreadsheet you import. The log lives in a place you control, not inside any one vendor's screen.

## What an enrichment audit trail records

An enrichment audit trail records one row per field change, tagged with the batch that caused it. Six columns cover almost every question you will be asked later: record ID, field name, old value, new value, source, and timestamp. Add two more that matter for reversal: a batch ID and an action (filled blank, overwrote, skipped).

The batch ID is the column most teams forget. Without it, you can see that a title changed on Tuesday but not that 4,200 other titles changed in the same run. With it, "undo that run" becomes a filter, not a forensic project. Compliance-minded teams reach a similar schema from the other direction: a published guide on enrichment audit logs recommends a six-field log of record ID, source, actor, legal basis, timestamp and action as a minimum ([Datamagnet](https://www.datamagnet.co/post/enrichment-audit-log-compliance/)). Treat the legal basis column as optional for pure sales ops and mandatory if you enrich EU or California contacts.

Keep the log append-only. Nobody, including admins, should edit a row after it is written. If a correction is needed, write a new row that says so.

Native tools cover part of this and miss part. Native field history, such as the audit log in Zoho ([Zoho Help](https://help.zoho.com/portal/en/kb/crm/faqs/audit-log/articles/audit-logs-3-2-2023)), Salesforce field history tracking or HubSpot property history, will show you that a value changed and often who changed it. What they typically cannot tell you is which enrichment batch or provider caused the change, because the integration user is just a name. Use native history as a cross-check, and keep your own log as the source of truth for enrichment. Also check retention: native history is usually limited in how many fields it tracks and how long it keeps them, so confirm the limits for your edition before relying on it.

This answers the common search "how to track changes made by a data enrichment tool in Salesforce." Run enrichment under a dedicated integration user so native history at least attributes changes to it, then write your own batch-level log alongside.

## Before and after values

Store the old value exactly as it was, including blanks, before every write. A blank old value is information: it proves the field was empty and the write was a fill, not an overwrite. If you only log the new value, you cannot reverse anything.

Capture the snapshot at the moment of the write, not afterwards. The cleanest pattern is a two-step job: read the current value, write the log row, then write the CRM field. If the log write fails, the CRM write does not happen.

A hypothetical row looks like this:

| Batch | Record | Field | Old value | New value | Action |
| --- | --- | --- | --- | --- | --- |
| B-0412 | 003-EXAMPLE-1 | Job title | (blank) | Head of Sales | Filled blank |
| B-0412 | 003-EXAMPLE-2 | Employee count | 40 | 250 | Overwrote |
| B-0412 | 003-EXAMPLE-3 | Phone | +1 555 0100 | +1 555 0100 | Skipped, protected |

Log skipped rows too. When a rep asks why a field was not updated, "skipped, protected" is the answer, and the row proves your overwrite rules ran. Normalise values before comparing so that "VP Sales" and "vp sales" do not register as a change and bury real edits in noise.

Store the log outside the CRM's own tables if you can: a warehouse table, a database, or at minimum a locked spreadsheet. A log that lives only in the system it audits is lost along with it.

## Recording sources and timestamps

Record the provider, the method and the exact time for every written value. "Enriched by a tool" is not a source. "Provider X, match on email domain, 2026-03-04 14:02 UTC, batch B-0412" is.

This matters most when you run more than one provider. If you use a waterfall across several sources, the log should say which one answered for each field, because that is how you find out that one provider keeps returning stale job titles. The same applies when you compare vendors such as ZoomInfo and Clearbit: neither vendor's own export will give you a neutral change log inside your CRM, so build it from your side by stamping the provider name on every row you write.

Use UTC timestamps with a time zone, and add two fields beyond the basics:

- **Match key and confidence.** Note what the record was matched on (email, domain, LinkedIn URL). Weak matches are where wrong-person and wrong-company errors come from. Common identity failures like shared-domain false merges and first-party data overwrites are both visible in a log that records the match key.
- **Field protection flag.** Record whether the old value was human-entered or previously enriched. A rep's corrected phone number should never be silently replaced, and the flag lets you prove it was not.

One practical rule: if you cannot say where a value came from, mark it "unknown source" and treat it as lowest trust. Do not leave the column blank.

## Reviewing a sample before a bulk write

Run every batch in dry-run mode first: produce the full log, write nothing to the CRM, and review a sample. A dry run turns the audit trail from a record of damage into a gate that prevents it.

A workable review process:

1. **Generate the proposed log** for the whole batch, with action set to "proposed."
2. **Pull a stratified sample.** Take 50 to 100 rows, weighted toward the risky cases: overwrites, large value changes, records with recent human edits, and the lowest-confidence matches. A random sample of easy fills will make a bad batch look fine.
3. **Check four things per row:** is the new value plausible, does the source make sense for that field, was a protected field about to be overwritten, and does the match key hold up.
4. **Count the overwrite rate.** If the share of overwrites is far higher than you expected, your rules or your matching are wrong. Stop and fix that before writing.
5. **Set a pass threshold in advance**, for example no protected-field violations and an error rate you agreed with sales leadership, and record who approved the batch and when.

This is also your post-enrichment data quality audit. After the write, re-pull the same sample from the CRM and confirm that what is there matches the log. Check fill rates on the fields you targeted, and spot-check a handful of records by hand. For a checklist you can hand to a teammate, the pass criteria are: log written before CRM write, sample reviewed, protected fields untouched, batch ID on every row, approver recorded.

For more on judging whether the values themselves are right, see [How to Test CRM Enrichment Accuracy](https://revnu.com/blog/how-to-test-crm-enrichment-accuracy).

## How to reverse a bad batch

To reverse a bad batch, filter the log by batch ID and write each old value back to its record, then log the reversal as its own batch. That is the whole procedure, and it only works because you stored old values and a batch ID.

Steps:

1. **Freeze new enrichment runs** so nothing overlaps with the rollback.
2. **Select the batch** by ID and exclude rows with action "skipped."
3. **Check for later human edits.** If a rep changed a field after the batch wrote it, the current value no longer matches the log's new value. Do not blindly restore over a human edit. Flag these rows for manual review instead.
4. **Write old values back**, including blanks where the field was originally empty. Restoring a blank is correct, not a failure.
5. **Log the rollback** as a new batch (for example B-0412-R) with the same columns, so the history stays complete.
6. **Re-run your sample check** on the restored records.

Some tools keep their own run history that can help. Clay's documentation, for instance, points to reviewing past runs for audit and recovery ([Clay University](https://university.clay.com/lessons/use-case-1-crm-enrichment)). Use that as a second record, not a substitute, because it will not know about changes made by other tools or by reps.

Partial reversals are normal. You may keep the good fields from a batch and roll back only one, such as employee count. Because the log is per field, you can filter on field name and reverse exactly that.

If you want the enrichment itself done for you, [Revnu](https://revnu.com/solutions/lead-enrichment) enriches imported lists and CRM records with verified work email, phone, LinkedIn and location, and researches custom criteria per lead. Treat the logging and rollback workflow here as a design you apply around any enrichment tool, Revnu included: dry-run the batch, store old values outside the CRM, and tag every write with a batch ID.

## Build the log before the next bulk write

An enrichment run without a change log is a bet that every provider, match and rule is right. A log with old values, sources, timestamps and a batch ID turns that bet into a reversible experiment. Before your next batch, create the log table, run a dry run, review a stratified sample and only then write. If you want enrichment on imported lists or CRM records that fits this workflow, start with [Revnu's lead enrichment](https://revnu.com/solutions/lead-enrichment) and apply the audit trail around it.

## Frequently asked questions

### How do I audit CRM data enrichment changes?

Log one row per field change with record ID, field, old value, new value, source, timestamp and batch ID. Review a stratified sample before writing, then re-pull the same sample from the CRM afterwards to confirm it matches. Cross-check against native field history, and keep the log outside the CRM so it survives rollbacks.

### What is an example of data enrichment?

A lead arrives with only a name and email. Enrichment adds job title, company size, industry and LinkedIn URL from external sources. In an audit trail, each added field is a row showing the blank old value, the new value, the provider and the time. Revnu enriches imported lists and CRM records.

### What is a CRM enrichment audit checklist?

Confirm the log is written before the CRM write, every row carries a batch ID and source, protected human-entered fields are skipped, a stratified sample was reviewed and approved, and old values are stored outside the CRM. Afterwards, re-check the sample and record who approved the batch.

### Can Salesforce or HubSpot field history replace an enrichment audit trail?

Not on its own. Native field history and property history show that a value changed and often by which user, but usually not which enrichment batch or provider caused it, and tracking and retention limits apply. Use native history as a cross-check and keep a batch-level log as the source of truth.
