SmartLead Lead Cleanup Manager

Scan your SmartLead campaigns for bounced and unsubscribed leads, find bad domains, and block them globally to protect your sender reputation.

Lead hygieneDeliverability protectionDomain blockingBounce management

The Challenge

Every bounced email hurts your sender reputation. Every unsubscribe you keep emailing risks a spam complaint. But cleaning up leads across a dozen SmartLead campaigns means clicking into each one, scrolling through lead lists, spotting the bad ones, and manually adding them to your block list. Most teams skip it until deliverability tanks and their emails start landing in spam.

What This Prompt Does

Cross-Campaign Lead Scan

Review lead statuses across every campaign to find bounces and unsubscribes

Domain Pattern Detection

Group bad leads by domain to find repeat offenders worth blocking entirely

Lead Detail Lookup

Check each flagged lead's full profile for context before blocking

Global Block List Update

Add bad domains and emails to the block list to protect all future campaigns

The Prompt

The Prompt

Task

Use @SmartLead/List All CampaignsName it "SmartLead/List All Campaigns" and call it with @SmartLead/List All Campaigns to find all campaigns, then scan each with @SmartLead/Get Campaign StatisticsName it "SmartLead/Get Campaign Statistics" and call it with @SmartLead/Get Campaign Statistics to identify bounced and unsubscribed leads. Look up their details with @SmartLead/Get Lead by EmailName it "SmartLead/Get Lead by Email" and call it with @SmartLead/Get Lead by Email to find patterns (bad domains, disposable emails). Compile a list of bad domains and emails, then add them to the global block list with @SmartLead/Add to Global Block ListName it "SmartLead/Add to Global Block List" and call it with @SmartLead/Add to Global Block List to protect sender reputation across all future campaigns.

Example: Scan all my SmartLead campaigns for bounced leads, find the worst domains, and block them globally.

Input

The user will optionally specify which campaigns to scan or any thresholds for what counts as a bad domain.

Example: "Clean up bounced leads from my Q1 campaigns" or "Find all bounced emails and block any domain with more than 3 bounces"

Context

Lead Statuses to Flag

Scan campaign statistics for leads with these statuses:

  • Bounced: Email address is invalid or the server rejected the message
  • Unsubscribed: Recipient opted out — continued sending risks compliance issues
  • Blocked: Already flagged by SmartLead for deliverability reasons

Domain Pattern Detection

When reviewing bad leads, look for patterns:

  • Multiple bounces from the same domain = likely a dead or catch-all domain
  • Disposable email providers (e.g., guerrillamail, tempmail, mailinator)
  • Domains with no MX records or known spam traps
  • Company domains that have gone out of business

Cleanup Strategy

  1. List all campaigns (or filter to user-specified ones)
  2. Pull campaign statistics, paginating through all leads
  3. Filter to bounced, unsubscribed, and blocked leads
  4. Look up each flagged lead's details for full context
  5. Group by domain to identify pattern offenders
  6. Present findings: individual bad emails + domains with multiple issues
  7. On confirmation, add bad domains and emails to the global block list
  8. Report how many entries were added

Safety Rules

  • Always show the list before blocking — never auto-block without confirmation
  • Distinguish between individual bad emails and entire bad domains
  • Only recommend domain-level blocks when 3+ emails from that domain bounced
  • Flag but don't auto-block unsubscribes (they may be at valid domains)

Output

Scan Summary:

  • Campaigns scanned: [N]
  • Total leads reviewed: [N]
  • Bounced: [N] | Unsubscribed: [N] | Blocked: [N]

Bad Domains (3+ bounces): | Domain | Bounce Count | Campaigns Affected | Recommendation | |--------|-------------|-------------------|----------------| | [domain.com] | [N] | [Campaign names] | Block domain |

Individual Bad Emails: | Email | Status | Campaign | Recommendation | |-------|--------|----------|----------------| | [email] | Bounced | [Campaign] | Block email |

Unsubscribes (Review Only):

  • [N] unsubscribed leads across [N] domains — listed for reference, not auto-blocked

Confirm: Reply "approve" to add [N] domains and [N] emails to the global block list, or specify which ones to skip.

Example Usage

Try asking:

  • "Scan all my SmartLead campaigns for bounced leads and block the worst domains"
  • "Find domains with more than 3 bounces across my campaigns and add them to the block list"
  • "Clean up my SmartLead lead lists and show me which emails and domains to block"