Import leads into Salesforce, HubSpot, Zoho, or Pipedrive with validation, deduplication against existing CRM records, lead scoring, consent and compliance checks, and source attribution — then push…

MITAuto-check passedSales & Support

Install Lead Import

skills CLI
$ npx skills add indranilbanerjee/digital-marketing-pro --skill lead-import -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install indranilbanerjee/digital-marketing-pro lead-import --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/indranilbanerjee/digital-marketing-pro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/lead-import .claude/skills/lead-import && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lead-import
GitHub stars
855
Used in
1 other repo
Token cost
~3.3k tokens
SKILL.md length
1,583 words
Files
1
Skills in repo
162
Repo updated
First seen
Licence
MIT

At a glance

Import leads into Salesforce, HubSpot, Zoho, or Pipedrive with validation, deduplication against existing CRM records, lead scoring, consent and compliance checks, and source attribution — then push…

  • Works in 4 steps: Present the full preview — recipients /… → The user must type yes (or an equivalent… → Never proceed on ambiguous input. Never… → …
  • /digital-marketing-pro:lead-import
  • SKILL.md covers Purpose, Execution gate (MANDATORY —…, Input Required and Process, plus 2 more sections
  • Calls python

What it does

Lead Import is an agent skill from indranilbanerjee/digital-marketing-pro. Import leads into Salesforce, HubSpot, Zoho, or Pipedrive with validation, deduplication against existing CRM records, lead scoring, consent and compliance checks, and source attribution — then push via the CRM MCP and return a full import report with an audit log. Triggers on "/digital-marketing-pro:lead-import", "import these leads", "load this CSV into the CRM", "add the webinar signups to HubSpot", "dedupe and score this lead list". Nothing touches the live CRM until the Execution Summary is approved with a…

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Sales & Support, covering CRM management, Lead generation and Data cleaning. It works with HubSpot, Model Context Protocol, Salesforce and Zoho. The repository describes itself as: An open-source AI marketing operating system for strategy, SEO, AEO/GEO, paid media, content, CRM, and analytics - grounded in brand context, human approval, and verifiable… The licence is MIT.

When your agent uses it

  • /digital-marketing-pro:lead-import
  • Import these leads
  • Load this CSV into the CRM
  • Add the webinar signups to HubSpot

Example prompts

  • “/digital-marketing-pro:lead-import”
  • “import these leads”
  • “load this CSV into the CRM”
  • “/lead-import”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Present the full preview — recipients / spend / changes / compliance — as an Execution Summary before touching any live system.
  2. The user must type yes (or an equivalent explicit approval). ANY other input — ambiguous, implied, partial, or absent approval — cancels…
  3. Never proceed on ambiguous input. Never auto-retry a failed execution; a failure needs human review before any re-run.
  4. Record the approval with python "${CLAUDE_PLUGIN_ROOT}/scripts/approval-manager.py" --brand {slug} --action create-approval --data…

What it can do on your machine

Read from SKILL.md and the folder at commit 3343924. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lead Import loads about 3.3k tokens when it runs. Until then it costs about 186 tokens; SKILL.md has 1,583 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~186
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from indranilbanerjee/digital-marketing-pro at commit 3343924, republished under its MIT licence (© indranilbanerjee). 1,583 words, ~3,275 tokens.

Download SKILL.mdSave it as .claude/skills/lead-import/SKILL.md (or your agent's skills folder).
name
lead-import
description
Import leads into Salesforce, HubSpot, Zoho, or Pipedrive with validation, deduplication against existing CRM records, lead scoring, consent and compliance checks, and source attribution — then push via the CRM MCP and return a full import report with an audit log. Triggers on "/digital-marketing-pro:lead-import", "import these leads", "load this CSV into the CRM", "add the webinar signups to HubSpot", "dedupe and score this lead list". Nothing touches the live CRM until the Execution Summary is approved with a typed yes — the approval gate is mandatory. Scores leads with the marketing-automation lead-scoring framework and reads the brand profile; for general CRM syncing without scoring use /digital-marketing-pro:crm-sync.
disable-model-invocation
false
argument-hint
[source-file or URL]

/digital-marketing-pro:lead-import

Purpose

Import leads into the brand's CRM with data validation, deduplication, lead scoring, and proper consent tracking. Supports CSV files, JSON arrays, and manual entry with automatic source attribution. Ensures every imported lead is clean, scored, deduplicated, and compliant before it reaches the sales team — eliminating the manual data hygiene work that slows down lead-to-opportunity conversion. Integrates with the marketing-automation lead scoring framework to classify leads on import, so high-value prospects are routed to sales immediately while lower-scoring leads enter nurture sequences automatically.

Use this command for leads specifically — it applies scoring, lifecycle staging, and nurture enrollment. For general CRM data syncing (contacts, deals, campaigns) without lead scoring, use /digital-marketing-pro:crm-sync instead.

Execution gate (MANDATORY — cannot be skipped)

  1. Present the full preview — recipients / spend / changes / compliance — as an Execution Summary before touching any live system.
  2. The user must type yes (or an equivalent explicit approval). ANY other input — ambiguous, implied, partial, or absent approval — cancels the run.
  3. Never proceed on ambiguous input. Never auto-retry a failed execution; a failure needs human review before any re-run.
  4. Record the approval with python "${CLAUDE_PLUGIN_ROOT}/scripts/approval-manager.py" --brand {slug} --action create-approval --data '{"risk_level":"<tier>","summary":"..."}' before executing, then python "${CLAUDE_PLUGIN_ROOT}/scripts/approval-manager.py" --brand {slug} --action mark-executed --id {approval_id} after the platform confirms success.

Input Required

The user must provide (or will be prompted for):

  • Lead data: CSV file path, JSON array, or manual field entry — must include at minimum an email address or phone number for deduplication and identity resolution
  • Source attribution: Where these leads originated — form name, event name, campaign identifier, landing page URL, ad platform and campaign, partner referral, webinar registration, or manual prospecting
  • Lead scoring threshold (optional): Minimum score for a lead to be imported as marketing-qualified (MQL) — leads below threshold are imported as raw leads with lower priority routing
  • CRM platform: Target CRM — Salesforce, HubSpot, Zoho, or Pipedrive — and the specific object type (Lead, Contact, or platform equivalent)
  • Required fields: Which fields are mandatory for import — email, first name, last name, company, phone, job title, or custom fields specific to the business qualification criteria
  • Consent status: Whether leads have provided opt-in consent, the consent mechanism (single opt-in, double opt-in, legitimate interest, contractual necessity), and applicable privacy regulation (GDPR, CCPA, CASL)
  • Assignment rules (optional): How imported leads should be assigned — round-robin across reps, territory-based by geography, product-line based, company-size tier, or to a specific owner for manual distribution
  • Duplicate handling preference: When a duplicate is found — update existing record with new data, skip the duplicate entirely, merge specific fields (e.g., add new source but keep existing owner), or create a secondary record linked to the original
  • Lead lifecycle stage: Initial status to assign — new lead, marketing-qualified, sales-accepted, or a custom stage in the brand's lifecycle model
  • Tagging and list membership (optional): Tags, lists, or campaigns to associate with imported leads for downstream segmentation and reporting
  • Notification preferences (optional): Whether to notify assigned sales reps about new leads immediately, and via which channel (CRM notification, email, Slack) — with priority flagging for high-scoring MQLs
  • Nurture sequence trigger (optional): Whether to automatically enroll imported leads into an existing nurture sequence based on score tier, source, or lifecycle stage
  • Custom scoring overrides (optional): Manual score adjustments for specific lead sources — e.g., event leads get +20 bonus points, partner referrals get +15 — applied on top of the standard scoring model
  • Import frequency: Whether this is a one-time import or a recurring source — if recurring, specify expected cadence (daily form submissions, weekly event exports, monthly partner lists) for import template creation

Process

  1. Load brand context: Read ~/.claude-marketing/brands/_active-brand.json for the active slug, then load ~/.claude-marketing/brands/{slug}/profile.json. Apply brand voice, compliance rules for target markets (skills/context-engine/compliance-rules.md), and industry context. Also check for guidelines at ~/.claude-marketing/brands/{slug}/guidelines/_manifest.json — if present, load restrictions and relevant category files. Check for agency SOPs at ~/.claude-marketing/sops/. If no brand exists, ask: "Set up a brand first (/digital-marketing-pro:brand-setup)?" — or proceed with defaults.
  2. Parse and validate lead data: Read the input data source and validate every record — check email format (RFC 5322), normalize phone numbers to E.164, verify required fields are present, detect encoding issues, identify obviously fake entries (test@test.com, role-based emails like info@), and flag malformed or incomplete records with specific error reasons.
  3. Normalize and enrich fields: Standardize company names, job titles, and geographic data. Apply consistent formatting — title case for names, lowercase for emails, standardized country and state codes. Where possible, infer missing fields from available data (e.g., company domain from email, country from phone prefix).
  4. Check for duplicates per lead: Query the target CRM for existing records matching each lead on email, phone, or composite key. Categorize results as new (no match), exact duplicate (same email and name), fuzzy match (similar name or domain), or enrichment opportunity (existing record with missing fields this lead can fill).
  5. Score leads using lead scoring framework: Apply the marketing-automation lead scoring model from skills/marketing-automation/lead-scoring.md — score based on demographic fit (job title seniority, company size, industry match), behavioral signals (source quality, content engagement, recency of interaction), and engagement potential. Classify each lead as MQL, raw lead, or nurture candidate based on the threshold.
  6. Validate consent and compliance: Check each lead's consent status against compliance rules for the brand's target markets. Verify opt-in mechanism is documented, timestamp consent records, flag leads missing required consent fields, and ensure lawful data processing basis is recorded per applicable regulation (GDPR Article 6, CCPA, CASL).
  7. Prepare CRM-ready payloads with source attribution: Transform validated leads into platform-specific payloads — map fields to CRM schema, attach source attribution (utm_source, utm_medium, utm_campaign), apply assignment rules, set lead status and lifecycle stage, add tags and list memberships, and include lead score as a custom field.
  8. Create approval gate: Assess risk level — medium for fewer than 50 leads, high for 50 or more. Present import preview showing total lead count, valid vs. invalid breakdown, top 5 sample records with scores, scoring distribution (MQL/raw/nurture counts), duplicate summary, compliance status, and any validation warnings.
  9. On approval, import via CRM MCP: Push lead payloads to the target CRM through the platform MCP in batched requests. Handle rate limits with exponential backoff, retry transient failures, apply assignment rules, trigger any CRM-side automation (welcome workflows, rep notifications), and log each lead's import outcome.
  10. Trigger notifications and nurture enrollment: For high-scoring MQLs, send immediate notifications to assigned reps with lead details and recommended next actions. For nurture-qualified leads, enroll in the specified nurture sequence via the email platform MCP. Log all triggered automations.
  11. Verify import integrity: Query the CRM post-import to confirm record counts match expectations. Spot-check 5 randomly selected imported leads to verify field values, scoring data, source attribution, and assignment all transferred correctly.
  12. Return import summary and log results: Compile final results and log the complete import — timestamp, source attribution, record counts, scoring distribution, assignment breakdown, nurture enrollments, notifications sent, errors, and duration — to ~/.claude-marketing/brands/{slug}/logs/lead-import-log.json.
Show full SKILL.md (444 more words)Show less

Output

A structured lead import report containing:

  • Import results summary: Total leads processed with breakdown — created, duplicates skipped, duplicates updated/merged, validation errors, and compliance rejections with percentages and counts
  • Lead score distribution: Breakdown of imported leads by score tier — MQL count and percentage, raw lead count, nurture candidates, average score, median score, and highest-scoring leads highlighted
  • Source attribution record: Campaign, medium, source, and content attribution applied to all imported leads — formatted for downstream ROI reporting and marketing-sourced pipeline tracking
  • Validation error report: Leads that failed validation listed with specific field-level errors — malformed email, missing required field, suspected fake entry, phone format issue, or data type mismatch with suggested corrections
  • Deduplication summary: Duplicate leads found with match type (exact/fuzzy), match fields, confidence score, and action taken (updated, skipped, merged, or flagged for manual review) for each pair
  • Compliance audit trail: Consent status for every imported lead — opt-in mechanism, consent timestamp, applicable regulation, lawful basis, and any leads flagged for missing or insufficient consent with remediation steps
  • Assignment summary: How leads were distributed across sales reps — by owner, territory, product line, or score tier — with counts per assignee and any unassigned leads requiring manual routing
  • Nurture enrollment summary: Leads enrolled in nurture sequences — sequence name, enrollment count, expected first touchpoint date, and leads excluded from nurture (already in active sequences or opted out)
  • Notification delivery report: Notifications sent to sales reps — rep name, lead count assigned, delivery channel, delivery status, and any failed notifications with retry recommendations
  • Execution log: Timestamped record of the import process — batch sizes, API responses, retry attempts, rate limit pauses, processing duration, and CRM confirmation IDs for created records
  • Data quality baseline: Field completeness rates across the imported batch — percentage of leads with company, phone, job title, and other optional fields populated, establishing a quality baseline for this source
  • Source quality comparison: If prior imports from this source exist, compare current batch quality against historical averages — validation error rate trend, scoring distribution shift, duplicate rate trend, and field completeness changes over time
  • CRM automation triggers: Any CRM-side workflows triggered by the import — welcome email sends, task creation for reps, lead routing rule execution, and workflow enrollment confirmations
  • Follow-up recommendations: Suggested next steps — trigger additional nurture sequences, alert sales reps to hot MQLs, schedule data quality review in 30 days, configure recurring import for this source, or refine lead scoring thresholds based on import results

Agents Used

  • crm-manager — Lead validation, deduplication, field mapping, CRM schema resolution, lead scoring application, consent verification, assignment rule execution, lifecycle stage setting, nurture enrollment, and import management
  • email-specialist — Nurture sequence enrollment, email deliverability validation (checking imported emails against known bounce and spam trap lists), and engagement-based scoring input

© indranilbanerjee, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/lead-import of indranilbanerjee/digital-marketing-pro.

Open the folder on GitHubat commit 3343924

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in indranilbanerjee/digital-marketing-pro, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Lead Import next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Lead Import compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lead Import this skillindranilbanerjee/digital-marketing-pro8551 repos~3.3kAutomated safety check: PassMIT
CRM Data CleanupOneWave-AI/claude-skills3231 repos~2.5kAutomated safety check: PassMIT
Pipeline Reviewmajiayu000/claude-skill-registry6662 repos~6.9kAutomated safety check: PassMIT
Google Maps Exportgmapsscraper/google-maps-agent-skills132—~1.2kAutomated safety check: PassMIT
CRM Data CleanerLeoYeAI/openclaw-master-skills2.2k—~7.3kAutomated safety check: PassMIT
Lead Gen Tool Builderexplorium-ai/gtm-skills163—~1.8kAutomated safety check: NotesMIT

Similar skills

  • CRM Data Cleanup

    OneWave-AI/claude-skills

    Finds duplicate and junk records in a CRM CSV export with fuzzy matching, normalizes fields and writes a reviewable merge plan plus import-ready files without touching the live CRM.

    323 GitHub starsUsed in 1 repo~2.5k tokens
    Sales & SupportAuto-check passed
  • Pipeline Review

    majiayu000/claude-skill-registry

    Pipeline analysis composite. An agent skill from majiayu000/claude-skill-registry.

    666 GitHub starsUsed in 2 repos~6.9k tokens
    Sales & SupportAuto-check passed
  • Google Maps Export

    gmapsscraper/google-maps-agent-skills

    Export Google Maps business data to CSV, JSON, or CRM format (HubSpot, Pipedrive, Salesforce).

    132 GitHub stars~1.2k tokensUpdated 4 mo ago
    Sales & SupportAuto-check passed
  • CRM Data Cleaner

    LeoYeAI/openclaw-master-skills

    Deduplicate, normalize, and enrich CRM contacts and companies.

    2.2k GitHub stars~7.3k tokensUpdated 2 mo ago
    Sales & SupportAuto-check passed
  • Lead Gen Tool Builder

    explorium-ai/gtm-skills

    Lead generation tool builder skill for Claude Code and Codex: scaffolds a complete, self-hostable, ZoomInfo-style B2B lead-generation web app — company & contact search UI, firmographic and…

    163 GitHub stars~1.8k tokensUpdated 14 days ago
    Sales & SupportAuto-check: notes
  • Lost Deal Revival Agent

    Othmane-Khadri/YALC-the-GTM-operating-system

    Drafts revival messages for closed-lost deals when a public company signal contradicts the original objection.

    317 GitHub stars~3k tokensUpdated 1 mo ago
    Sales & SupportAuto-check passed

More from indranilbanerjee/digital-marketing-pro

All 162 skills in this repo
  • Ab Test Plan

    indranilbanerjee/digital-marketing-pro

    Design a statistically rigorous A/B or multivariate test plan — If/Then/Because hypothesis, control and variant specs, required sample size per variant (absolute vs relative MDE via…

    855 GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Aeo Audit

    indranilbanerjee/digital-marketing-pro

    Audit how a brand appears across the 6 canonical AI answer surfaces — ChatGPT, Perplexity, Google AI Mode, AI Overviews, Gemini, Copilot — probing 10-25 queries into a numbered output bundle with…

    855 GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Agent Readiness Audit

    indranilbanerjee/digital-marketing-pro

    Audit whether AI agents and AI crawlers can actually use a site — robots.txt rules per AI crawler token (OpenAI, Anthropic and Perplexity bots, Google-Extended, Applebot-Extended)…

    855 GitHub starsUsed in 1 repo~3.9k tokens
    Auto-check passed
  • Backlink Gap

    indranilbanerjee/digital-marketing-pro

    Find referring domains that link to your competitors but not to you, ranked by an outreach-priority score (0.40 DR + 0.25 link-overlap + 0.20 traffic + 0.15 topical relevance) — outputs a four-gate…

    855 GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check passed
  • C2pa Metadata

    indranilbanerjee/digital-marketing-pro

    Embed a C2PA provenance manifest into an AI-generated marketing asset (PNG, JPG, WebP, GIF, TIFF, MP4, MOV, WebM, MP3, WAV, PDF) via scripts/embed-c2pa.py — produces a signed copy of the file…

    855 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Campaign Audit

    indranilbanerjee/digital-marketing-pro

    Inventory and score everything currently running for a brand across paid search, paid social, email, organic, SEO, AEO/GEO, CRM, and analytics — produces a dated audit document with a 4-tier triage…

    855 GitHub starsUsed in 1 repo~4.1k tokens
    Auto-check: notes

Categories

Questions about Lead Import

What does Lead Import do?

Import leads into Salesforce, HubSpot, Zoho, or Pipedrive with validation, deduplication against existing CRM records, lead scoring, consent and compliance checks, and source attribution — then push…. Lead Import is an agent skill from indranilbanerjee/digital-marketing-pro. Import leads into Salesforce, HubSpot, Zoho, or Pipedrive with validation, deduplication against existing CRM records, lead scoring, consent and compliance checks, and source attribution — then push via the CRM MCP and return a full import report with an audit log.

When should I use Lead Import?

Lead Import fits situations like: /digital-marketing-pro:lead-import; import these leads; load this CSV into the CRM; add the webinar signups to HubSpot.

How do I install Lead Import in Claude Code?

Run `npx skills add indranilbanerjee/digital-marketing-pro --skill lead-import -a claude-code`. Or copy the skill folder (skills/lead-import in indranilbanerjee/digital-marketing-pro) into .claude/skills/lead-import in your project. Claude Code loads it when a task matches its description.

How do I install Lead Import in Codex?

Run `npx skills add indranilbanerjee/digital-marketing-pro --skill lead-import -a codex`. Or copy the skill folder (skills/lead-import in indranilbanerjee/digital-marketing-pro) into .agents/skills/lead-import in your project. Codex loads it when a task matches its description.

Can I use Lead Import in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add indranilbanerjee/digital-marketing-pro --skill lead-import -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lead-import, .gemini/skills/lead-import, .github/skills/lead-import and .opencode/skills/lead-import in your project.

What does Lead Import need to run?

Going by SKILL.md and its folder, Lead Import needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Lead Import access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lead Import safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Lead Import use?

Lead Import is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Lead Import use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Lead Import?

Skills that share tags, products or a category with Lead Import: CRM Data Cleanup (OneWave-AI/claude-skills, 323 stars), Pipeline Review (majiayu000/claude-skill-registry, 666 stars), Google Maps Export (gmapsscraper/google-maps-agent-skills, 132 stars) and CRM Data Cleaner (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lead Import?

indranilbanerjee (a GitHub user) maintains it in indranilbanerjee/digital-marketing-pro, which has 855 GitHub stars. The repository holds 162 skills in this directory. The repository was last updated on October 4, 2026.

Source: indranilbanerjee/digital-marketing-pro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.