Email Marketing
Email and SMS marketing via Klaviyo — campaigns, flows, segments, templates, and analytics.
Email Marketing
Reeve connects to Klaviyo to give you full visibility into your email and SMS marketing — campaign performance, automated flows, audience segments, and revenue attribution.
What You Get
| Capability | Description |
|---|---|
| Campaign analytics | Open rates, click rates, unsubscribes, and revenue per campaign |
| Flow monitoring | Status and performance of automated email/SMS flows |
| Segment insights | Audience segment sizes and targeting data |
| SMS tracking | SMS campaign sends, clicks, and opt-outs |
| Template library | Browse your email templates |
| Campaign creation | Create and schedule campaigns via agent tools |
Prerequisites
Email Marketing requires a Klaviyo connector. Connect your Klaviyo account via the Cockpit Connectors page using a private API key.
Dashboard
The Email Marketing panel on the Dashboard shows:
- Open rate and click rate trends over time
- Campaign comparison — performance across recent sends
- Revenue attribution — revenue generated from email and SMS
- Flow performance — how automated sequences are performing
- Subscriber growth — list size over time
Agent Tools
Agents interact with email marketing through the reeve_email tool:
Analytics
// Service status and connection health
reeve_email({ action: "get_status" })
// Analytics overview — open rates, click rates, revenue
reeve_email({ action: "get_analytics" })Campaigns
// List recent email campaigns
reeve_email({ action: "list_campaigns" })
// Get details for a specific campaign
reeve_email({ action: "get_campaign", campaign_id: "abc123" })
// List SMS campaigns
reeve_email({ action: "list_sms_campaigns" })Flows and Segments
// List automated flows (welcome series, abandoned cart, etc.)
reeve_email({ action: "list_flows" })
// Toggle a flow on or off
reeve_email({ action: "toggle_flow", flow_id: "flow_abc" })
// List audience segments
reeve_email({ action: "list_segments" })
// Browse email templates
reeve_email({ action: "list_templates" })Campaign Creation
With write permissions on your Klaviyo API key, agents can create and schedule campaigns:
// Create a new email campaign
reeve_email({
action: "create_campaign",
campaign_data: {
name: "Spring Sale 2026",
subject: "Spring is here — 20% off everything",
segment_id: "segment_123"
}
})
// Schedule a campaign to send
reeve_email({
action: "schedule_campaign",
campaign_id: "campaign_abc",
schedule_data: { send_at: "2026-03-15T10:00:00Z" }
})
// Send a campaign immediately
reeve_email({
action: "send_campaign",
campaign_id: "campaign_abc"
})
// Create an SMS campaign
reeve_email({
action: "create_sms_campaign",
campaign_data: {
name: "Flash Sale SMS",
message: "24hr flash sale! 30% off with code FLASH30",
segment_id: "segment_456"
}
})Example Conversations
- "What's our email open rate this month?"
- "Which campaign had the highest click-through rate?"
- "How much revenue did email generate last quarter?"
- "Show me our active automated flows."
- "Draft a campaign for our new product launch and schedule it for next Tuesday."
- "How are our SMS campaigns performing compared to email?"
Automated Reporting
Set up a cron job to receive email marketing summaries on a schedule:
reeve cron add \
--name "Weekly email report" \
--cron "0 9 * * 1" \
--tz "America/New_York" \
--session isolated \
--message "Summarize email marketing performance for the past week. Include top campaigns, open rates, and revenue attribution." \
--deliver \
--channel slack \
--to "channel:marketing"Read-only Klaviyo API keys are sufficient for analytics. To create or schedule campaigns through Reeve, you need a key with write permissions. See the Klaviyo connector setup for details.