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.
Free to start
1,000 credits included
No credit card required
Try this agent Book a demoSetup in 10 min · Cancel anytime
Setup time
~10 min
Time saved
1-2 hrs/week
Difficulty
Medium
Tools
1 connected
How it works
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
Try asking
View the agent prompt
See the full instructions this agent runs on — copy, edit, or customize it
ExpandCollapse
View the agent prompt
See the full instructions this agent runs on — copy, edit, or customize it
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
- List all campaigns (or filter to user-specified ones)
- Pull campaign statistics, paginating through all leads
- Filter to bounced, unsubscribed, and blocked leads
- Look up each flagged lead's details for full context
- Group by domain to identify pattern offenders
- Present findings: individual bad emails + domains with multiple issues
- On confirmation, add bad domains and emails to the global block list
- 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.
Related Articles
WHAT ARE YOU WAITING FOR?
Ready to build?
Stop duct-taping tools.
Stop writing playbooks no one follows.
Start building agents that actually do the work—and do it well.
Cotera: For people who think busywork is boring.
"This is the best product ever when it comes to shipping. Ten on ten recommended. I just can't wait to see what happens with this product."
Rebecca Blount
Director, Customer Success