# Check for an existing reply before an agent answers

> Researched. Small business · Intermediate · Leads. Updated 2026-11-02.

Canonical page: https://www.aisetupsthatwork.com/setups/check-for-an-existing-reply-before-an-agent-answers-a-lead/

## What it does
Make your AI agent search sent mail and notes for an existing reply before it drafts an answer to a lead, so leads never get two replies.

## Who it's for
Teams where both people and an agent answer leads from email, forms and other channels.

## Tools
- Claude or ChatGPT with a Gmail connector
- Your lead notes or CRM export
- The agent's standing instructions

## Steps
1. Decide where replies can live: sent mail, a shared inbox, CRM notes.
2. Add the check from the prompt below to the agent's instructions, before any drafting step.
3. Keep approval on. Anthropic says its Google Workspace connectors ask before sending by default.
4. Test it: answer a test lead yourself, then ask the agent to handle the same lead. It should stop.
5. Ask teammates to log phone and text replies in the notes, since the agent cannot see those otherwise.
6. Review the log of stopped drafts weekly to see where leads are coming in twice.

## Copy-paste prompt
Adapt bracketed fields to your situation.
```text
Before drafting any reply to a lead, do this check:

1. Search my sent mail and the lead notes for this person's name, email and phone from the last 7 days.
2. If anything was sent: STOP. Do not draft. Log: lead name, what was sent, by whom, when.
3. If nothing was sent: draft a reply for my approval and say which places you searched.
4. If you cannot search one of the places, say so and do not draft.

Lead: [PASTE LEAD]
```

## Guardrails
- What it touches: Chat input you provide (Claude or ChatGPT with a Gmail connector; Your lead notes or CRM export).
- Needs your OK: Send, pay, publish, and account changes stay with you. Treat agent output as drafts first.
- Safety level: Drafts for you
- The agent can see email but not the CRM, so it misses replies logged there.
- Searching by name only and missing a different spelling.
- Turning off approval once it seems to work.

## Tips
- Phone and text replies are invisible unless someone logs them.
- Search by email and phone, not just name.
- Stopped drafts are useful data on duplicate lead sources.

## Estimates (labeled, not measured)
- Time saved: About 10 minutes to set up.
- Money saved: Not stated in sources.
- Tool cost: Gmail connectors depend on your plan. Prices: Not stated in sources.

## Sources
Summaries use the public sources below, not independent verification.
- Anthropic: https://support.claude.com/en/articles/10166901-use-google-workspace-connectors (Use Google Workspace connectors: approval before send, reply or forward by default (read 2026-10-31 through a page fetch tool, not a direct browser open))

## Get the free starter pack
Five beginner copy-paste AI setups, free by email: https://www.aisetupsthatwork.com/starter-pack/?utm_source=ai-agent&utm_medium=markdown&utm_campaign=setup-check-for-an-existing-reply-before-an-agent-answers-a-lead

Related:
- [Make your AI agent stop for approval](https://www.aisetupsthatwork.com/setups/make-your-ai-agent-stop-for-approval-before-it-sends/index.md)
- [Score inbound leads so the best ones reach you first](https://www.aisetupsthatwork.com/setups/score-and-route-inbound-leads/index.md)
- [Capture estimate leads and draft quote follow-ups](https://www.aisetupsthatwork.com/setups/capture-leads-and-follow-up-quotes/index.md)
