Lead source imports: no duplicates without emails; explee hot leads
origami.chat people have no email, so each import added them again. Prospects now match on email, then LinkedIn profile, then name at the same company; companies without a website match by name, and get the domain when one turns up. explee.com's hot-leads list allows at most 200 per page (500 was refused, so no hot leads became prospects). origami.chat people's company website is read from identity.website_url. explee.com's key test no longer says "the key works" twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -450,7 +450,7 @@ func ImportOrigami(ctx context.Context, d *db.DB, c *origami.Client, now time.Ti
|
||||
name: w.Str("name", "full_name", "identity.name"), title: w.Str("title", "job_title", "identity.title"),
|
||||
email: email, linkedin: w.Str("linkedin_url", "identity.linkedin_url", "linkedin"),
|
||||
company: w.Str("company", "company_name", "identity.company", "identity.company_name"),
|
||||
domain: w.Str("company_domain", "domain", "identity.company_domain", "identity.domain"),
|
||||
domain: w.Str("company_domain", "domain", "identity.company_domain", "identity.domain", "identity.website_url"),
|
||||
source: signals.SourceOrigami, detail: detail, signalID: sig,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user