A

apify-lead-generation

Verified

by sickn33 · Updated Apr 16, 2026

opus
3in63out
$0.827s

Scrape leads from multiple platforms using Apify Actors.

lead-generationapifyscrapingsalesprospectingdata-export

See It In Action

2 turns·claude
The project codebase is in your current working directory. Explore the files to understand the code before making changes. need 75 independent gym leads in Austin asap for outbound today, grab whatever contact info you can and give me a quick quality summary too

I'll use Google Places to pull gym leads in Austin. Let me grab the actor schema first, then run the scrape.

Got the token. Let me check the run script and then fire off the scrape.

Need to set up prerequisites first. Let me install mcpc and create the .env file.

Good. Now let me fetch the actor schema and write the run script.

The mcpc syntax changed. Let me use the Apify REST API directly — faster for our needs.

Scrape is running (typically takes 2-4 minutes for this volume). Waiting for results...

Got 119 leads — more than the 75 you needed. Let me check the data quality and give you the summary.

Good data but needs a quick cleanup — 4 dupes and 7 apartment complexes snuck in. Let me clean it to exactly 75 quality leads.

Done. Here's your deliverable:


75 Austin Gym Leads — Ready for Outbound

MetricValue
Total leads75
With phone75 (100%)
With website75 (100%)
With address75 (100%)
Avg Google rating4.7 stars

Category mix: Gyms (largest), Personal Trainers, Boxing Gyms, Martial Arts Schools, CrossFit/Fitness Centers, Muay Thai, Jujitsu

Quality notes:

  • All 75 leads have complete contact info (phone + website + address) — no blanks to chase down
  • Sorted by contact completeness then review volume, so your highest-signal leads are at the top
  • Removed 4 duplicates and 9 non-gym results (apartment complexes, rec centers) from the raw scrape
  • 85%+ rated 4.5+ stars — these are established, active businesses
  • Mix of independent gyms and small chains; includes niche verticals (boxing, martial arts, CrossFit) for targeted messaging

Files saved:

  • 2026-04-13_austin_gym_leads.csv — ready to import into your CRM/dialer
  • 2026-04-13_austin_gym_leads.json — structured data if you need programmatic access
<task-notification> <task-id>b9w8ofvt4</task-id> <tool-use-id>toolu_01RCHymFcCdpABmaY7Wrx4p3</tool-use-id> <output-file>/private/tmp/claude-501/-private-var-folders-t6--sx-03q50-v9w2jpnq683jmw0000gn-T-claude-run-fquc034s/fc549f7c-cfa3-4cb5-9e68-c31d34e6449d/tasks/b9w8ofvt4.output</output-file> <status>completed</status> <summary>Background command "Run Google Places scraper for Austin gym leads" completed (exit code 0)</summary> </task-notification>

The scrape task already completed and the leads are delivered. The CSV and JSON files are ready in your working directory — just grab 2026-04-13_austin_gym_leads.csv and load it into your dialer/CRM. Good luck with outbound today.

Claude Sonnet 4.6

External Tools

ToolType
nodebinary
npmbinary
jqbinary

Permissions

ScopeDescription
filesystem:read
filesystem:write
network:outbound
process:spawn
env:read

SKILL.md

Lead Generation

Scrape leads from multiple platforms using Apify Actors.

When to Use

  • You need business, creator, or contact leads from maps, search, social, or video platforms.
  • The task involves selecting an Apify Actor to discover prospects and extract outreach data.
  • You need exported lead data plus a concise summary of lead quality or segmentation.

Prerequisites

(No need to check it upfront)

  • .env file with APIFY_TOKEN
  • Node.js 20.6+ (for native --env-file support)
  • mcpc CLI tool: npm install -g @apify/mcpc

Workflow

Copy this checklist and track progress:

Task Progress:
- [ ] Step 1: Determine lead source (select Actor)
- [ ] Step 2: Fetch Actor schema via mcpc
- [ ] Step 3: Ask user preferences (format, filename)
- [ ] Step 4: Run the lead finder script
- [ ] Step 5: Summarize results

Step 1: Determine Lead Source

Select the appropriate Actor based on user needs:

User NeedActor IDBest For
Local businessescompass/crawler-google-placesRestaurants, gyms, shops
Contact enrichmentvdrmota/contact-info-scraperEmails, phones from URLs
Instagram profilesapify/instagram-profile-scraperInfluencer discovery
Instagram posts/commentsapify/instagram-scraperPosts, comments, hashtags, places
Instagram searchapify/instagram-search-scraperPlaces, users, hashtags discovery
TikTok videos/hashtagsclockworks/tiktok-scraperComprehensive TikTok data extraction
TikTok hashtags/profilesclockworks/free-tiktok-scraperFree TikTok data extractor
TikTok user searchclockworks/tiktok-user-search-scraperFind users by keywords
TikTok profilesclockworks/tiktok-profile-scraperCreator outreach
TikTok followers/followingclockworks/tiktok-followers-scraperAudience analysis, segmentation
Facebook pagesapify/facebook-pages-scraperBusiness contacts
Facebook page contactsapify/facebook-page-contact-informationExtract emails, phones, addresses
Facebook groupsapify/facebook-groups-scraperBuying intent signals
Facebook eventsapify/facebook-events-scraperEvent networking, partnerships
Google Searchapify/google-search-scraperBroad lead discovery
YouTube channelsstreamers/youtube-scraperCreator partnerships
Google Maps emailspoidata/google-maps-email-extractorDirect email extraction

Step 2: Fetch Actor Schema

Fetch the Actor's input schema and details dynamically using mcpc:

export $(grep APIFY_TOKEN .env | xargs) && mcpc --json mcp.apify.com --header "Authorization: Bearer $APIFY_TOKEN" tools-call fetch-actor-details actor:="ACTOR_ID" | jq -r ".content"

Replace ACTOR_ID with the selected Actor (e.g., compass/crawler-google-places).

This returns:

  • Actor description and README
  • Required and optional input parameters
  • Output fields (if available)

Step 3: Ask User Preferences

Before running, ask:

  1. Output format:
    • Quick answer - Display top few results in chat (no file saved)
    • CSV - Full export with all fields
    • JSON - Full export in JSON format
  2. Number of results: Based on character of use case

Step 4: Run the Script

Quick answer (display in chat, no file):

node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT'

CSV:

node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT' \
  --output YYYY-MM-DD_OUTPUT_FILE.csv \
  --format csv

JSON:

node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT' \
  --output YYYY-MM-DD_OUTPUT_FILE.json \
  --format json

Step 5: Summarize Results

After completion, report:

  • Number of leads found
  • File location and name
  • Key fields available
  • Suggested next steps (filtering, enrichment)

Error Handling

APIFY_TOKEN not found - Ask user to create .env with APIFY_TOKEN=your_token mcpc not found - Ask user to install npm install -g @apify/mcpc Actor not found - Check Actor ID spelling Run FAILED - Ask user to check Apify console link in error output Timeout - Reduce input size or increase --timeout

FAQ

What does apify-lead-generation do?

Scrape leads from multiple platforms using Apify Actors.

When should I use apify-lead-generation?

Use it when you need a repeatable workflow that produces structured table, text report, source code.

What does apify-lead-generation output?

In the evaluated run it produced structured table, text report, source code.

How do I install or invoke apify-lead-generation?

Ask the agent to use this skill when the task matches its documented workflow.

Which agents does apify-lead-generation support?

Agent support is inferred from the source, but not explicitly declared.

What tools, channels, or permissions does apify-lead-generation need?

It uses node, npm, jq; channels commonly include table, text, code; permissions include filesystem:read, filesystem:write, network:outbound, process:spawn, env:read.

Is apify-lead-generation safe to install?

Static analysis marked this skill as medium risk; review side effects and permissions before enabling it.

How is apify-lead-generation different from an MCP or plugin?

A skill packages instructions and workflow conventions; tools, MCP servers, and plugins are dependencies the skill may call during execution.

Does apify-lead-generation outperform not using a skill?

About apify-lead-generation

When to use apify-lead-generation

You need to gather leads from platforms like Google Maps, Instagram, TikTok, Facebook, YouTube, or search results. You want the agent to choose an appropriate Apify Actor, inspect its schema, and run it with structured input. You need the scraped results summarized and optionally saved as CSV or JSON.

When apify-lead-generation is not the right choice

You do not have an Apify token or cannot use Apify Actors in the environment. You need a connector-based native integration rather than CLI-driven API access through local scripts.

What it produces

Produces structured table, text report and source code.