klaviyo-deploy-integration

Featured

Deploy Klaviyo integrations to Vercel, Fly.io, and Cloud Run platforms. Use when deploying Klaviyo-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy klaviyo", "klaviyo Vercel", "klaviyo production deploy", "klaviyo Cloud Run", "klaviyo Fly.io".

AI & Automation 2,926 stars 433 forks Updated yesterday 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 Deploy Integration ## Overview Deploy Klaviyo-powered applications to Vercel, Fly.io, and Google Cloud Run with proper secrets management and health checks. ## Prerequisites - Klaviyo production API key (`pk_*`) - Platform CLI installed (`vercel`, `fly`, or `gcloud`) - Application tested with `klaviyo-api` SDK - `klaviyo-prod-checklist` completed ## Instructions ### Vercel Deployment ```bash # 1. Add secrets to Vercel project vercel env add KLAVIYO_PRIVATE_KEY production # Paste your pk_*** key when prompted vercel env add KLAVIYO_WEBHOOK_SIGNING_SECRET production # Paste your whsec_*** secret # 2. Configure vercel.json ``` ```json { "env": { "KLAVIYO_PRIVATE_KEY": "@klaviyo_private_key" }, "functions": { "api/**/*.ts": { "maxDuration": 30 } }, "rewrites": [ { "source": "/webhooks/klaviyo", "destination": "/api/webhooks/klaviyo" } ] } ``` ```bash # 3. Deploy vercel --prod # 4. Verify health curl -s https://your-app.vercel.app/api/health | jq '.services.klaviyo' ``` #### Vercel Webhook Handler (Edge-compatible) ```typescript // api/webhooks/klaviyo.ts (Vercel serverless function) import crypto from 'crypto'; export const config = { api: { bodyParser: false } }; export default async function handler(req: any, res: any) { if (req.method !== 'POST') return res.status(405).end(); const chunks: Buffer[] = []; for await (const chunk of req) chunks.push(chunk); const body = Buffer.concat(chunks); // Verify HMAC-S...

Details

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

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category