by sickn33
通过 Composio 的 Rube MCP 集成,自动化 Klaviyo 营销操作,包括营销活动管理、消息检查、标签跟踪和发送作业监控。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 klaviyo-automation 技能" 开始使用
=== klaviyo-automation 技能 === 作者: sickn33 描述: 通过 Composio 的 Rube MCP 集成,自动化 Klaviyo 营销操作,包括营销活动管理、消息检查、标签跟踪和发送作业监控。 使用方法: 1. 调用技能: "使用 klaviyo-automation 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 klaviyo-automation 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
productivity
safe
Automate Klaviyo email and SMS marketing operations through Composio's Klaviyo toolkit via Rube MCP.
RUBE_MANAGE_CONNECTIONS with toolkit klaviyoRUBE_SEARCH_TOOLS first to get current tool schemasGet Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit klaviyoWhen to use: User wants to browse, search, or filter marketing campaigns
Tool sequence:
KLAVIYO_GET_CAMPAIGNS - List campaigns with channel and status filters [Required]Key parameters:
channel: Campaign channel - 'email' or 'sms' (required by Klaviyo API)filter: Additional filter string (e.g., equals(status,"draft"))sort: Sort field with optional - prefix for descending (e.g., '-created_at', 'name')page_cursor: Pagination cursor for next pageinclude_archived: Include archived campaigns (default: false)Pitfalls:
channel is required; omitting it can produce incomplete or unexpected resultspage_cursor until exhausted to get all campaignsfilter (e.g., equals(status,"draft")) can return mixed statuses; always validate data[].attributes.status client-sideresponse.data.data with status at data[].attributes.statusWhen to use: User wants detailed information about a specific campaign
Tool sequence:
KLAVIYO_GET_CAMPAIGNS - Find campaign to get its ID [Prerequisite]KLAVIYO_GET_CAMPAIGN - Retrieve full campaign details [Required]Key parameters:
campaign_id: Campaign ID string (e.g., '01GDDKASAP8TKDDA2GRZDSVP4H')include_messages: Include campaign messages in responseinclude_tags: Include tags in responsePitfalls:
include_messages and include_tags add related data to the response via Klaviyo's include mechanismWhen to use: User wants to view the email/SMS content of a campaign
Tool sequence:
KLAVIYO_GET_CAMPAIGN - Find campaign and its message IDs [Prerequisite]KLAVIYO_GET_CAMPAIGN_MESSAGE - Get message content details [Required]Key parameters:
id: Message ID stringfields__campaign__message: Sparse fieldset for message attributes (e.g., 'content.subject', 'content.from_email', 'content.body')fields__campaign: Sparse fieldset for campaign attributesfields__template: Sparse fieldset for template attributesinclude: Related resources to include ('campaign', 'template')Pitfalls:
When to use: User wants to view tags associated with campaigns for organization
Tool sequence:
KLAVIYO_GET_CAMPAIGN_RELATIONSHIPS_TAGS - Get tag IDs for a campaign [Required]Key parameters:
id: Campaign ID stringPitfalls:
When to use: User wants to check the status of a campaign send operation
Tool sequence:
KLAVIYO_GET_CAMPAIGN_SEND_JOB - Check send job status [Required]Key parameters:
id: Send job IDPitfalls:
1. Call KLAVIYO_GET_CAMPAIGNS with channel='email'
2. Paginate through all results via page_cursor
3. Filter by status client-side for accuracy
4. Extract campaign IDs for detailed inspection
Klaviyo supports sparse fieldsets to reduce response size:
fields__campaign__message=['content.subject', 'content.from_email', 'send_times']
fields__campaign=['name', 'status', 'send_time']
fields__template=['name', 'html', 'text']
page_cursor in the pagination metadatapage_cursor in next request- equals(status,"draft") - Campaigns in draft status
- equals(name,"Newsletter") - Campaign named "Newsletter"
- greater-than(created_at,"2024-01-01T00:00:00Z") - Created after date
API Version:
Response Nesting:
response.data.data[].attributesdata[].attributes.statusRate Limits:
Status Values:
| Task | Tool Slug | Key Params |
|---|---|---|
| List campaigns | KLAVIYO_GET_CAMPAIGNS | channel, filter, sort, page_cursor |
| Get campaign details | KLAVIYO_GET_CAMPAIGN | campaign_id, include_messages, include_tags |
| Get campaign message | KLAVIYO_GET_CAMPAIGN_MESSAGE | id, fields__campaign__message |
| Get campaign tags | KLAVIYO_GET_CAMPAIGN_RELATIONSHIPS_TAGS | id |
| Get send job status | KLAVIYO_GET_CAMPAIGN_SEND_JOB | id |
View Count
0
Download Count
0
Favorite Count
0
Quality Score
71