Customer.io Automation
它能做什么
这个工具可以通过 Customer.io 自动向客户发送消息。你可以触发营销活动、查看投递数据,并管理联系人列表。
适用场景
- ✓为特定客户群体触发一次邮件营销活动。
- ✓查看有多少人打开或点击了某封邮件。
- ✓列出你已注册的所有联系人分组(即细分人群)。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/customerio-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“为客户 ID 为 123 和 456 的用户触发 “Summer Sale” 营销活动。”
每周 5 个新技能,1 分钟读完。
工作原理
你先将 Customer.io 账户连接到系统,然后就可以让它触发营销活动,或获取消息发送的相关信息。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Customer.io Automation
Automate customer engagement operations -- trigger targeted broadcasts, retrieve delivery metrics, manage audience segments, list newsletters and transactional templates, and inspect trigger execution history -- all orchestrated through the Composio MCP integration.
Toolkit docs: composio.dev/toolkits/customerio
Setup
- Connect your Customer.io account through the Composio MCP server at
https://rube.app/mcp - The agent will prompt you with an authentication link if no active connection exists
- Once connected, all
CUSTOMERIO_*tools become available for execution
Core Workflows
1. Trigger a Broadcast
Manually fire a pre-configured broadcast to a specific audience with personalization data.
Tool: CUSTOMERIO_TRIGGER_BROADCAST
| Parameter | Type | Required | Description |
|---|---|---|---|
broadcast_id |
integer | Yes | Broadcast ID from Customer.io Triggering Details |
ids |
array | No | List of customer IDs to target |
emails |
array | No | List of email addresses to target |
recipients |
object | No | Complex filter with and/or/not/segment operators |
per_user_data |
array | No | Per-user personalization with id/email + data |
data |
object | No | Global key-value data for Liquid template personalization |
data_file_url |
string | No | URL to JSON file with per-line user data |
email_add_duplicates |
boolean | No | Allow duplicate recipients (default: false) |
email_ignore_missing |
boolean | No | Skip people without emails (default: false) |
id_ignore_missing |
boolean | No | Skip people without customer IDs (default: false) |
Important: Provide exactly ONE audience option: recipients, ids, emails, per_user_data, or data_file_url. Rate limit: 1 request per 10 seconds per broadcast.
2. Retrieve Message Delivery Metrics
Fetch paginated delivery metrics for messages with filtering by campaign, type, and time window.
Tool: CUSTOMERIO_GET_MESSAGES
| Parameter | Type | Required | Description |
|---|---|---|---|
type |
string | No | Message type: email, webhook, twilio, slack, push, in_app |
metric |
string | No | Metric: attempted, sent, delivered, opened, clicked, converted |
campaign_id |
integer | No | Filter by campaign ID |
newsletter_id |
integer | No | Filter by newsletter ID |
action_id |
integer | No | Filter by action ID |
start_ts |
integer | No | Start of time window (Unix timestamp) |
end_ts |
integer | No | End of time window (Unix timestamp) |
limit |
integer | No | Results per page, 1-1000 (default: 50) |
start |
string | No | Pagination token from previous response next value |
drafts |
boolean | No | Return draft messages instead of active/sent |
3. List Audience Segments
Retrieve all segments defined in your workspace for audience analysis and broadcast targeting.
Tool: CUSTOMERIO_GET_SEGMENTS
No parameters required -- returns all segments with IDs and metadata.
Use segment IDs when targeting broadcasts via the recipients.segment.id filter.
4. List Newsletters
Paginate through all newsletter metadata for tracking and analysis.
Tool: CUSTOMERIO_LIST_NEWSLETTERS
| Parameter | Type | Required | Description |
|---|---|---|---|
limit |
integer | No | Max per page, 1-100 |
sort |
string | No | asc (chronological) or desc (reverse) |
start |
string | No | Pagination cursor from previous response next value |
5. Discover Transactional Message Templates
List all transactional message templates to find IDs for sending via the API.
Tool: CUSTOMERIO_LIST_TRANSACTIONAL_MESSAGES
No parameters required -- returns template IDs and trigger names.
6. Inspect Broadcast Trigger History
Review all trigger executions for a broadcast and inspect individual trigger details.
Tools: CUSTOMERIO_GET_TRIGGERS and CUSTOMERIO_GET_TRIGGER
List all triggers for a broadcast:
| Parameter | Type | Required | Description |
|---|---|---|---|
broadcast_id |
integer | Yes | The broadcast/campaign ID |
Get a specific trigger:
| Parameter | Type | Required | Description |
|---|
…
常见问题
我怎么连接 Customer.io 账户?
你需要通过系统初始设置中提供的链接来连接账户。
我可以只发送给特定客户吗?
可以。你可以通过客户 ID 或邮箱指定客户,也可以发送给整个分组(细分人群)。
我怎么查看发送数据?
你可以请求查看已送达、已打开、已点击等数据,并按营销活动或时间段进行筛选。
详情
作者的原始描述
Automate customer engagement workflows including broadcast triggers, message analytics, segment management, and newsletter tracking through Customer.io via Composio
热度
- GitHub 星标
- 77k
- 排名
- #1958
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。