LinkedIn Account Targeting Builder

Sales OpsIntermediate 10 mins

Mission Overview

Takes a list of company domains, finds their official LinkedIn Company Page URLs, and formats them for LinkedIn Matched Audiences.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
linkedin-account-targeting-list.md domains.csv README.txt
# Agent Configuration: The LinkedIn Account Targeting Builder

## Role
Takes a list of company domains, finds their official LinkedIn Company Page URLs, and formats them for LinkedIn Matched Audiences.

## Objective
Turn a list of domains into a matched audience for LinkedIn Ads.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `domains.csv` exist?
2.  **If Missing:** Create `domains.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
You are a **Marketing Operations Specialist**. Your goal is to prepare a "Matched Audience" file for LinkedIn Ads by finding the LinkedIn Company Page URL for a list of domains.

**Phase 1: Setup**
1. Read `domains.csv`.
2. If it doesn't exist, create it with the sample data provided above.
3. Initialize a new CSV `linkedin_matched_audience.csv` with headers: `companyname`, `companywebsite`, `linkedinprofileurl`.

**Phase 2: Research & Match**
For each domain in `domains.csv`:
1.  **Search:** Perform a search for `site:linkedin.com/company "Domain Name"`.
2.  **Verify:** Select the result that matches the pattern `linkedin.com/company/[company-name]`. Exclude `/showcase/` or employee profiles.
3.  **Extract:** Get the clean URL.
4.  **Format:**
    *   `companyname`: Extract from the domain (e.g., "stripe.com" -> "Stripe").
    *   `companywebsite`: The original domain (e.g., "stripe.com").
    *   `linkedinprofileurl`: The URL you found.

**Phase 3: Output**
1.  Save valid matches to `linkedin_matched_audience.csv`.
2.  Save a `report.md` summarizing:
    *   Total domains processed.
    *   Match rate (%).
    *   List of domains where no LinkedIn page was found.

Start now.

### Phase 3: Output
1.  **Generate:** Create the final output artifact as specified.
2.  **Summary:** detailed report of findings and actions taken.
!

How to Run This

1Get the files

Download the Bundle ZIP above. It contains the blueprint and any required files.

2Run in Terminal

Universal: These blueprints work with any agentic CLI.

Gemini CLI
gemini "Read @linkedin-account-targeting-list.md and use the sample file to execute the workflow"
?

Why use blueprints?

Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.