Apollo

From refly-ai/refly-skills · View interactive version

Apollo is an AI agent skill from the GitHub repository refly-ai/refly-skills. Search sales leads with Apollo.io. Use when you need to: (1) find company and contact information, (2) enrich lead data, or (3) search for B2B prospects.

How to use this skill

Skill file

Apollo

Search sales leads with Apollo.io. Use when you need to: (1) find company and contact information, (2) enrich lead data, or (3) search for B2B prospects.

Input

Provide input as JSON:

{
  "company_name": "Target company name to search for (e.g., Tesla, Microsoft, Apple)",
  "job_titles": "Job titles to search for (e.g., CEO, Sales Manager, Marketing Director)",
  "industry": "Target industry (e.g., Technology, Healthcare, Finance)",
  "location": "Geographic location to search (e.g., United States, San Francisco, New York)"
}

Execution (Pattern B: Text/Data)

Step 1: Run the Skill and Get Run ID

RESULT=$(refly skill run --id skpi-jmvxpnmpmdkyxtrv488qwhbb --input '{
  "company_name": "Microsoft",
  "job_title": "Software Engineer",
  "location": "San Francisco"
}')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
# RUN_ID is we-xxx format, use this for workflow commands

Step 2: Open Workflow in Browser and Wait for Completion

open "https://refly.ai/workflow/c-ga8qr2v0idibvd841ypjhbix"
refly workflow status "$RUN_ID" --watch --interval 30000

Step 3: Extract Text Content

# Get lead data from toolcalls
CONTENT=$(refly workflow toolcalls "$RUN_ID" --files --latest | jq -r '.payload.nodes[].content')
echo "$CONTENT"

Expected Output

Rules

Follow base skill workflow: ~/.claude/skills/refly/SKILL.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.