Repository navigation
Import: patch known contacts with the file's newer data (newest wins) - #123
Merged
Merged
Conversation
Re-importing an enriched export dropped the enrichment: only 50 known rows a chunk were touched, and those only had blanks filled, so "6,204 already known" meant 6,204 rows of newer titles, companies and profiles thrown away. - Every known row now patches its person, batched (a few reads and one batch per chunk). planPatch: a value in the import replaces a different stored one; empty cells never erase; a name derived from the address never replaces a real one; a row dated older (updated_at / enriched_at column) than the stored person only fills blanks. - New columns understood: company_domain/website (sets the company), linkedin_url (adds the LinkedIn identity), updated_at/enriched_at. New contacts get company and LinkedIn too. - `updated` count per import (migration 0050), in the chunk response, the import read API, AutoGTM import + docs, and on /import: "N already known (M updated with newer data)". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re-importing an enriched export now patches the people we already have, newest data winning, instead of skipping them (only 50 a chunk were touched before, and only blanks filled). Adds company_domain / linkedin_url / updated_at columns, and an
updatedcount shown on /import. Details in the commit message.🤖 Generated with Claude Code