# B2B Domain Outreach Auditor & Cold Email Icebreaker Generator (`carbene_fu/b2b-domain-outreach-auditor`) Actor

MCP-ready B2B domain auditor for AI Agents, Clay, and n8n. Audits prospect URLs for MX/SPF/DMARC spoofing risk, CMS/marketing pixels, SSL health, and AI search readiness (robots.txt, llms.txt, JSON-LD) to output 0-100 urgency scores and cold-email icebreakers.

- **URL**: https://apify.com/carbene_fu/b2b-domain-outreach-auditor.md
- **Developed by:** [Carbene Hu](https://apify.com/carbene_fu) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 domain audited successfullies

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

## B2B Domain Outreach Auditor & Cold Email Icebreaker Generator

Turn raw website columns from **Google Maps Scraper**, **Apollo**, or **Clay** into factual, protocol-verified **cold email icebreakers** and optional **white-label HTML audit cards**—at **$3.00 per 1,000 live domains** with zero headless browser overhead.

### 1. Why B2B Agencies & Growth Teams Use This Actor

Generic LLM "website summarizers" write vague compliments (*"Love your innovative mission at Acme!"*) that prospects delete on sight. Meanwhile, running Lighthouse or Playwright across 10,000 local business domains is slow and expensive.

`b2b-domain-outreach-auditor` runs pure async **DNS + TLS + HTTP** probes (20+ concurrent domains in 1 GB RAM) to uncover concrete revenue and security gaps your agency can actually fix:

- **Email & Anti-Spoofing (`MX / SPF / DMARC`)**: Identifies `Google Workspace`, `Microsoft 365`, `Mimecast`, `Proofpoint`, `Cloudflare Email`, or `Zoho`, and flags missing `_dmarc` or `p=none` policies that hurt inbox placement under Gmail/Yahoo sender rules.
- **Marketing Pixels & CMS Stack**: Detects `Shopify`, `WordPress`, `Webflow`, `Wix`, `Squarespace`, `Next.js`, `Cloudflare`, `Meta Pixel`, `Google Tag Manager / GA4`, `Klaviyo`, `HubSpot`, `LinkedIn Insight Tag`, and `TikTok Pixel` (e.g., spotting a Shopify brand running Google Ads without a Meta retargeting pixel).
- **SSL & Technical Hygiene**: Inspects live TLS certificate expiration days, issuer CA, `http://` to `https://` redirect chains, `HSTS`, and `<link rel="canonical">` tags.
- **AI Search / GEO Readiness (`AEO`)**: Audits `/robots.txt` for accidental blocks on `GPTBot`, `OAI-SearchBot`, `ClaudeBot`, `PerplexityBot`, and `Google-Extended`, checks for `/llms.txt`, and validates homepage Schema.org `application/ld+json` markup.
- **Deterministic Sales Hooks & White-Label HTML**: Outputs `lead_urgency_score` (`0-100`), `top_3_flaws`, `recommended_service_angle`, a copy-pasteable `sales_hook_line` for Instantly / Smartlead / Lemlist, and an optional branded single-file HTML report link.

***

### 2. Transparent Pay-Per-Event (PPE) Pricing & Worked Examples

> **Zero-Waste Guarantee — Failed & Duplicate Inputs Are $0.00 (FREE):**
> Dead domains (`NXDOMAIN`), connection timeouts, malformed URLs, duplicate rows, and SSRF-blocked addresses emit a structured row (`"status": "failed"`, `"charged": false`) and **never trigger a charge**. Native `maxTotalChargeUsd` budget caps are strictly honored.

| PPE Event Name | Price (USD) | Price per 1,000 | When It Triggers |
| :--- | :--- | :--- | :--- |
| `domain-audited` | **$0.003** | **$3.00 / 1k** | Charged once per unique, reachable domain returning a full 4-pillar audit + sales hook. |
| `report-generated` | **$0.005** | **$5.00 / 1k** | *Optional* — charged only when `generateHtmlReport: true` stores a white-label HTML report in KV Store. |

#### Worked Pricing Examples

1. **Google Maps Clay / n8n Enrichment (5,000 raw websites, HTML reports OFF)**:
   - Suppose 4,200 domains are live, 500 are dead/parked timeouts, and 300 are duplicates.
   - You pay **only** for the 4,200 live domains: `4,200 × $0.003` = **$12.60 total** (*800 failed/duplicate rows = $0.00*).
2. **High-Ticket Agency Proposals (200 qualified prospects, White-Label HTML reports ON)**:
   - 200 live audits (`200 × $0.003 = $0.60`) + 200 branded HTML diagnostic links (`200 × $0.005 = $1.00`) = **$1.60 total** ($0.008 per prospect).
3. **Strict Agent Budget Guard (`maxTotalChargeUsd = $5.00`)**:
   - Even if an upstream workflow accidentally passes 50,000 URLs, execution stops cleanly after 1,666 successful audits ($4.998) and marks remaining rows `skipped_charge_limit` at $0.00.

***

### 3. Quick Integration: Clay, n8n & Apify MCP Server

#### Sample Input JSON

```json
{
  "domains": [
    "https://www.stripe.com/pricing",
    "shopify.com"
  ],
  "generateHtmlReport": true,
  "agencyBrandName": "Northstar Growth Partners",
  "agencyAccentColor": "#0f766e",
  "concurrency": 20
}
```

#### Apify MCP Server (`mcp.apify.com`) for Claude Desktop / Cursor

Add `b2b-domain-outreach-auditor` to your MCP client so your AI assistant can qualify leads and draft factual outreach on demand:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=carbene_fu/b2b-domain-outreach-auditor",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
      }
    }
  }
}
```

#### n8n / Clay Mapping Tip

Map `sales_hook_line` directly to your `{{icebreaker}}` merge variable in Instantly or Smartlead, filter prospects with `lead_urgency_score >= 65`, and include `report_html_url` in follow-up emails as a zero-friction value drop.

***

### 4. Carbene B2B & Compliance Automation Matrix

Combine this Actor with sibling deterministic tools in the **Carbene** ecosystem:

- **Downstream Lead Hygiene** → `smart-email-verifier` *(Batch + Standby MCP MX/Gateway/Catch-All Email Verifier — verify decision-maker emails after filtering high-urgency domains)*.
- **High-Ticket Accessibility Audits** → `wcag-evidence-pack` *(WCAG 2.2 EAA/ADA Annotated Screenshot Evidence Pack — upsell compliance remediation to prospects flagged with technical gaps)*.
- **Finance Back-Office Automation** → `invoice-math-validator` *(Factur-X / UBL XML & Deterministic Line-Item Math Gatekeeper for n8n finance flows)*.

# Actor input Schema

## `domains` (type: `array`):

Array of prospect domains or full URLs (e.g. \["stripe.com", "https://www.shopify.com/pricing"]). Automatically normalized, deduplicated, and SSRF-checked. Unreachable or invalid domains are $0.00 (FREE).

## `generateHtmlReport` (type: `boolean`):

When enabled, renders a self-contained, client-ready single-file HTML diagnostic card into the Apify Key-Value Store and returns `report_html_url` (triggers optional `report-generated` PPE event).

## `agencyBrandName` (type: `string`):

Custom agency or consultancy brand name displayed in the header of generated HTML diagnostic reports.

## `agencyAccentColor` (type: `string`):

6-digit CSS hex color (e.g. `#0369a1`) applied to accents and highlights in generated HTML diagnostic reports.

## `concurrency` (type: `integer`):

Number of domains audited simultaneously using lightweight async DNS/TLS/HTTP sockets (default 20 fits comfortably inside 1 GB RAM).

## `timeoutSecs` (type: `integer`):

Maximum seconds to wait per HTTP, DNS, or TLS handshake before marking a dead host as failed (uncharged).

## `cacheTtlSecs` (type: `integer`):

Seconds to cache completed domain audits in Key-Value Store so duplicate inputs are served free without re-billing.

## `maxTotalChargeUsd` (type: `number`):

Optional secondary spending cap in USD supplementing Apify Platform's native `maxTotalChargeUsd`. Once reached, remaining domains exit cleanly as `skipped_charge_limit` at $0.00.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "shopify.com"
  ],
  "generateHtmlReport": false,
  "agencyBrandName": "Technical Growth Audit",
  "agencyAccentColor": "#0369a1",
  "concurrency": 20,
  "timeoutSecs": 10,
  "cacheTtlSecs": 86400
}
```

# Actor output Schema

## `auditResults` (type: `string`):

Dataset containing one structured enrichment & outreach record per unique input domain.

## `runSummary` (type: `string`):

JSON summary showing succeeded count, uncharged failed count, skipped budget-capped items, and total PPE events billed.

# 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 = {
    "domains": [
        "stripe.com",
        "shopify.com"
    ],
    "generateHtmlReport": false,
    "agencyBrandName": "Technical Growth Audit",
    "agencyAccentColor": "#0369a1"
};

// Run the Actor and wait for it to finish
const run = await client.actor("carbene_fu/b2b-domain-outreach-auditor").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 = {
    "domains": [
        "stripe.com",
        "shopify.com",
    ],
    "generateHtmlReport": False,
    "agencyBrandName": "Technical Growth Audit",
    "agencyAccentColor": "#0369a1",
}

# Run the Actor and wait for it to finish
run = client.actor("carbene_fu/b2b-domain-outreach-auditor").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 '{
  "domains": [
    "stripe.com",
    "shopify.com"
  ],
  "generateHtmlReport": false,
  "agencyBrandName": "Technical Growth Audit",
  "agencyAccentColor": "#0369a1"
}' |
apify call carbene_fu/b2b-domain-outreach-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,carbene_fu/b2b-domain-outreach-auditor"
        }
    }
}
```

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/Jk4saD5kRSHtiaFoQ/builds/o8bDDvTU9pXPqlTP7/openapi.json
