# Shopify ICP Gap Lead Scorer (`theendfear/factory-shopify-icp-gap-lead-scorer-d2ae62fd`) Actor

Score user-provided Shopify store records against an ICP and surface technology or positioning gaps without autonomous scraping.

- **URL**: https://apify.com/theendfear/factory-shopify-icp-gap-lead-scorer-d2ae62fd.md
- **Developed by:** [Marco S.](https://apify.com/theendfear) (community)
- **Categories:** Lead generation, E-commerce
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 qualified record scoreds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Shopify ICP Gap Lead Scorer

Score user-provided Shopify store records against an ICP and surface technology or positioning gaps without autonomous scraping.

### What It Does

This Actor scores store or company records that you already provide. It normalizes the domain, removes duplicate domains, checks each record against explicit ICP keywords, required technologies, and excluded terms, then emits a prioritized lead row with matched signals, gaps, grade, and recommended action.

### Who It Is For

Sales agencies, ecommerce RevOps teams, partner teams, and founder-led outbound teams that already have Shopify or ecommerce lead lists and need a repeatable first-pass qualification step.

### Input

Provide `records` as JSON objects containing a Shopify store domain, URL, or website field. Optional `targetIcp` controls keywords, excluded keywords, and required technologies. `dedupeKey` defaults to `domain`; `maxRecords` is capped at 5000.

### Output

Each emitted dataset row includes domain, score, grade, matched signals, gaps, recommended action, and source record index.

### How It Works

The score is deterministic and explainable. Each valid unique domain starts at 35 points. Matching ICP keywords add 8 points each. Matching required technologies add 12 points each; missing required technologies become `missing-tech:*` gaps. Excluded keywords subtract 35 points and are listed as `excluded:*` gaps. Scores are clamped to 0..100. Grades are A for 80+, B for 65+, C for 45+, and D below 45. Recommended action is `prioritize` for A, `review` for B, and `deprioritize` for C/D.

### Example

```json
{
  "records": [
    {
      "domain": "luma-beauty.example",
      "platform": "Shopify",
      "vertical": "beauty",
      "model": "subscription DTC"
    },
    {
      "website": "northgear.example",
      "platform": "Shopify Plus",
      "vertical": "outdoor"
    }
  ],
  "targetIcp": {
    "keywords": ["shopify", "dtc", "subscription", "beauty", "outdoor"],
    "requiredTechnologies": ["shopify"],
    "excludedKeywords": ["adult", "gambling"]
  }
}
```

Example output row:

```json
{
  "domain": "luma-beauty.example",
  "score": 79,
  "grade": "B",
  "matchedSignals": ["keyword:shopify", "keyword:dtc", "keyword:subscription", "keyword:beauty", "tech:shopify"],
  "gaps": [],
  "recommendedAction": "review",
  "sourceRecordIndex": 0
}
```

### Pricing

Suggested PAY\_PER\_EVENT event: `qualified_record_scored`, charged only for unique valid records emitted. Invalid records and duplicates are not billable.

### Limitations

This Actor does not autonomously discover Shopify stores or other websites, bypass logins, solve CAPTCHA, use proxies, or buy data. It processes user-provided records only and requires no login or proxy configuration.

It does not verify that a domain currently runs Shopify; it scores the fields you provide. It does not enrich records, scrape technology stacks, send outreach, or produce contact data.

### Integration

Run it directly with JSON input, from an Apify task, or downstream from any workflow that already has candidate ecommerce domains. Results are written to the default dataset and the run summary is written to the `OUTPUT` key-value store record.

### Differentiation

Use Shopify ICP Gap Lead Scorer when you have lead/store records and need ICP fit, missing required signals, and lead-priority actions. Use a price analyzer when the job is comparing product prices rather than qualifying stores.

# Actor input Schema

## `records` (type: `array`):

Array of store/company records.

## `targetIcp` (type: `object`):

Scoring preferences.

## `dedupeKey` (type: `string`):

Record field used to deduplicate input records.

## `maxRecords` (type: `integer`):

Maximum number of input records to process in one run.

## Actor input object example

```json
{
  "dedupeKey": "domain",
  "maxRecords": 5000
}
```

# Actor output Schema

## `results` (type: `string`):

Scored unique valid records in the default dataset.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("theendfear/factory-shopify-icp-gap-lead-scorer-d2ae62fd").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("theendfear/factory-shopify-icp-gap-lead-scorer-d2ae62fd").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 '{}' |
apify call theendfear/factory-shopify-icp-gap-lead-scorer-d2ae62fd --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,theendfear/factory-shopify-icp-gap-lead-scorer-d2ae62fd"
        }
    }
}

```

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/J8GLK9ruWUXfq3Z2S/builds/QDV1xpVZj0MLdPsGb/openapi.json
