How Scanning Works on Zoho CRM#
Dedupify finds duplicates by scanning. A scan reads every contact or account in a module and evaluates each one against your match rule. Turning a rule on starts one. After that, Dedupify checks each contact or account as it is created or updated.
The first scan#
Turning on a match rule starts a scan of every record in that module of your Zoho CRM organization. Dedupify evaluates each record against the rule and adds the pairs it finds to your review queue.
Only one scan runs at a time for your organization. If you turn on several rules in a row, the scans queue and run one after another.
A scan moves through these states:
- Starting. The scan is waiting to be picked up.
- Scanning. Dedupify is working through your records.
- Complete. The scan has finished, and the pairs it found are in your review queue.
- Failed. The scan stopped on an error, and it shows the reason.
- Cancelled. The scan was stopped before it finished, for example because you turned its rule off.
A scan can also be Paused. It stopped at your daily API limit for Dedupify, and it resumes on its own after the limit resets. A scan that would need more than a day of the limit stops as Too large for the API limit: raise the limit, or use fewer fields in the rule. See API limits.
A module with more than 100,000 records can’t be scanned. See Large modules.
Progress and history are under Scan status. It lists each rule’s latest scan, with the number of records indexed while it runs and the number of pairs found when it finishes. An admin can use Retry scan on a failed scan, and Start a new scan on a cancelled scan of a rule that is on.
Here is a scan from turning the rule on to Complete:
- Turn the rule onGo to the Dedupify tab, and on Match rules select Turn on for the rule. It stays review only. It queues a scan of your contacts, which can take a moment to show up on Scan status.
- Open Scan statusScan status lists each rule's scans, newest first.
- Watch the scanIt reads Starting for up to 2 minutes while the scan waits for a worker, then Scanning with a running count. Scanning takes a few minutes to tens of minutes, depending on how many records you have, and runs in the background. When it reads Complete, its pairs are in the review queue.
How Dedupify sees changes#
After the first scan, Dedupify needs to learn about records that are created, edited, deleted, or merged.
Zoho CRM sends Dedupify a change notification when a contact or account is created, edited or deleted, and Dedupify reads that record again from Zoho CRM, usually within seconds. Dedupify renews these notifications every day.
If they stop working, for example when a notification can’t be taken in, Dedupify checks Zoho CRM for changes instead until they work again: every 15 minutes unless an admin chooses a longer interval, it asks which contacts and accounts changed or were deleted since the last check, so a change can then take about that long. See API limits.
Zoho CRM sends no notification when a record is permanently deleted, so once a day Dedupify also asks it which records were permanently deleted.
Once a day, Dedupify also reads the records in your pending pairs to confirm they still exist. A pair with a record that was deleted or merged away leaves the queue.
Getting a fresh full scan#
Turning a rule on queues a full scan, so the way to a fresh pass is to turn the rule off and on again.
You rarely need this, because change notifications, and the check that stands in when they stop, bring changes in on their own. Use it after a large import you want evaluated at once, or when you think Dedupify missed duplicates.
The scan reads every record from Zoho CRM again and spends from your daily API limit as the first scan did.
Turning a rule off stops its scans and dismisses its pending pairs from the review queue. The new scan finds them again, and a pair you rejected stays rejected.
Open Match rules, select Turn off on the rule, then Turn on. Saving new thresholds on a rule that is on does not start a scan. Saving a change to its fields does, and the rule stays on: see Change a rule that is on.
What does not start a scan#
There is no nightly or scheduled full scan. A full scan starts when a rule is turned on, including turning it back on after turning it off, when you retry a failed scan, and when you save a change to the fields of a rule that is on. Start a new scan also runs one again after a cancelled scan of a rule that is on. Between full scans, Dedupify evaluates only the records that changed. It does not rescan unchanged records on a schedule.
Related#
- Match rules: the rules that drive each scan.
- Review thresholds and auto-merge: which pairs reach your review queue and which merge on their own.