customerio-core-feature

Featured

Implement Customer.io core features: transactional messages, API-triggered broadcasts, segments, and person merge. Trigger: "customer.io segments", "customer.io transactional", "customer.io broadcast", "customer.io merge users", "customer.io send email".

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

# Customer.io Core Features ## Overview Implement Customer.io's key platform features: transactional emails/push (password resets, receipts), API-triggered broadcasts (one-to-many on demand), segment-driving attributes, anonymous-to-known user merging, and person suppression/deletion. ## Prerequisites - `customerio-node` installed - Track API credentials (`CUSTOMERIO_SITE_ID` + `CUSTOMERIO_TRACK_API_KEY`) - App API credential (`CUSTOMERIO_APP_API_KEY`) — required for transactional + broadcasts ## Instructions ### Feature 1: Transactional Email Transactional messages are opt-in-implied messages (receipts, password resets). Create the template in Customer.io dashboard first, then call the API with data. ```typescript // lib/customerio-transactional.ts import { APIClient, SendEmailRequest, RegionUS } from "customerio-node"; const api = new APIClient(process.env.CUSTOMERIO_APP_API_KEY!, { region: RegionUS, }); // Send a transactional email // transactional_message_id comes from the Customer.io dashboard template async function sendPasswordReset(email: string, userId: string, resetUrl: string) { const request = new SendEmailRequest({ to: email, transactional_message_id: "3", // Template ID from dashboard message_data: { reset_url: resetUrl, expiry_hours: 24, support_email: "help@yourapp.com", }, identifiers: { id: userId }, // Links delivery metrics to user profile }); const response = await api.sendEmail(request); // ...

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