agentleFS
Synter-Media-AISynter-Media-AI/free-skills/skills/klaviyo-campaigns/SKILL.md

klaviyo-campaigns

Skill4 starsChanged 6 months agoMITView on GitHub

Klaviyo email/SMS — campaigns, lists, segments, flows, audience sync, event tracking. Load before `run_ppc_script platform="KLAVIYO"`.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All Klaviyo scripts auto-inject OAuth credentials from the user's connected Klaviyo account.

    line 8
  2. Distinctive:

    Create and send an email campaign:

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Klaviyo Email & SMS Marketing (run_ppc_script with platform="KLAVIYO")

All Klaviyo scripts auto-inject OAuth credentials from the user's connected Klaviyo account.

Campaigns & Lists

  • klaviyo_list_campaigns — List email/SMS campaigns with status and send time. Args: [--channel email|sms] [--status draft|scheduled|sent|cancelled]
  • klaviyo_list_lists — List subscriber lists and optionally segments. Args: [--include-segments]
  • klaviyo_list_templates — List email templates. Args: [--filter NAME_SUBSTRING]
  • klaviyo_list_flows — List automation flows with status and trigger type. Args: [--status draft|manual|live]

Campaign Creation & Management

  • klaviyo_create_campaign — Create a draft email or SMS campaign with template assignment. Returns campaign_id ready for sending. Args:
    --name NAME --list-id LIST_ID --subject SUBJECT
    [--channel email|sms]
    [--html-body HTML] [--html-file PATH] [--template-id ID]
    [--from-email EMAIL] [--from-name NAME]
    [--preview-text TEXT] [--reply-to EMAIL]
    [--exclude-list-id IDS]
    [--schedule-at ISO_DATETIME] [--local-timezone]
    [--no-smart-sending] [--add-utm]
    [--sms-body TEXT]   (for SMS campaigns)
  • klaviyo_send_campaign — Send a draft campaign immediately. Args: --campaign-id ID [--cancel] [--status]
  • klaviyo_cancel_campaign — Cancel a scheduled or sending campaign. Args: --campaign-id ID

Campaign Metrics

  • klaviyo_get_campaign_metrics — Get campaign performance metrics (opens, clicks, bounces, unsubscribes, revenue). Args: --campaign-id ID [--detail]

Audience Sync

  • klaviyo_sync_audience — Upsert profiles and add them to a Klaviyo list. Args: --list-id LIST_ID --profiles-json '[{"email":"...","first_name":"...","last_name":"...","phone":"..."}]'

Event Tracking

  • klaviyo_track_event — Track a custom event for a profile to trigger Klaviyo flows. Args: --email EMAIL --metric METRIC_NAME [--properties '{"key":"value"}'] [--value AMOUNT] [--time ISO_TIMESTAMP]

Examples

Create and send an email campaign:

{"script_name": "klaviyo_create_campaign", "platform": "KLAVIYO", "args": ["--name", "March Newsletter", "--list-id", "LIST_ID", "--subject", "Your March Update", "--html-body", "<html><body><h1>Hello!</h1></body></html>", "--from-email", "hello@example.com", "--from-name", "Acme Inc"]}

Then send:

{"script_name": "klaviyo_send_campaign", "platform": "KLAVIYO", "args": ["--campaign-id", "CAMPAIGN_ID"]}

Get campaign performance:

{"script_name": "klaviyo_get_campaign_metrics", "platform": "KLAVIYO", "args": ["--campaign-id", "CAMPAIGN_ID", "--detail"]}

Sync leads to a Klaviyo list:

{"script_name": "klaviyo_sync_audience", "platform": "KLAVIYO", "args": ["--list-id", "LIST_ID", "--profiles-json", "[{\"email\":\"alice@example.com\",\"first_name\":\"Alice\"},{\"email\":\"bob@example.com\",\"first_name\":\"Bob\"}]"]}

Track a signup event:

{"script_name": "klaviyo_track_event", "platform": "KLAVIYO", "args": ["--email", "alice@example.com", "--metric", "Signed Up", "--properties", "{\"plan\":\"Pro\",\"source\":\"Google Ads\"}", "--value", "49"]}

About this skill

Part of the Synter free skills collection — open-source agent skills for advertising, PPC, and marketing automation.

Want this skill (and 40+ more) running on autopilot against your live ad accounts? Try Synter — AI Agent Media Buyers that connect to Google, Meta, LinkedIn, TikTok, Reddit, Amazon, and 7+ more platforms.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.