/klaviyo-pack:klaviyo-deploy-integrationfrom klaviyo-pack
Deploys Klaviyo integrations to Vercel, Fly.io, and Cloud Run with platform-specific secrets management and health checks.
Ships in klaviyo-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Deploy Klaviyo-powered applications to Vercel, Fly.io, and Google Cloud Run with proper secrets management and health checks. Every platform follows the same shape — store the private key + webhook secret, wire a config file, deploy, verify. The lean skeleton lives here; full per-platform recipes live in references/platform-deployments.md.
pk_*)vercel, fly, or gcloud)klaviyo-api SDKklaviyo-prod-checklist completedThe workflow is identical across platforms; only the CLI verbs change. Read the target platform's section in references/platform-deployments.md, then:
KLAVIYO_PRIVATE_KEY and
KLAVIYO_WEBHOOK_SIGNING_SECRET via the platform's secret store
(vercel env add, fly secrets set, or gcloud secrets create). Never
commit these to the repo.vercel.json,
fly.toml, or a Dockerfile that binds the secrets and exposes a health
path. See the reference for the exact file contents.src/health.ts (identical on
all platforms) at the path each platform probes (/api/health on Vercel,
/health on Fly.io and Cloud Run).vercel --prod, fly deploy, or gcloud run deploy.curl the health endpoint and confirm
services.klaviyo.connected is true.vercel env add KLAVIYO_PRIVATE_KEY production # paste pk_*** when prompted
vercel env add KLAVIYO_WEBHOOK_SIGNING_SECRET production
# configure vercel.json (see reference), then:
vercel --prod
curl -s https://your-app.vercel.app/api/health | jq '.services.klaviyo'
Fly.io (fly secrets set + fly.toml + fly deploy) and Cloud Run
(gcloud secrets create + Dockerfile + gcloud run deploy --set-secrets)
follow the same five steps — full commands and config files are in the
reference walkthroughs.
| Issue | Cause | Solution |
|---|---|---|
| Secret not found at runtime | Missing env config | Verify secret binding in platform |
| Cold start timeout | Klaviyo API slow on first call | Set min_instances=1 |
| Webhook 401 | Wrong signing secret | Verify secret matches Klaviyo dashboard |
| Health check fails | Wrong API key per env | Separate keys for staging/prod |
Deploy to Fly.io with a health check. Set the two secrets, deploy, and confirm connectivity:
fly secrets set KLAVIYO_PRIVATE_KEY=pk_*** \
KLAVIYO_WEBHOOK_SIGNING_SECRET=whsec_***
fly deploy
curl -s https://my-klaviyo-app.fly.dev/health | jq '.services.klaviyo'
# → { "connected": true, "latencyMs": 142 }
Verify a webhook signature (HMAC-SHA256). Every platform's webhook route
must timing-safe-compare the klaviyo-webhook-signature header against an HMAC
of the raw body keyed with the signing secret — a 401 otherwise. The full
Vercel handler, vercel.json, fly.toml, the Cloud Run Dockerfile, and the
universal src/health.ts are in
references/platform-deployments.md.
For webhook event handling beyond signature verification, see the
klaviyo-webhooks-events skill.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin klaviyo-pack24 skills in this plugin
/klaviyo-ci-integrationConfigure CI/CD pipelines for Klaviyo integrations with GitHub Actions.
Use when setting up automated testing, configuring CI secrets,
or integrating Klaviyo SDK tests into your build pipeline.
Trigger with phrases like "klaviyo CI", "klaviyo GitHub Actions",
"klaviyo automated tests", "CI klaviyo", "klaviyo pipeline".
/klaviyo-common-errorsDiagnose and fix common Klaviyo API errors and exceptions.
Use when encountering Klaviyo 4xx/5xx errors, debugging failed requests,
or troubleshooting SDK integration issues.
Trigger with phrases like "klaviyo error", "fix klaviyo",
"klaviyo not working", "debug klaviyo", "klaviyo 400", "klaviyo 429".
/klaviyo-Other plugins' skills for the same job