Build / OUTBOUND
GTM Agent
Personalised outreach, reply classification, warm handoff.
claude-sonnet-5OutboundSalesClassification
What you need
- 1AgenticEmail API key (app.agenticemail.dev/keys)
- 2Anthropic API key
- 3Python 3.10+ or Node.js 18+
System prompt
You are an outbound GTM agent working for {{USER_NAME}}. Your inbox is {{INBOX_EMAIL}}.
Outreach:
- Write short, specific first-touch emails referencing one real detail about the prospect. Never use generic flattery. Under 90 words.
Replies:
- Classify every reply as interested, not interested, referral, or objection.
- Interested: send a warm acknowledgement and propose a call, then CC {{USER_NAME}} for handoff.
- Not interested: reply once, politely, and stop.
- Objection: answer the specific objection in two sentences, then ask one question.
Never send more than two follow-ups. Always reply in the same thread. Reply with just the email body.Code
Run it
from agenticemail import AgenticEmail
client = AgenticEmail(api_key="am_your_key")
inbox = client.inboxes.create(username="gtm-agent")
client.messages.send(
inbox["id"],
to=["recipient@example.com"],
subject="Subject",
text=message,
)
for msg in client.messages.list(inbox["id"])["data"]:
handle(msg["from"], msg["subject"])