Sequence cleanup: tag bounces and 'not me' replies, then find replacement contacts
Instantly + Prospeo
Who it's for
SDRs who want bounced leads and 'wrong person' replies cleared out of a campaign, with a replacement contact found at each company instead of losing the account. Instantly can be swapped for lemlist or Smartlead, and Prospeo for Lusha or ZoomInfo.
What you get
Cleanup table and replacement contacts, waiting for approval. Sample output: every company and person in it is fictional.
Campaign: Q4 Ops Leaders (Instantly) 312 leads checked. 14 need cleanup. Bounced (6), proposed label: bounced - [email protected], Quarry Lane Analytics (fictional) - ...5 more Wrong person (8), proposed label: not-me - Dana Okafor, Larkspur Freightworks (fictional): "Dana left in August. Try our new ops lead." - Priya Raman, Mossgate Labs (fictional): "Wrong person, I'm in finance." - ...6 more Proposed changes (none made yet): - Add the label to all 14 and move them out of the campaign to the list 'Cleanup Oct'. Replacement contacts from Prospeo (searched only, not enriched): - Larkspur Freightworks: Alex Rivera, Head of Operations. Match: same title the reply pointed to. - Mossgate Labs: Sam Okoro, Director of Operations. Match: ops title, same domain. - 4 companies: no clear match. Skipped. Enriching 2 emails will spend Prospeo credits. Reply 'enrich' to get the emails, then 'add' to put them in the paused campaign 'Q4 Ops Leaders: replacements'.
Time and cost
Estimate About 15–20 minutes per campaign, most of it reviewing replacements.
Assumptions: One campaign of about 300 leads, with 10–15 bounces or 'wrong person' replies and 5–8 replacement searches.
- Instantly: Reads leads, reply emails and campaign stats; then label and move updates for each flagged lead, and one lead added per replacement, after you approve them. Credit use not confirmed by Instantly.
- Prospeo: One search_person call per company (charged per page), plus one enrich_person call per replacement you approve. Ask for email only. Some tools use credits. search_suggestions and get_account_info are free; enrich_person 1 credit (email only) / 10 credits (email + mobile); bulk_enrich_person same per-record cost; enrich_company 1 credit; bulk_enrich_company 1 credit per matched company; search_person and search_company 1 credit per page. Source: prospeo.io, checked 2026-10-16
Exact credit costs depend on your plan with each vendor. Check the tool pages before a large run.
MCP servers
Every server is confirmed in: ClaudeCursor
-
ClaudeCursorRead + writeCredits not confirmed
https://mcp.instantly.ai/mcp -
ClaudeClaude CodeCursorRead onlySome tools use credits
https://mcp.prospeo.io
Set up in a chat app
Every server in this recipe is confirmed for Claude. Connect each one, then paste the prompts below into one conversation.
- Connect Instantly without code (Claude)
- Connect Prospeo without code (Claude)
Developer setup
Auth setup and mcp.json for Claude Code and Cursor
- Instantly: Paste an API key from the vendor's settings into the config (header or URL). There's no browser login, so it works well headless.
- Prospeo: Sign in with OAuth in your client (run
/mcpin Claude Code). Do it once interactively, and the client stores and refreshes the token.
Put this in .mcp.json (Claude Code, project root) or ~/.cursor/mcp.json (Cursor). Swap the example keys for your own, and don't commit real ones. Remove the // comment lines if your client requires strict JSON.
{
"mcpServers": {
"instantly": {
"url": "https://mcp.instantly.ai/mcp",
"headers": { "Authorization": "YOUR_INSTANTLY_API_KEY" }
},
"prospeo": {
"url": "https://mcp.prospeo.io"
}
}
}
Step-by-step prompts
- In my Instantly campaign {campaign}, find leads that bounced and leads whose replies say they're the wrong person, have left the company, or point to someone else. Show me a table with the lead, company, reason and the reply line. Skip auto-replies. Don't change anything.
- After I approve the table, add the label {label} to those leads and move them out of the campaign to the list {cleanup list}. Show me what you'll change first.
- For each company on the list, search Prospeo for one replacement at the same domain: the person the reply named, or the closest match to {target title}. Show me name, title and why they match. Don't enrich yet.
- Only after I approve, enrich the people I pick in Prospeo for email only. Then show me the payload to add them to the paused Instantly campaign {replacement campaign}, and add them only after I approve it.
Run it on a schedule (optional)
- Run it weekly per active campaign, so bounces stop hurting your sending accounts and replacements go out while the account is still warm.
- In a scheduled run, stop at the cleanup table and the replacement list. Label, move, enrich and add only when you approve them.
- Instantly uses an API key, which works for headless runs. Prospeo uses OAuth in Claude.ai, and an API key with the local npx server in Claude Code and Cursor. Keep both keys in your client's secret settings.
Where this goes wrong
- Out-of-office replies read as 'left the company'. Auto-replies often say 'no longer with' or 'on leave'. Quote the reply line for every 'wrong person' flag, and skip any reply that is an auto-reply with a return date.
- A replacement at the wrong company. Similar company names and old domains cause bad matches. Require the same company domain as the original lead, and skip the company if there is no exact match.
- A referral you already have. The reply may name a person who is already in another campaign. Check Instantly for the replacement's email before adding them, and skip duplicates.
- Spending credits on people you won't use. Prospeo charges per search page and per enrichment, and email plus mobile costs more than email only. Search first, review the list, then enrich email only for the people you pick.
Gotchas
- Instantly's MCP needs the Growth plan or higher, the first plan with API access.
- The Instantly API key goes in a header or the URL path. Treat any config that contains it as a secret, and don't commit it.
- Adding leads to an active campaign can start sending. Add replacements to a paused campaign and review it before you activate it.
- Prospeo is read-only here: it finds people but can't add them anywhere. Instantly does the writes.
Download
Get the prompts, guardrails and expected output as one Markdown file. Paste it into a Claude Project or ChatGPT project's instructions, or save it as CLAUDE.md for Claude Code.
New recipe and breakage notes every week
Vendor sites: Instantly. If we join an affiliate program, these links will be labeled as affiliate links.