# Crm Data Enrichment Agent (`theguide/crm-data-enrichment-agent`) Actor

Turn partial contact info into complete, verified business profiles. Automatically enrich your leads with deep person insights, company firmographics, and French legal data (SIREN/SIRET) using the power of **Hunter.io** and **Dropcontact**.

- **URL**: https://apify.com/theguide/crm-data-enrichment-agent.md
- **Developed by:** [TheGuide](https://apify.com/theguide) (community)
- **Categories:** Lead generation, Automation, Agents
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 record enricheds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🚀 CRM Data Enrichment Agent: Hunter.io & Dropcontact

Turn partial contact info into complete, verified business profiles. Automatically enrich your leads with deep person insights, company firmographics, and French legal data (SIREN/SIRET) using the power of **Hunter.io** and **Dropcontact**.

***

### 🌟 Why choose CRM Data Enrichment Agent?

Manual lead research is slow and prone to errors. This Actor automates the entire process, combining multiple premium data sources into a single, clean output. Whether you're cleaning your CRM or building a high-performance outbound list, this is the most efficient orchestration tool on Apify.

#### Key Benefits:

- **🔍 Deep Person Intelligence**: Get verified emails, LinkedIn profiles, job titles, and professional bios.
- **🏢 Comprehensive Firmographics**: Extract company size, industry, revenue, and headquarters location.
- **🇫🇷 French Market Leader**: The only Apify Actor that natively integrates **SIREN, SIRET, and VAT** extraction for French companies.
- **🌐 Smart Domain Resolution**: Only have a company name? Our "Auto-Resolve" feature finds the official website for you.
- **✅ Verified Deliverability**: Built-in email verification via Hunter.io to protect your sender reputation.

***

### 🚀 Features & Optimizations

- **Multi-Provider Orchestration**: Automatically merges data from Hunter.io and Dropcontact, using the best available information for each field.
- **Smart Polling Engine**: Handles Dropcontact's asynchronous processing with intelligent retries to ensure no lead is left unenriched.
- **Advanced Firmographics**: Goes beyond basic data to provide employee counts, revenue estimates, and funding history.
- **Privacy First**: Designed to use your own API keys, ensuring you maintain full control over your data and provider quotas.
- **High Concurrency**: Process large batches of leads quickly with configurable parallel execution.
- **Developer Friendly**: Includes raw provider payloads (optional) for deep integration with your custom workflows.

***

### 💰 Pricing: Simple & Transparent

We offer a flat-rate subscription model that allows you to scale without worrying about per-record fees from the Actor itself.

- **Monthly Subscription**: **$29.00 / month**
- **Usage**: Unlimited processing runs.

> **Note**: You must provide your own API keys for **Hunter.io** and **Dropcontact**. This model ensures you only pay for the orchestration and intelligence of the Actor, while maintaining your existing provider quotas.

***

### 🛠️ How to use

1. **Setup API Keys**: Add your `HUNTER_API_KEY` and `DROPCONTACT_API_KEY` in the input or as secrets.
2. **Input your leads**: Provide a list of contacts with at least an email or a company name.
3. **Configure Options**:
   - Enable `autoResolveDomain` to find websites from names.
   - Enable `dropcontactSiren` for French company legal data.
4. **Run & Export**: Download your enriched data in JSON, CSV, or Excel format.

***

### ⌨️ Input Parameters

Configure inputs in the Apify console or via `storage/key_value_stores/default/INPUT.json`. Refer to `.actor/input_schema.json` for defaults and value ranges.

- **`records`** *(array, required)* — List of contact records to enrich. Each record can include:
  - `id` *(string)*: Your internal unique identifier.
  - `email` *(string)*: Professional email address.
  - `firstName`, `lastName`, `fullName` *(string)*: Contact name details.
  - `companyName` *(string)*: Name of the organization.
  - `companyDomain` *(string)*: Official website (e.g., `apify.com`).
  - `linkedinUrl` *(string)*: LinkedIn profile URL.
  - `notes`, `tags` *(string/array)*: Custom metadata.
- **`dropcontactApiKey`** *(string, optional)* — Your [Dropcontact](https://www.dropcontact.com/) API Key.
- **`hunterApiKey`** *(string, optional)* — Your [Hunter.io](https://hunter.io/) API Key.
- **`autoResolveDomain`** *(boolean, optional)* — If company domain is missing, try to resolve it from the name via Hunter. (Default: `true`)
- **`dropcontactSiren`** *(boolean, optional)* — Enrich with SIREN/SIRET and VAT data for French companies. (Default: `true`)
- **`language`** *(string, optional)* — Language for enrichment results (`en` or `fr`). (Default: `en`)
- **`fetchCompanyHomepage`** *(boolean, optional)* — Fetch and parse the company's homepage for extra context. (Default: `true`)
- **`maxConcurrency`** *(integer, optional)* — Number of records to process in parallel (1-10). (Default: `3`)
- **`requestTimeoutSecs`** *(integer, optional)* — Timeout for API requests in seconds (1-120). (Default: `30`)
- **`companyUrlFallbackProtocols`** *(array, optional)* — Protocols to try when fetching company homepage. (Default: `["https", "http"]`)
- **`includeRawProviderPayloads`** *(boolean, optional)* — Include full response from providers in the output. (Default: `false`)

#### Input Example:

```json
{
  "records": [
    {
            "id": "1",
            "firstName": "Jan",
            "lastName": "Curn",
            "companyName": "Apify"
        },
        {
             "id": "2",
             "email": "sam@openai.com"
         },
         {
             "id": "3",
             "companyName": "Reddit"
         }
     ],
  "providers": {
    "dropcontactApiKey": "$(DROPCONTACT_API_KEY)",
    "hunterApiKey": "$(HUNTER_API_KEY)"
  },
  "includeRawProviderPayloads": true,
  "maxConcurrency": 3,
  "requestTimeoutSecs": 30,
  "companyUrlFallbackProtocols": ["https", "http"],
  "fetchCompanyHomepage": true
}
```

***

### 📊 Data Points Extracted

The Actor returns a rich dataset for each contact. Below are the primary data points you will receive:

#### **Contact Intelligence**

| Field | Description |
| --- | --- |
| `contact.fullName` | Normalized full name (First Last) |
| `contact.email` | Verified professional email address |
| `contact.jobTitle` | Current professional title |
| `contact.seniority` | Seniority level (Junior, Senior, Manager, Director, VP, C-Level) |
| `contact.linkedinUrl` | Direct link to the LinkedIn profile |
| `contact.location` | City and country of the person |
| `contact.bio` | Professional biography or summary |

#### **Company Firmographics**

| Field | Description |
| --- | --- |
| `company.name` | Official trade name |
| `company.domain` | Primary website domain |
| `company.description` | High-level company overview |
| `company.industry` | Industry classification (e.g., Software, Finance) |
| `company.employeeCount` | Estimated number of employees |
| `company.annualRevenue` | Estimated yearly revenue (where available) |
| `company.totalFunding` | Total venture capital or funding raised |
| `company.foundedYear` | Year the company was established |
| `company.hq` | Headquarters city and country |

#### **French Legal Data (Dropcontact Exclusive)**

| Field | Description |
| --- | --- |
| `company.siren` | 9-digit French business identifier |
| `company.siret` | 14-digit French establishment identifier |
| `company.vat` | Intra-community VAT number |
| `company.legalName` | Official registered legal name |
| `company.location.address` | Registered business address |

#### **Verification & Diagnostics**

| Field | Description |
| --- | --- |
| `emailVerification` | Status (`deliverable`, `risky`), score, and detailed flags from Hunter.io |
| `diagnostics.warnings` | List of issues found (e.g., "Company domain missing", "Provider 401") |
| `diagnostics.personalEmailDetected` | Flag for non-business emails (Gmail, Outlook, etc.) |
| `processedAt` | Timestamp of the enrichment run |

***

### ❓ FAQ

**Q: Do I need both Hunter and Dropcontact?**
A: No, you can use either one or both. The Actor intelligently falls back and merges data from available providers to give you the best possible result.

**Q: Is it compliant with GDPR?**
A: This Actor is an orchestration tool. Compliance depends on the providers you use (Hunter/Dropcontact) and how you process the resulting data. Both providers have their own GDPR compliance frameworks.

**Q: Can I process thousands of leads?**
A: Yes! You can adjust the `maxConcurrency` setting to speed up processing while staying within your API provider rate limits.

***

*Developed with ❤️ for Growth Hackers, Sales Teams, and Data Engineers.*

# Actor input Schema

## `records` (type: `array`):

List of contact records to enrich. Each record can contain email, name, company name, etc.

## `dropcontactApiKey` (type: `string`):

Used for person enrichment and company data.

## `hunterApiKey` (type: `string`):

Used for email verification and email discovery (Email Finder).

## `includeRawProviderPayloads` (type: `boolean`):

If enabled, the full response from providers will be included in the output.

## `maxConcurrency` (type: `integer`):

Number of records to process in parallel.

## `requestTimeoutSecs` (type: `integer`):

Timeout for API requests to providers.

## `companyUrlFallbackProtocols` (type: `array`):

Protocols to try when fetching company homepage.

## `fetchCompanyHomepage` (type: `boolean`):

If enabled, attempts to fetch and parse the company's homepage for extra context.

## `dropcontactSiren` (type: `boolean`):

Enrich with SIREN/SIRET data (French companies).

## `autoResolveDomain` (type: `boolean`):

If company domain is missing, try to resolve it from the company name via Hunter.

## `language` (type: `string`):

Language for enrichment results.

## Actor input object example

```json
{
  "records": [
    {
      "id": "1",
      "firstName": "Jan",
      "lastName": "Curn",
      "companyName": "Apify"
    },
    {
      "id": "2",
      "email": "sam@openai.com"
    },
    {
      "id": "3",
      "companyName": "Reddit"
    }
  ],
  "includeRawProviderPayloads": false,
  "maxConcurrency": 3,
  "requestTimeoutSecs": 30,
  "companyUrlFallbackProtocols": [
    "https",
    "http"
  ],
  "fetchCompanyHomepage": true,
  "dropcontactSiren": true,
  "autoResolveDomain": true,
  "language": "en"
}
```

# Actor output Schema

## `results` (type: `string`):

The main dataset containing all enriched contact records, company intelligence, and verification statuses.

## `summary` (type: `string`):

A summary of the enrichment run, including counts and provider status.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("theguide/crm-data-enrichment-agent").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("theguide/crm-data-enrichment-agent").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call theguide/crm-data-enrichment-agent --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,theguide/crm-data-enrichment-agent"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6Ke87gC60TuCUvrgb/builds/3NwcBDRrNpHj8h0F1/openapi.json
