rt-journey-create
БесплатноБез исполняемых скриптовНе проверенCreate RT 2.0 Journeys (event-triggered) that activate when specific events occur, sending real-time data to external systems
от treasure-data★ 23 звезды на GitHubОб этом скилле
RT Journey Creation
Create event-triggered journeys that activate in real-time when specific events occur.
Note: This is for RT Journeys (event-triggered, API-only). For Batch Journeys (stage-based, YAML workflow), use the journey skill.
Journey Types
| Type | Entry | Workflow | This Skill? |
|---|---|---|---|
| RT Journeys | Event occurs | API | ✅ Yes |
| Batch Journeys | Segment membership | YAML + tdx journey |
❌ No |
Prerequisites
- RT configuration complete (RT status = "ok")
- Key events configured
- Webhook/activation endpoint ready (optional)
Quick Start
# Check RT status
tdx ps view <parent_segment_id> --json | jq '.realtime_config.status'
# List key events
tdx api "/audiences/<parent_segment_id>/realtime_key_events" --type cdp
# Create RT journey
tdx api "/entities/realtime_journeys" --type cdp --method POST --data '{
"name": "welcome_email",
"parent_segment_id": 394649,
"event_name": "registration",
"activations": [...]
}'
RT Journey Structure
{
"name": "abandoned_cart_recovery",
"parent_segment_id": 394649,
"event_name": "cart_abandon",
"description": "Send webhook when cart is abandoned",
"activations": [
{
"type": "webhook",
"name": "cart_recovery_webhook",
"endpoint": "https://marketing-platform.com/webhooks/cart",
"method": "POST",
"payload_template": {
"user_id": "{{user_id}}",
"cart_value": "{{cart_value}}",
"cart_items": "{{cart_items}}"
}
}
],
"filters": {
"cart_value": {
"operator": "greater_than",
"value": 50
}
}
}
Event Triggers
RT journeys trigger when key events occur:
# List available key events
tdx api "/audiences/<parent_segment_id>/realtime_key_events" --type cdp
# Create key event
tdx api "/audiences/<parent_segment_id>/realtime_key_events" --type cdp --method POST --data '{
"name": "high_value_purchase",
"event_name": "purchase",
"description": "Purchase over $100",
"filters": {
"purchase_amount": {
"operator": "greater_than",
"value": 100
}
}
}'
Event Filters
Filter which events trigger the journey:
{
"filters": {
// Numeric filters
"purchase_amount": {
"operator": "greater_than",
"value": 100
},
// String filters
"product_category": {
"operator": "equals",
"value": "electronics"
},
// Multiple conditions (AND)
"cart_value": {
"operator": "greater_than",
"value": 50
},
"purchase_count_7d": {
"operator": "equals",
"value": 0
}
}
}
Journey Examples
Welcome Journey
{
"name": "welcome_new_users",
"parent_segment_id": 394649,
"event_name": "registration",
"description": "Welcome email for new users",
"activations": [
{
"type": "webhook",
"endpoint": "https://email-service.com/api/send",
"payload_template": {
"template": "welcome",
"to": "{{email}}",
"user_name": "{{first_name}}",
"user_id": "{{user_id}}"
}
}
]
}
Abandoned Cart
{
"name": "cart_recovery",
"parent_segment_id": 394649,
"event_name": "cart_abandon",
"filters": {
"cart_value": {
"operator": "greater_than",
"value": 50
}
},
"activations": [
{
"type": "email",
"template_id": "cart_recovery",
"to": "{{email}}",
"dynamic_data": {
"cart_items": "{{cart_items}}",
"cart_value": "{{cart_value}}",
"recovery_link": "https://shop.com/cart/{{cart_id}}"
}
}
]
}
High-Value Purchase
{
"name": "vip_thank_you",
"parent_segment_id": 394649,
"event_name": "purchase",
"filters": {
"purchase_amount": {
"operator": "greater_than",
"value": 500
}
},
"activations": [
{
"type": "salesforce",
"object": "Contact",
"operation": "update",
"field_mapping": {
"Email": "{{email}}",
"VIP_Status__c": "true",
"Last_Purchase_Amount__c": "{{purchase_amount}}",
"Last_Purchase_Date__c": "{{event_time}}"
},
"match_field": "Email"
}
]
}
Product Recommendation
{
"name": "product_view_recommendation",
"parent_segment_id": 394649,
"event_name": "product_view",
"activations": [
{
"type": "webhook",
"endpoint": "https://recommendation-engine.com/api/trigger",
"payload_template": {
"user_id": "{{user_id}}",
"viewed_product": "{{product_id}}",
"viewed_category": "{{category}}",
"recent_products": "{{viewed_products_30d}}",
"favorite_category": "{{favorite_category}}"
}
}
]
}
Trial Conversion
{
"name": "trial_to_paid",
"parent_segment_id": 394649,
"event_name": "subscription_start",
"filters": {
"plan_type": {
"operator": "equals",
Установить rt-journey-create в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл rt-journey-create?
Create RT 2.0 Journeys (event-triggered) that activate when specific events occur, sending real-time data to external systems
Как установить скилл rt-journey-create?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rt-journey-create запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic