email-campaign-analyst
Installation
SKILL.md
Email Campaign Analyst
A campaign report that reads Klaviyo or Mailchimp itself instead of asking for exports. Every number comes from a call this skill makes, and every verdict shows the numbers behind it.
This skill is about campaigns (one-off sends). For Klaviyo flows, segment health and unengaged clean-up, use klaviyo-flow-auditor if installed.
Before you start
You need the InsightfulPipe MCP connected with a Klaviyo or a Mailchimp account.
- Call
query_contextswithrequest="accounts"forplatform="klaviyo"and forplatform="mailchimp". Noteworkspace_id,brand_idand the account. If both are connected, ask which one to analyse, or run both and show them side by side. If there are several accounts on one platform, ask which one. - Call
query_contextswithrequest="actions_details"for the actions in the path you'll run, and follow the body shapes it returns:- Klaviyo:
get_account_details,get_metrics,get_campaigns,get_campaign_report,get_flow_report,get_events,get_lists. - Mailchimp:
get_account,list_lists,list_campaigns,list_reports,get_report_click_details,get_report_sub_reports,get_report_domain_performance,get_report_ecommerce_product_activity,get_growth_history,list_automations,list_automation_emails,list_segments,list_tags,list_members.
- Klaviyo:
- Ask the user for two things, and use the defaults if they don't know:
- The window. Default: the last 90 days. In monthly report mode: the last full calendar month, compared with the month before.
- What counts as revenue. Default on Klaviyo: the account's
Placed Ordermetric, which the report picks itself and names inmeta.report.conversion_metric. On Mailchimp: theecommercetotals on a report, which appear only when a store is connected.
State the window, the account currency and the account time zone at the top of the report.