# Send Apify Lead Generation 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": "apify-lead-generation",
    "name": "Apify Lead Generation",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/protoss70/apify-lead-generation",
    "canonicalUrl": "https://clawhub.ai/protoss70/apify-lead-generation",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/apify-lead-generation",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=apify-lead-generation",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "reference/scripts/run_actor.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "apify-lead-generation",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T02:10:03.388Z",
      "expiresAt": "2026-05-07T02:10:03.388Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=apify-lead-generation",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=apify-lead-generation",
        "contentDisposition": "attachment; filename=\"apify-lead-generation-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "apify-lead-generation"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/apify-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/apify-lead-generation",
    "downloadUrl": "https://openagent3.xyz/downloads/apify-lead-generation",
    "agentUrl": "https://openagent3.xyz/skills/apify-lead-generation/agent",
    "manifestUrl": "https://openagent3.xyz/skills/apify-lead-generation/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/apify-lead-generation/agent.md"
  }
}
```
## Documentation

### Lead Generation

Scrape leads from multiple platforms using Apify Actors.

### Prerequisites

APIFY_TOKEN configured in OpenClaw settings
Node.js 20.6+
mcpc CLI (auto-installed via skill metadata)

### Input Sanitization Rules

Before substituting any value into a bash command:

ACTOR_ID: Must be either a technical name (owner/actor-name — alphanumeric, hyphens, dots, one slash) or a raw ID (exactly 17 alphanumeric characters, e.g., oeiQgfg5fsmIJB7Cn). Reject values containing shell metacharacters (; | & $ \` ( ) { } < > ! \\n).
SEARCH_KEYWORDS: Plain text words only. Reject shell metacharacters.
JSON_INPUT: Must be valid JSON. Must not contain single quotes (use escaped double quotes). Validate structure before use.
Output filenames: Must match YYYY-MM-DD_descriptive-name.{csv,json}. No path separators (/, ..), no spaces, no metacharacters.

### 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 ForLocal businessescompass/crawler-google-placesRestaurants, gyms, shopsContact enrichmentvdrmota/contact-info-scraperEmails, phones from URLsInstagram profilesapify/instagram-profile-scraperInfluencer discoveryInstagram posts/commentsapify/instagram-scraperPosts, comments, hashtags, placesInstagram searchapify/instagram-search-scraperPlaces, users, hashtags discoveryTikTok videos/hashtagsclockworks/tiktok-scraperComprehensive TikTok data extractionTikTok hashtags/profilesclockworks/free-tiktok-scraperFree TikTok data extractorTikTok user searchclockworks/tiktok-user-search-scraperFind users by keywordsTikTok profilesclockworks/tiktok-profile-scraperCreator outreachTikTok followers/followingclockworks/tiktok-followers-scraperAudience analysis, segmentationFacebook pagesapify/facebook-pages-scraperBusiness contactsFacebook page contactsapify/facebook-page-contact-informationExtract emails, phones, addressesFacebook groupsapify/facebook-groups-scraperBuying intent signalsFacebook eventsapify/facebook-events-scraperEvent networking, partnershipsGoogle Searchapify/google-search-scraperBroad lead discoveryYouTube channelsstreamers/youtube-scraperCreator partnershipsGoogle Maps emailspoidata/google-maps-email-extractorDirect email extraction

### Step 2: Fetch Actor Schema

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

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:

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


Number of results: Based on character of use case

### Step 4: Run the Script

Quick answer (display in chat, no file):

node {baseDir}/reference/scripts/run_actor.js \\
  --actor 'ACTOR_ID' \\
  --input 'JSON_INPUT'

CSV:

node {baseDir}/reference/scripts/run_actor.js \\
  --actor 'ACTOR_ID' \\
  --input 'JSON_INPUT' \\
  --output 'YYYY-MM-DD_OUTPUT_FILE.csv' \\
  --format csv

JSON:

node {baseDir}/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)

### Security & Data Privacy

This skill instructs the agent to select an Apify Actor, fetch its schema (via mcpc), and run scrapers. The included script communicates only with api.apify.com and writes outputs to files under the current working directory; it does not access unrelated system files or other environment variables.

Apify Actors only scrape publicly available data and do not collect private or personally identifiable information beyond what is openly accessible on the target platforms. For additional security assurance, you can check an Actor's permission level by querying https://api.apify.com/v2/acts/:actorId — an Actor with LIMITED_PERMISSIONS operates in a restricted sandbox, while FULL_PERMISSIONS indicates broader system access. For full details, see Apify's General Terms and Conditions.

### Error Handling

APIFY_TOKEN not found - Ask user to configure APIFY_TOKEN in OpenClaw settings
mcpc not found - Run 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: protoss70
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T02:10:03.388Z
- Expires at: 2026-05-07T02:10:03.388Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/apify-lead-generation)
- [Send to Agent page](https://openagent3.xyz/skills/apify-lead-generation/agent)
- [JSON manifest](https://openagent3.xyz/skills/apify-lead-generation/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/apify-lead-generation/agent.md)
- [Download page](https://openagent3.xyz/downloads/apify-lead-generation)