klaviyo-core-workflow-a

Installation
SKILL.md

Klaviyo Core Workflow A -- Profiles, Lists & Subscriptions

Overview

Primary money-path workflow: create/update profiles, manage lists, and subscribe contacts for email and SMS marketing via the klaviyo-api SDK. This skill covers the six-step path from a raw customer record to a consented, segmentable subscriber. High-level flow lives here; the full code for every step is in references/implementation.md.

Prerequisites

  • Completed the klaviyo-install-auth setup so KLAVIYO_PRIVATE_KEY is available in the environment.
  • A Klaviyo private API key scoped to profiles:read, profiles:write, lists:read, and lists:write.
  • The klaviyo-api npm package installed in the project (npm install klaviyo-api).
  • Node.js with TypeScript configured, since all examples use the typed SDK.

Instructions

Every call authenticates through a single ApiKeySession built from the private key:

import { ApiKeySession, ProfilesApi, ListsApi } from 'klaviyo-api';
Installs
1
GitHub Stars
2.8K
First Seen
13 days ago
klaviyo-core-workflow-a — jeremylongshore/tons-of-skills-marketplace