Skip to content

Klaviyo email and SMS integration covering profiles, event tracking, flows, and segmentation for e-commerce stores.

CCM score
56 of 100
skills.sh installs
527
GitHub stars
712
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers server-side and client-side API usage: profile upserts, property updates, event tracking, and lookups by email or ID
  • Includes SDK setup for Node.js (klaviyo-api) and Python (klaviyo-api), plus a direct HTTP client pattern for other languages
  • Provides ready-made event templates for Viewed Product, Added to Cart, Started Checkout, Placed Order, Fulfilled Order, and Cancelled Order
  • Designed for developers wiring e-commerce storefronts to Klaviyo flows and segments for email and SMS marketing

Install

$ npx -y skills add alinaqi/maggy --skill klaviyo -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Klaviyo E-Commerce Marketing Skill

For integrating Klaviyo email/SMS marketing - customer profiles, event tracking, campaigns, flows, and segmentation.

Sources: Klaviyo API Docs | API Reference


Why Klaviyo

FeatureBenefit
E-commerce NativeBuilt for online stores, deep integrations
Event-BasedTrigger flows from any customer action
SegmentationAdvanced filtering on behavior + properties
Email + SMSUnified platform for both channels
AnalyticsRevenue attribution per campaign

API Basics

Base URLs

TypeURL
Server-side (Private)https://a.klaviyo.com/api
Client-side (Public)https://a.klaviyo.com/client

Authentication

// Server-side: Private API Key
const headers = {
  "Authorization": "Klaviyo-API-Key pk_xxxxxxxxxxxxxxxxxxxxxxxx",
  "Content-Type": "application/json",
  "revision": "2024-10-15",  // API version
};

Details

Repository
github.com/alinaqi/maggy
Categories
Marketing, SEO & Ads, Email & Messaging, Sales & CRM
First seen
Jun 3, 2026

Questions

What does the klaviyo skill do for an agent?

The klaviyo skill guides an agent through integrating Klaviyo email and SMS marketing, covering customer profiles, event tracking, campaigns, flows, and segmentation. It shows how to create and update profiles, track events such as Viewed Product, Added to Cart and Placed Order, and send those signals to Klaviyo through its API.

How do I install the klaviyo skill?

Run npx -y skills add alinaqi/maggy --skill klaviyo -y inside your project to install it. Once installed, the klaviyo skill lets the agent write Klaviyo integration code using the Klaviyo API and its private API key.

What does the klaviyo skill need to work?

The klaviyo skill needs a Klaviyo private API key, which it reads from the KLAVIYO_PRIVATE_KEY environment variable. It can call the Klaviyo API directly over HTTP or use the klaviyo-api package for Node.js or Python.

Where does the klaviyo skill sit in its category?

The klaviyo skill is in the Marketing, SEO & Ads category, alongside seo-audit, content-strategy and marketing-psychology. Where it differs from those is its focus on the Klaviyo API, with profile, event and flow code examples for a single email and SMS platform.

More from alinaqi/maggy

All 54

Similar to Klaviyo

More Marketing, SEO & Ads