Companies & Contacts
The Companies & Contacts tools manage client accounts and business contacts used across the deals pipeline. They provide list and detail views for both entities, with LinkedIn enrichment powered by Scrapin.io.
Features
Section titled “Features”- Companies — store client accounts with name, domain, industry, website, phone, address, and notes
- Contacts — people linked to companies with email, phone, mobile, job title, LinkedIn URL, and notes
- Contact detail page — view a contact’s details, linked company, and related deals
- LinkedIn enrichment — manually enrich companies and contacts from LinkedIn via the Scrapin API
- Clickable navigation — contacts in both the list view and company detail are clickable links to the contact detail page
LinkedIn Enrichment
Section titled “LinkedIn Enrichment”Each company and contact detail page has an Enrich from LinkedIn button in the header. This calls the Scrapin.io API and stores the raw response alongside an enriched_at timestamp.
How it works
Section titled “How it works”- Click the Enrich from LinkedIn button on a company or contact detail page
- The API calls Scrapin.io using the entity’s data (company name/domain, or contact’s LinkedIn URL with fallback to name/email search)
- Results are stored as JSON and displayed in a collapsible LinkedIn Data card
- A 24-hour rate guard prevents accidental credit burn (override with force re-enrich)
Company enrichment data
Section titled “Company enrichment data”- Description, tagline
- Industry, specialties
- Employee count, follower count
- Headquarters location
- Founded year, website
Contact enrichment data
Section titled “Contact enrichment data”- Headline, summary
- Work experience (title, company, dates, location)
- Education (school, degree, dates)
- Skills, certifications, languages
Prerequisites
Section titled “Prerequisites”A Scrapin.io API key must be configured either as a connection in Admin > Connections or as the SCRAPIN_API_KEY environment variable.
Access Levels
Section titled “Access Levels”| Level | View | Update | Manage |
|---|---|---|---|
| Executive | all | all | all |
| Head | all | all | all |
| Manager | all | all | — |
| Lead | all | — | — |
| Employee | all | — | — |
- View: browse companies and contacts
- Update: create/edit companies and contacts, trigger LinkedIn enrichment
- Manage: delete companies and contacts
Key Files
Section titled “Key Files”| File | Purpose |
|---|---|
src/routes/companies.tsx | Companies list route |
src/routes/companies_.$companyId.tsx | Company detail route |
src/routes/contacts.tsx | Contacts list route |
src/routes/contacts_.$contactId.tsx | Contact detail route |
src/components/companies/company-detail.tsx | Company detail component |
src/components/companies/linkedin-data-card.tsx | LinkedIn data display card |
src/components/contacts/contact-detail.tsx | Contact detail component |
src/hooks/use-deals.ts | Query and mutation hooks |
worker/routes/deals.ts | API routes including enrichment endpoints |
worker/lib/scrapin.ts | Scrapin.io API client |