-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Create company automatically from contact #2540
Copy link
Copy link
Closed
Labels
scope: backendIssues that are affecting the backend side onlyIssues that are affecting the backend side only
Description
When we create a contact, if that contact doesn't have a company, then we should create the company automatically from the domain name.
- Create a function to detect if an email is a professional email (@company.com) or not (@gmail.com, @outlook.com etc)
You can use: https://gist.github.com/ammarshah/f5c2624d767f91a7cbdc4e54db8dd0bf - When a contact is created without a company. Check if it's a professional email and if a company exist with the contact email's domain, if yes then link the contact to that company.
- If no company exist, and it's a professional email, then create company from domain name. Company name should be inferred from the domain name as v1 (remove domain extension + add a capital letter). In v2 we'll use a data enrichment database.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
scope: backendIssues that are affecting the backend side onlyIssues that are affecting the backend side only
Type
Projects
Status
✅ Done