You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Candidate duplicates — the same person entered twice with different casing, a typo in the name, or a second email — so someone can review and merge them.
What exists
POST /api/crm/persons/merge/ does the merge well (iblai-api-crm → references/workflows.md, including the link-vs-invite-vs-merge triage), but finding duplicates is left to the client. With no search (#4) and no email filter, that means downloading every person.
Where it bites today
components/crm/people/person-merge-dialog.tsx makes the user pick duplicates by hand from the loaded page. Imports (#9) will create duplicates at scale with no way to surface them.
Proposal
GET /api/crm/persons/duplicates/ returning groups matched on normalized primary_email / emails and fuzzy name within the same organization, plus a ?primary_email= exact filter so a create form can warn before saving.
Activity