Sequence cleanup: tag bounces and 'not me' replies, then find replacement contacts

This recipe uses the official Instantly and Prospeo MCP servers, and both work in Claude. Steps that write, send or spend credits wait for your approval.

IntermediateSDRsAbout 15–20 minutes per campaign

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.

You need:

Download sequence-cleanup.md

Different tools, or a different job? Build a recipe with Instantly and Prospeo and your other tools, and get a prompt your assistant can design from.

Paste these prompts, in order

Use one conversation. Nothing is written, sent or spent until you approve it.

  1. 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.

  2. 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.

    Waits for your approval
  3. 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.

  4. 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.

    Waits for your approval

Rules it follows

These are in the download too. Keep them when you change the prompts.

  • Don't change any lead until I approve the cleanup table.
  • Quote the reply text for every 'wrong person' flag. Skip auto-replies.
  • Search in Prospeo first. Enrich only the people I pick, and email only.
  • Only use replacements on the same company domain as the original lead.
  • Add replacements only after I approve them, and only to a paused campaign.

Where does this go wrong?

And what to check each time.

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.

Which MCP servers does it use?

Every server is confirmed in: ClaudeCursor

Instantly

Cold Email & Outreach

Works in
Claude, Cursor
Access
Read + write
Credits
Not confirmed
Up · authDocs + endpoint · 2026-11-30

Prospeo

Prospecting & Lead Data

Works in
Claude, Claude Code, Cursor
Access
Read only
Credits
Some tools use credits
Up · authDocs · 2026-10-16. Endpoint · 2026-11-30.

How do I set it up?

Every server in this recipe is confirmed for Claude. Connect each one, then paste the prompts below into one conversation.

Developer setup
  • 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 /mcp in 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"
    }
  }
}

How long does it take, and what does it 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.

Can I 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.

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.

Download sequence-cleanup.md

Vendor sites: Instantly. If we join an affiliate program, these links will be labeled as affiliate links.