Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Filter Enriched Sales Leads Before Targeted Outreach

Overview

Use Claude Code to score an enriched list of prospects against your written qualification rules, shortlist the best fits, and draft a personal first email for each that you review and send yourself.

Problem or Objective

More in Sales, Marketing and Support

AI Agents and Models

Tools and Integrations

Tools
Claude Code
Prerequisites
Claude Code with a paid Claude plan or an API key, and a CSV export of enriched prospects from your own tools.

How It Works

Export the enriched prospect list from your enrichment tool or CRM as a CSV into a project folder, and write your ideal customer profile and qualification rules in a Markdown file: company size, industry, the signals that matter and hard exclusions. Ask Claude Code to write and run a small script that applies the hard exclusions, then read the remaining rows and give each a fit score with a one-line reason. Review the shortlist and remove anyone who should not be contacted. For the rows you approve, have it draft a short first email in a separate file per prospect, using only facts present in the data and including your opt-out line. Send the approved emails yourself from your own mail or sales tool, a few at a time.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up Claude Code.
  2. Connect the toolsConnect the tools this workflow relies on: Claude Code.
  3. Check the prerequisitesClaude Code with a paid Claude plan or an API key, and a CSV export of enriched prospects from your own tools.
  4. Gather your detailsCollect what the prompt asks for: Enriched prospect export, Qualification rules, Shortlist output, Folder for email drafts.
  5. Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.

Practical Starter Prompt: Score prospects and draft first emails

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
Read [Enriched prospect export] and the rules in [Qualification rules]. Write and run a script that removes rows failing the hard exclusions, then score each remaining prospect from 1 to 5 with a one-line reason and save the shortlist to [Shortlist output]. Stop so I can review it. For the rows I approve, draft one short first email per prospect in [Folder for email drafts], using only facts in the data and including an opt-out line. Do not send any email or connect to any email account.

Approve the shortlist before drafting, and send each approved email yourself.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. Anthropic's documentation says Claude Code reads the files in a project, edits them and runs commands, and can run non-interactively with claude -p for scripted jobs. It does not cover enrichment data, deliverability or how prospects respond.

Limitations and Considerations

Rules on cold email differ by country: check consent, opt-out and sender identification requirements where you and your prospects are, and use only contact data you are allowed to use. Keep sending manual and in small numbers, because unsolicited bulk mail harms your domain and can break your email provider's terms. Enriched data goes stale, so check names and roles before writing. In a claude -p run there is no trust dialog, so tool permissions have to be set explicitly. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Official Website

The official site of the main tool or project in this use case.

Visit Website (opens in a new tab)code.claude.com

Related Videos

About anthropics/claude-code

About anthropics/claude-code

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Overview - Claude Code Docs (opens in a new tab)

    Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC

    What this source supports
    • Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands and integrates with your development tools.
  2. Run Claude Code programmatically - Claude Code Docs (opens in a new tab)

    Project documentation · code.claude.com · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • Claude Code runs non-interactively with claude -p, or from Python and TypeScript through the Agent SDK, for scripts and automation.
    • A claude -p session shows no trust dialog, so tool permissions are set explicitly, for example with --allowedTools.
Report a problem

More with Claude Code

Planned, not done

Create Custom Store Tools Instead of Paying for Subscriptions

Use Claude Code to write small in-house tools for an online shop, such as a reply helper for support mail or a margin report, as an alternative to paying for separate apps, with testing before you rely on them.

code.claude.comanthropics/claude-code
Reported by source

Answer technical questions by letting async agents run experiments

Simon Willison sends research questions to cloud coding agents such as Claude Code for web and Codex Cloud, which write and run experiments in a dedicated repo and open a PR.

simonwillison.net · 6 Nov 2025anthropics/claude-code, openai/codex
Planned, not done

Structure Repeated Browser Research Into Evidence Tables

Give Claude Code the open-source Browser Use CLI with a local browser, ask the same research questions across a short list of pages, and keep every answer as a sourced table row.

github.comanthropics/claude-code, browser-use/browser-use

View all: Claude Code