# Send B2B Lead Generation & Contact Extractor to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "b2b-lead-generation",
    "name": "B2B Lead Generation & Contact Extractor",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/g4dr/b2b-lead-generation",
    "canonicalUrl": "https://clawhub.ai/g4dr/b2b-lead-generation",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/b2b-lead-generation",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=b2b-lead-generation",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/b2b-lead-generation"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/b2b-lead-generation",
    "downloadUrl": "https://openagent3.xyz/downloads/b2b-lead-generation",
    "agentUrl": "https://openagent3.xyz/skills/b2b-lead-generation/agent",
    "manifestUrl": "https://openagent3.xyz/skills/b2b-lead-generation/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/b2b-lead-generation/agent.md"
  }
}
```
## Documentation

### Overview

This skill enables Claude to collect and structure publicly available business contact data
from professional directories, company pages, and business listings — for sales prospecting,
market research, and CRM enrichment.

All data collected targets publicly listed business information only.
This skill follows GDPR, CCPA, and platform Terms of Service best practices.

🔗 Sign up for Apify here: https://www.apify.com/?fpr=dx06p

### What This Skill Does

Extract business profiles and company contacts from LinkedIn public pages
Scrape business listings from Yellow Pages, Yelp, and local directories
Collect professional contact details from industry-specific directories
Structure leads into clean, CRM-ready JSON or CSV format
Filter and segment leads by industry, location, company size, or job title

### Legal & Ethical Framework

This skill is designed for legitimate B2B use cases only:

Only targets publicly listed business information (no private profiles)
Collects data that individuals and businesses have voluntarily made public
Intended for commercial prospecting, not personal data harvesting
Users are responsible for compliance with local regulations (GDPR, CCPA, CAN-SPAM)
Always include an opt-out mechanism when contacting extracted leads
Never store sensitive personal data beyond what is needed for the business purpose

### Step 1 — Get Your Apify API Token

Go to https://www.apify.com/?fpr=dx06p and create a free account
Navigate to Settings → Integrations

Direct link: https://console.apify.com/account/integrations


Copy your Personal API Token: apify_api_xxxxxxxxxxxxxxxx
Set it as an environment variable:
export APIFY_TOKEN=apify_api_xxxxxxxxxxxxxxxx

Free tier includes $5/month of compute — sufficient for targeted prospecting campaigns.

### Step 2 — Install the Apify Client

npm install apify-client

### LinkedIn (Public Company & Profile Pages)

Actor IDPurposeapify/linkedin-companies-scraperExtract company info, size, industry, websiteapify/linkedin-profile-scraperScrape public professional profilesapify/linkedin-jobs-scraperFind companies actively hiring (signals buying intent)

Note: Only public LinkedIn pages are accessible. Login-gated data is not targeted.

### Yellow Pages & Local Directories

Actor IDPurposeapify/yellowpages-scraperBusiness name, phone, address, categoryapify/yelp-scraperLocal business listings with ratings and contactsapify/google-maps-scraperBusiness listings with phone, website, hours

### Professional & Industry Directories

Actor IDPurposeapify/website-content-crawlerCrawl any public professional directoryapify/cheerio-scraperFast extraction from HTML-based listing sites

### Extract Company Contacts from LinkedIn

import ApifyClient from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor("apify/linkedin-companies-scraper").call({
  startUrls: [
    { url: "https://www.linkedin.com/company/salesforce/" },
    { url: "https://www.linkedin.com/company/hubspot/" }
  ],
  maxResults: 50
});

const { items } = await run.dataset().getData();

// Each item contains:
// { name, website, industry, employeeCount,
//   headquarters, description, linkedinUrl }

### Scrape Yellow Pages for Local Business Leads

const run = await client.actor("apify/yellowpages-scraper").call({
  searchTerms: ["digital marketing agency"],
  locations: ["New York, NY", "Los Angeles, CA", "Chicago, IL"],
  maxResultsPerPage: 30
});

const { items } = await run.dataset().getData();

// Each item contains:
// { businessName, phone, address, city, state,
//   zip, website, category, email }

### Extract Leads from Google Maps (Local Businesses)

const run = await client.actor("apify/google-maps-scraper").call({
  searchStringsArray: ["accountants in Austin TX", "law firms in Miami FL"],
  maxCrawledPlacesPerSearch: 50,
  language: "en"
});

const { items } = await run.dataset().getData();

// Each item contains:
// { title, address, phone, website, rating,
//   reviewsCount, category, email, plusCode }

### Multi-Source Lead Aggregation Pipeline

const [ypRun, gmRun] = await Promise.all([
  client.actor("apify/yellowpages-scraper").call({
    searchTerms: ["IT consulting"],
    locations: ["San Francisco, CA"],
    maxResultsPerPage: 25
  }),
  client.actor("apify/google-maps-scraper").call({
    searchStringsArray: ["IT consulting San Francisco CA"],
    maxCrawledPlacesPerSearch: 25
  })
]);

const [ypData, gmData] = await Promise.all([
  ypRun.dataset().getData(),
  gmRun.dataset().getData()
]);

// Normalize and deduplicate by website domain
const allLeads = [...ypData.items, ...gmData.items];
const uniqueLeads = allLeads.filter(
  (lead, index, self) =>
    index === self.findIndex(l => l.website === lead.website)
);

console.log(\`${uniqueLeads.length} unique leads collected\`);

### Using the REST API Directly

const response = await fetch(
  "https://api.apify.com/v2/acts/apify~yellowpages-scraper/runs",
  {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      "Authorization": \`Bearer ${process.env.APIFY_TOKEN}\`
    },
    body: JSON.stringify({
      searchTerms: ["web design agency"],
      locations: ["Boston, MA"],
      maxResultsPerPage: 20
    })
  }
);

const { data } = await response.json();
const runId = data.id;

// Fetch results once run is complete
const results = await fetch(
  \`https://api.apify.com/v2/actor-runs/${runId}/dataset/items\`,
  { headers: { Authorization: \`Bearer ${process.env.APIFY_TOKEN}\` } }
);

const leads = await results.json();

### Lead Enrichment Workflow

When asked to build a lead list, Claude will:

Clarify the target industry, location, company size, and job title filters
Select the most appropriate data sources (directories, maps, LinkedIn)
Run the relevant Apify actors with the specified filters
Deduplicate results by website domain or phone number
Normalize all fields into a consistent schema
Export a clean, CRM-ready JSON or CSV dataset

### Normalized Lead Output Schema

{
  "companyName": "Bright Digital Agency",
  "industry": "Marketing & Advertising",
  "website": "https://brightdigital.com",
  "phone": "+1 (415) 555-0192",
  "email": "hello@brightdigital.com",
  "address": "123 Market St, San Francisco, CA 94105",
  "employeeCount": "11-50",
  "source": "yellowpages",
  "extractedAt": "2025-02-25T10:00:00Z"
}

### Export to CSV (CRM-Ready)

import { writeFileSync } from 'fs';

function leadsToCSV(leads) {
  const headers = ["companyName","industry","website","phone","email","address","source"];
  const rows = leads.map(l =>
    headers.map(h => \`"${(l[h] || "").replace(/"/g, '""')}"\`).join(",")
  );
  return [headers.join(","), ...rows].join("\\n");
}

writeFileSync("leads.csv", leadsToCSV(leads));
console.log("leads.csv ready to import into your CRM");

### Best Practices

Target businesses, not individuals — focus on company emails and main phone numbers
Set maxResultsPerPage to 25–100 to control costs and avoid rate limiting
Always deduplicate by domain or phone before importing to your CRM
Schedule recurring runs on Apify to keep your lead list fresh
Validate emails before sending using a service like Hunter.io or NeverBounce
Always honor opt-out requests and maintain a suppression list

### Error Handling

try {
  const run = await client.actor("apify/google-maps-scraper").call(input);
  const dataset = await run.dataset().getData();
  return dataset.items;
} catch (error) {
  if (error.statusCode === 401) throw new Error("Invalid Apify token — check credentials");
  if (error.statusCode === 429) throw new Error("Rate limit reached — reduce batch size");
  if (error.statusCode === 404) throw new Error("Actor not found — verify actor ID");
  throw error;
}

### Requirements

An Apify account → https://www.apify.com/?fpr=dx06p
A valid Personal API Token from Settings → Integrations
Node.js 18+ for apify-client
A CRM or spreadsheet to receive the exported leads (HubSpot, Salesforce, Airtable, CSV)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: g4dr
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/b2b-lead-generation)
- [Send to Agent page](https://openagent3.xyz/skills/b2b-lead-generation/agent)
- [JSON manifest](https://openagent3.xyz/skills/b2b-lead-generation/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/b2b-lead-generation/agent.md)
- [Download page](https://openagent3.xyz/downloads/b2b-lead-generation)