AI sends referral prompts at the perfect moment — right after positive interactions — with personalized referral links and reward tracking.
Referral programs underperform because customers are prompted at the wrong time or forget about the program after initial signup. Generic referral emails sent on arbitrary schedules feel transactional and get ignored. The customers most likely to refer are those who just had a great experience, but identifying and reaching them in that moment is impossible manually.
MultiMail's AI agent detects positive interaction signals — successful onboarding, support resolution, usage milestones — and sends personalized referral prompts at peak satisfaction moments. Autonomous mode ensures zero delay between the trigger event and the ask.
The AI agent monitors for positive events: completed onboarding, resolved support tickets, usage milestones, or positive survey responses that indicate a customer is most likely to refer.
Each customer gets a unique referral link embedded in their email. The agent personalizes the ask based on the trigger event and the customer's usage context.
With autonomous oversight, referral prompts go out immediately when satisfaction signals fire. No delay between the positive experience and the referral ask.
The agent monitors referral link usage, sends reward notifications when referrals convert, and follows up with gentle reminders to customers who haven't shared yet.
import requests
API = "https://api.multimail.dev/v1"
HEADERS = {"Authorization": "Bearer mm_live_xxx"}
def send_referral_prompt(customer_email: str, name: str, referral_link: str):
response = requests.post(
f"{API}/send",
headers=HEADERS,
json={
"from": "[email protected]",
"to": [customer_email],
"subject": "Share MultiMail, get a free month (your link inside)",
"text_body": (
f"Hi {name},\n\n"
f"You&"cm">#039;ve been using MultiMail for 3 months and processed "
f"over 10,000 emails. We&"cm">#039;re glad it's working well!\n\n"
f"Share your referral link with colleagues and get a free "
f"month for each person who signs up:\n\n"
f"{referral_link}\n\n"
f"No limit on rewards. Thanks for spreading the word!"
),
"html_body": f"<h2>Share & Earn</h2><p>Hi {name}...</p>"
}
)
return response.json()
send_referral_prompt(
"[email protected]", "Priya",
"https://yourcompany.com/refer/priya-abc123"
)Trigger a personalized referral prompt after a positive customer interaction.
import requests
API = "https://api.multimail.dev/v1"
HEADERS = {"Authorization": "Bearer mm_live_xxx"}
"cm"># Notify referrer about conversion
response = requests.post(
f"{API}/send",
headers=HEADERS,
json={
"from": "[email protected]",
"to": ["[email protected]"],
"subject": "Your referral just signed up - free month earned!",
"text_body": (
"Hi Priya,\n\n"
"Great news! Someone used your referral link and signed up "
"for MultiMail. A free month has been applied to your account.\n\n"
"Total rewards earned: 3 free months\n"
"Active referrals: 3\n\n"
"Keep sharing: https://yourcompany.com/refer/priya-abc123"
)
}
)
print(f"Reward notification sent: {response.json()[&"cm">#039;id']}")Notify a customer when their referral converts and they earn a reward.
"cm">// Find customers with high engagement (potential referrers)
const happyCustomers = await mcp.search_contacts({
query: "high-engagement active",
limit: 50
});
"cm">// Send referral prompts to satisfied customers
for (const customer of happyCustomers.results) {
const result = await mcp.send_email({
to: customer.email,
subject: `${customer.name}, share MultiMail and earn rewards`,
text_body: `Hi ${customer.name}, you've been a great customer...`
});
await mcp.tag_email({
email_id: result.id,
tags: ["referral-program", "satisfaction-trigger"]
});
}Use MCP tools to identify high-satisfaction customers and send referral prompts.
AI sends referral asks right after positive experiences when customers are most likely to recommend. This behavioral targeting outperforms scheduled campaigns by 4-5x.
From initial prompt to conversion notification, the entire referral lifecycle runs autonomously. Customers stay engaged without any manual intervention.
Referral emails reference the customer's actual usage and experience, making the ask feel genuine rather than mass-produced.
Every referral email, click, and conversion is logged. Track program ROI with full attribution from initial prompt through referred customer signup.
Email infrastructure built for AI agents. Verifiable identity, graduated oversight, and a 38-tool MCP server. Formally verified in Lean 4.