Overview
Use Claude Code with Chrome to collect a short list of target companies from their public web pages into a local file, then draft one tailored first email per company for you to review and send yourself.
Problem or Objective
- Which agents research inbound business leads, score them or draft replies for a person to review?
- Which agents draft personalised outreach to prospects for a person to approve before sending?
- Which agents can operate a web browser for you?
More in Sales, Marketing and Support
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code · Claude in Chrome · Google Chrome
- Prerequisites
- Claude Code with the Chrome integration, which needs Google Chrome, Microsoft Edge or another Chromium-based browser, the Claude in Chrome extension version 1.0.36 or later, and a direct Anthropic plan (Pro, Max, Ultra, Team or Enterprise), signed in with /login. It is not available through third-party providers such as Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry, is off by default in Enterprise organisations with HIPAA enabled, and is not available in Claude Code when Zero Data Retention is enabled.
How It Works
Write a short profile of the customer you want: industry, size, region and the problem your product solves. Connect Claude Code to Chrome and ask it to visit the company websites or public directories you name, and to extract for each company its name, website, what it does and one recent public detail relevant to your offer, saving the results to a local CSV file. Open the file and remove anything wrong, private or irrelevant; collect a contact's address only from a page where the company publishes it for business enquiries. Then ask Claude Code to draft one short email per remaining company into a local drafts file, each referring to the detail it found and offering one clear next step. If it reaches a login page or CAPTCHA, it pauses and asks you to handle it. Read and edit every draft, and send the ones you approve yourself, one at a time, from your own mail account.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code, Claude in Chrome, Google Chrome.
- Check the prerequisitesClaude Code with the Chrome integration, which needs Google Chrome, Microsoft Edge or another Chromium-based browser, the Claude in Chrome extension version 1.0.36 or later, and a direct Anthropic plan (Pro, Max, Ultra, Team or Enterprise), signed in with /login. It is not available through third-party providers such as Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry, is off by default in Enterprise organisations with HIPAA enabled, and is not available in Claude Code when Zero Data Retention is enabled.
- Gather your detailsCollect what the prompt asks for: Sites or directories to visit, Who you want to reach, What you sell, Maximum email length, The one next step you propose.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Build a prospect file and draft first emails
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Using Chrome, visit these sites: [Sites or directories to visit]. For each company that fits this profile: [Who you want to reach], save its name, website, what it does and one recent public detail relevant to [What you sell] to prospects.csv. Only record a contact address if the company publishes it for business enquiries. Stop and show me the file. After I have edited it, draft one email of under [Maximum email length] words per company into drafts.md, mentioning the detail you found and proposing [The one next step you propose]. Do not send anything: I will review, edit and send each email myself.Review prospects.csv before any drafting, and read every draft before you send it yourself. Check outreach and data protection rules where you and your recipients are.
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 connected to Chrome can extract data from web pages, navigating to a page, reading the content and compiling the data into a structured format, and that it pauses at login pages and CAPTCHAs for you to handle. The pages say nothing about prospecting or email deliverability, so the quality of the list and any replies are yours to judge.
Limitations and Considerations
Check the email marketing and data protection rules where you and your recipients are, and each website's terms, before collecting contacts or sending; this is not legal advice. Keep the list small and send each email yourself after reading it. Check every extracted fact against the page it came from before you mention it. 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
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Use Claude Code with Chrome - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 27 Nov 2026, 05:34 UTC
What this source supports
- Connect Claude Code to your Chrome browser to test web apps, debug with console logs, automate form filling, and extract data from web pages.
- Claude navigates to the page, reads the content, and compiles the data into a structured format.
- When Claude encounters a login page or CAPTCHA, it pauses and asks you to handle it manually.
- Chrome integration is not available through third-party providers like Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry.

