klaviyo-core-workflow-a

Featured

Execute Klaviyo primary workflow: profiles, lists, and subscriptions. Use when creating/updating profiles, managing lists, subscribing contacts, or syncing customer data to Klaviyo for email/SMS marketing. Trigger with phrases like "klaviyo profiles", "klaviyo lists", "klaviyo subscribe", "add contacts to klaviyo", "klaviyo customer data".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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. ## Prerequisites - Completed `klaviyo-install-auth` setup - API key with scopes: `profiles:read`, `profiles:write`, `lists:read`, `lists:write` ## Instructions ### Step 1: Create or Update a Profile ```typescript import { ApiKeySession, ProfilesApi, ProfileEnum } from 'klaviyo-api'; const session = new ApiKeySession(process.env.KLAVIYO_PRIVATE_KEY!); const profilesApi = new ProfilesApi(session); // Create a new profile (409 if email already exists) const newProfile = await profilesApi.createProfile({ data: { type: ProfileEnum.Profile, attributes: { email: 'customer@example.com', firstName: 'Jane', lastName: 'Doe', phoneNumber: '+15551234567', location: { city: 'Atlanta', region: 'GA', country: 'US', zip: '30309', }, properties: { plan: 'pro', signupSource: 'website', lifetime_value: 250.00, }, }, }, }); console.log('Profile ID:', newProfile.body.data.id); // Create OR update (upsert) -- preferred for syncing const upserted = await profilesApi.createOrUpdateProfile({ data: { type: ProfileEnum.Profile, attributes: { email: 'customer@example.com', firstName: 'Jane', lastName: 'Doe-Smith', // Updated last name...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category