自动化你的整个店铺,每周重获 20+ 小时
何时使用
✅ 使用此技能当:
- "监控竞品价格并在变化时提醒我"
- "跨多个平台跟踪库存"
- "自动将订单导出到我的履约系统"
- "当产品缺货或补货时通知我"
- "抓取竞品产品并分析趋势"
- "根据规则自动更新价格"
- "同步 Shopify 和 Amazon 之间的库存"
何时不使用
❌ 不要使用此技能当:
- 单产品、一次性手动更新
- 复杂的退货/退款处理(需要人工判断)
- 客户服务对话(需要同理心)
- 视觉内容创建(产品照片、视频)
💰 投资回报与价值
典型节省:
- 价格监控:5 小时/周 → 每月 500 美元 时间价值
- 库存同步:3 小时/周 → 每月 300 美元
- 订单处理:8 小时/周 → 每月 800 美元
- 总计:16+ 小时/周 = 每月 1,600 美元价值
我们的成本:每月 10-30 美元
投资回报:50:1+(一天内收回成本)
支持的平台
| 平台 | 功能 | 状态 |
|---|
| Shopify | 产品、订单、库存、客户 | ✅ 完整 |
| WooCommerce | 产品、订单、库存 | ✅ 完整 |
| Amazon Seller Central | 库存、价格、订单 | ✅ 完整 |
| eBay | 商品、订单、库存 | ✅ 完整 |
| BigCommerce | 产品、订单 | ✅ 完整 |
| 自定义 API(任何平台) | 用自定义集成扩展 | ✅ 完整 |
快速开始:价格监控
1. 配置你的店铺
创建 ecommerce-config.yaml:
store:
platform: "shopify"
api_key: "shpat_xxxxx"
store_url: "https://your-store.myshopify.com"monitors:
- name: "竞品价格关注"
competitors:
- url: "https://competitor.com/product-1"
css_selector: ".price"
- url: "https://competitor.com/product-2"
css_selector: ".price"
rules:
- if: "competitor_price < my_price 0.9"
action: "alert"
channel: "email"
to: "pricing@yourcompany.com"
- if: "competitor_price > my_price 1.1"
action: "alert"
channel: "slack"
# 我们价格太低了!
schedule: "/30 " # 每 30 分钟
2. 运行工作流
# 加载配置
clawhub workflow load ecommerce-config.yaml# 开始监控
clawhub workflow start "竞品价格关注"
# 查看状态
clawhub workflow status
3. 接收警报
警报将通过你配置的渠道发送(邮件、Slack、Telegram、SMS)。
核心功能
1. 价格监控与调价
自动跟踪竞品价格:
price_monitor:
products:
- sku: "ABC-123"
my_price: 49.99
competitors:
- name: "Amazon"
url: "https://amazon.com/dp/..."
selector: "#priceblock_ourprice"
- name: "eBay"
url: "https://ebay.com/itm/..."
selector: ".notranslate" rules:
- if: "min_competitor_price < my_price 0.95"
action: "recommend_price_match"
- if: "max_competitor_price > my_price 1.2"
action: "alert_price_gap" # 我们太便宜了!
自动调价(可选):
- 匹配竞品价格
- 保持低于/高于竞品 X%
- 最低/最高价格限制
2. 库存同步
多平台库存一致性:
inventory_sync:
sources:
- platform: "shopify"
location: "main_warehouse"
- platform: "amazon"
fulfillment: "FBA" sync_rules:
- if: "shopify_stock < 10"
action: "alert_low_stock"
- if: "amazon_stock != shopify_stock"
action: "recalculate_available"
# 从发货清单拉取
好处:
3. 订单管理
自动处理订单:
order_processor:
triggers:
- event: "order.created"
platform: "shopify" steps:
- validate: "检查库存可用"
- fulfill: "发送到 3PL / 代发货供应商"
- notify: "客户发货确认"
- track: "将追踪号导回 Shopify"
fallbacks:
- if inventory insufficient: "列入缺货订单"
- if fulfillment fails: "提醒运营团队"
支持的操作:
- 发送到履约服务(ShipStation、EasyPost)
- 生成配货单
- 更新订单状态
- 客户通知
4. 竞品分析
每日竞品洞察:
competitor_analysis:
competitors:
- name: "品牌 A"
product_urls: ["...", "..."] data_points:
- price_history (跟踪变化)
- review_count (监控增长)
- best_sellers_rank
- new_product launches
report:
schedule: "0 8 " # 每天早 8 点
format: ["email", "slack", "pdf"]
summary: |
本周:5 次降价平均 -$3.20
3 个竞品补货了热门商品
新竞品进入品类:品牌 X
5. 库存警报
智能库存通知:
stock_alerts:
checks:
- product: "SKU-123"
threshold: 20
when_below: "notify_purchasing"
- product: "SKU-456"
threshold: 5
when_below: "pause_advertising" channels:
purchasing: "purchasing@company.com"
marketing: "marketing@company.com"
slack: "#inventory-alerts"
高级模式
模式:动态调价
根据需求、竞品和库存水平自动调整价格:
dynamic_pricing:
product: "SUMMER-DRESS-001"
base_price: 79.99 factors:
- competitor_price: "权重: 0.5"
- stock_level: "如果库存 > 100: -5%; 如果库存 < 10: +10%"
- seasonality: "旺季: +20%"
- conversion_rate: "如果转化率 < 2%: -$5"
bounds:
min_price: 49.99
max_price: 129.99
update_frequency: "每 2 小时"
模式:跨平台 listing
一个产品,多个市场:
sync_product:
source: "Shopify / Products / ID-123"
targets:
- platform: "amazon"
listing: "创建/更新 Amazon listing"
price_adjustment: "+15% (Amazon 费用)"
- platform: "ebay"
listing: "创建/更新 eBay listing"
price_adjustment: "+10%"
- platform: "google_shopping"
listing: "更新 Merchant Center" inventory_reserve: 5 # 仅在 Shopify 保留 5 件
模式:购物车放弃挽回
自动恢复放弃的购物车:
cart_recovery:
trigger: "checkout.abandoned"
delay: "1 小时" steps:
- email: "10% 折扣提醒"
- if_no_response_24h:
sms: "最后机会,免运费"
- if_no_response_48h:
alert: "需要人工审核"
预期挽回率: "15% → 每月 2,000 美元收入"
最佳实践
1. 从只读开始
- 从仅监控开始(无自动调价)
- 验证数据准确性
- 设置保守的警报阈值
2. 逐步推广
- 第 1 周:仅价格监控
- 第 2 周:添加库存同步
- 第 3 周:启用自动履约
- 第 4 周:启用自动调价
3. 实施保护措施
safeguards:
max_daily_price_changes: 10 # 防止价格波动
min_profit_margin: 15%
blackout_hours: "晚上 10 点-早上 6 点" # 夜间不变价
approval_required: "价格变化 > 20%"
4. 监控与审计
audit_log:
- record: "所有价格变化含前后对比"
- report: "每周摘要邮件"
- rollback: "一键恢复到之前状态"
集成示例
Shopify + Amazon 同步
sync-shopify-amazon.yaml:
workflow:
name: "Shopify-Amazon 同步"
schedule: "/5 "steps:
- fetch_shopify:
agent: "shopify-agent"
task: "获取所有有库存的产品"
- fetch_amazon:
agent: "amazon-agent"
task: "获取所有 FBA 库存"
- compare:
agent: "diff-agent"
task: "找出平台间的差异"
- sync:
agent: "sync-agent"
task: "用 Shopify 库存更新 Amazon"
depends_on: [compare]
价格抓取器
scrape-competitors.yaml:
workflow:
name: "竞品价格抓取器"
schedule: "0 /3 *" # 每 3 小时steps:
- scrape:
agent: "browser-agent"
tasks:
- "https://competitor1.com/product-a" → ".price"
- "https://competitor1.com/product-b" → ".price"
# ... 最多 50 个产品
- normalize:
agent: "data-processor"
task: "清理价格,移除货币符号,转换为浮点数"
- compare:
agent: "analyst"
task: "与我们的价格比较,找出偏差"
- alert:
agent: "alerter"
task: "发送报告给定价团队"
故障排除
API 限制?
- Shopify:2 请求/秒 → 建议批量处理
- Amazon:1 请求/秒 → 使用节流
- 解决方案:使用带速率限制的
openclaw agents
数据不匹配?
- 检查时区处理
- 验证货币转换
- 验证产品匹配(SKU vs URL)
想暂停同步?
clawhub workflow pause "Shopify-Amazon 同步"
clawhub workflow resume "Shopify-Amazon 同步"
支持与后续步骤
- 设置协助:加入我们的 Discord 进行一对一入职
- 自定义集成:需要未列出的平台?我们可以构建(自定义报价)
- 企业版:团队协作、审计日志、白手套支持(500 美元/月)
_自动化电商。规模化无需招聘。_ 🚀
Automate your entire store and reclaim 20+ hours per week
When to Use
✅ USE this skill when:
- "Monitor competitor prices and alert me when they change"
- "Track inventory across multiple platforms"
- "Automatically export orders to my fulfillment system"
- "Get notified when products go out of stock or back in stock"
- "Scrape competitor products and analyze trends"
- "Auto-update prices based on rules"
- "Sync inventory between Shopify and Amazon"
When NOT to Use
❌ DON'T use this skill when:
- Single product, one-time manual update
- Complex returns/refunds processing (human judgment needed)
- Customer service conversations (needs empathy)
- Visual content creation (product photos, videos)
💰 ROI & Value
Typical savings:
- Price monitoring: 5 hours/week → $500/month in time
- Inventory sync: 3 hours/week → $300/month
- Order processing: 8 hours/week → $800/month
- Total: 16+ hours/week = $1,600/month value
Our cost: $10-30/month
ROI: 50:1+ (payback in <1 day)
Supported Platforms
| Platform | Features | Status |
|---|
| Shopify | Products, orders, inventory, customers | ✅ Full |
| WooCommerce | Products, orders, stock | ✅ Full |
| Amazon Seller Central | Inventory, prices, orders | ✅ Full |
| eBay | Listings, orders, inventory | ✅ Full |
| BigCommerce | Products, orders | ✅ Full |
| Custom APIs (any platform) | Extend with custom integrations | ✅ Full |
Quick Start: Price Monitor
1. Configure Your Store
Create ecommerce-config.yaml:
store:
platform: "shopify"
api_key: "shpat_xxxxx"
store_url: "https://your-store.myshopify.com"monitors:
- name: "Competitor Price Watch"
competitors:
- url: "https://competitor.com/product-1"
css_selector: ".price"
- url: "https://competitor.com/product-2"
css_selector: ".price"
rules:
- if: "competitor_price < my_price 0.9"
action: "alert"
channel: "email"
to: "pricing@yourcompany.com"
- if: "competitor_price > my_price 1.1"
action: "alert"
channel: "slack"
# We're underpriced!
schedule: "/30 " # Every 30 minutes
2. Run the Workflow
# Load config
clawhub workflow load ecommerce-config.yaml# Start monitoring
clawhub workflow start "Competitor Price Watch"
# Check status
clawhub workflow status
3. Get Alerts
Alerts will be sent via your configured channels (email, Slack, Telegram, SMS).
Core Features
1. Price Monitoring & Repricing
Track competitor prices automatically:
price_monitor:
products:
- sku: "ABC-123"
my_price: 49.99
competitors:
- name: "Amazon"
url: "https://amazon.com/dp/..."
selector: "#priceblock_ourprice"
- name: "eBay"
url: "https://ebay.com/itm/..."
selector: ".notranslate" rules:
- if: "min_competitor_price < my_price 0.95"
action: "recommend_price_match"
- if: "max_competitor_price > my_price 1.2"
action: "alert_price_gap" # We're too cheap!
Automatic repricing (optional):
- Match competitor price
- Stay X% below/above competitors
- Min/max price bounds
2. Inventory Sync
Multi-platform inventory consistency:
inventory_sync:
sources:
- platform: "shopify"
location: "main_warehouse"
- platform: "amazon"
fulfillment: "FBA" sync_rules:
- if: "shopify_stock < 10"
action: "alert_low_stock"
- if: "amazon_stock != shopify_stock"
action: "recalculate_available"
# Pull from shipping manifest
Benefits:
- No overselling
- Automatic stock allocations
- Fulfillment optimization
3. Order Management
Auto-process orders:
order_processor:
triggers:
- event: "order.created"
platform: "shopify" steps:
- validate: "Check inventory available"
- fulfill: "Send to 3PL / dropship supplier"
- notify: "Customer shipping confirmation"
- track: "Import tracking number back to Shopify"
fallbacks:
- if inventory insufficient: "Place on backorder"
- if fulfillment fails: "Alert operations team"
Supported actions:
- Send to fulfillment service (ShipStation, EasyPost)
- Generate packing slips
- Update order status
- Customer notifications
4. Competitor Analysis
Daily competitor insights:
competitor_analysis:
competitors:
- name: "Brand A"
product_urls: ["...", "..."] data_points:
- price_history (track changes over time)
- review_count (monitor growth)
- best_sellers_rank
- new_product launches
report:
schedule: "0 8 " # Daily 8 AM
format: ["email", "slack", "pdf"]
summary: |
This week: 5 price drops avg -$3.20
3 competitors restocked popular item
New competitor entered category: Brand X
5. Stock Alerts
Smart inventory notifications:
stock_alerts:
checks:
- product: "SKU-123"
threshold: 20
when_below: "notify_purchasing"
- product: "SKU-456"
threshold: 5
when_below: "pause_advertising" channels:
purchasing: "purchasing@company.com"
marketing: "marketing@company.com"
slack: "#inventory-alerts"
Advanced Patterns
Pattern: Dynamic Repricing
Automatically adjust prices based on demand, competitor, and stock level:
dynamic_pricing:
product: "SUMMER-DRESS-001"
base_price: 79.99 factors:
- competitor_price: "weight: 0.5"
- stock_level: "if stock > 100: -5%; if stock < 10: +10%"
- seasonality: "peak_season: +20%"
- conversion_rate: "if cvr < 2%: -$5"
bounds:
min_price: 49.99
max_price: 129.99
update_frequency: "every 2 hours"
Pattern: Cross-Platform Listings
One product, multiple marketplaces:
sync_product:
source: "Shopify / Products / ID-123"
targets:
- platform: "amazon"
listing: "Create/Update Amazon listing"
price_adjustment: "+15% (Amazon fees)"
- platform: "ebay"
listing: "Create/Update eBay listing"
price_adjustment: "+10%"
- platform: "google_shopping"
listing: "Update Merchant Center" inventory_reserve: 5 # Keep 5 units in Shopify only
Pattern: Lost Buyback Window
Automatically recover abandoned carts:
cart_recovery:
trigger: "checkout.abandoned"
delay: "1 hour" steps:
- email: "Reminder with 10% off"
- if_no_response_24h:
sms: "Last chance, free shipping"
- if_no_response_48h:
alert: "Manual review needed"
expected_recovery_rate: "15% → $2,000/mo revenue"
Best Practices
1. Start with Read-Only
- Begin with monitoring only (no auto-repricing)
- Validate data accuracy
- Set conservative alert thresholds
2. Stagger Rollout
- Week 1: Price monitoring only
- Week 2: Add inventory sync
- Week 3: Enable auto-fulfillment
- Week 4: Enable auto-repricing
3. Implement Safeguards
safeguards:
max_daily_price_changes: 10 # Prevent erratic pricing
min_profit_margin: 15%
blackout_hours: "10pm-6am" # No changes at night
approval_required: "price_change > 20%"
4. Monitor & Audit
audit_log:
- record: "All price changes with before/after"
- report: "Weekly summary email"
- rollback: "One-click revert to previous state"
Integration Examples
Shopify + Amazon Sync
sync-shopify-amazon.yaml:
workflow:
name: "Shopify-Amazon Sync"
schedule: "/5 "steps:
- fetch_shopify:
agent: "shopify-agent"
task: "Get all products with inventory > 0"
- fetch_amazon:
agent: "amazon-agent"
task: "Get all FBA inventory"
- compare:
agent: "diff-agent"
task: "Find discrepancies between platforms"
- sync:
agent: "sync-agent"
task: "Update Amazon with Shopify quantities"
depends_on: [compare]
Price Scraper
scrape-competitors.yaml:
workflow:
name: "Competitor Price Scraper"
schedule: "0 /3 *" # Every 3 hourssteps:
- scrape:
agent: "browser-agent"
tasks:
- "https://competitor1.com/product-a" → ".price"
- "https://competitor1.com/product-b" → ".price"
# ... up to 50 products
- normalize:
agent: "data-processor"
task: "Clean prices, remove currency symbols, convert to float"
- compare:
agent: "analyst"
task: "Compare to our prices, find deviations"
- alert:
agent: "alerter"
task: "Send report to pricing team"
Troubleshooting
API Limits?
- Shopify: 2 req/sec → batching recommended
- Amazon: 1 req/sec → use throttling
- Solution:
openclub agents with rate limiting
Data Mismatches?
- Check timezone handling
- Validate currency conversions
- Verify product matching (SKU vs. URL)
Want to Pause Sync?
clawhub workflow pause "Shopify-Amazon Sync"
clawhub workflow resume "Shopify-Amazon Sync"
Support & Next Steps
- Setup assistance: Join our Discord for 1:1 onboarding
- Custom integrations: Need a platform not listed? We can build it (custom quote)
- Enterprise: Team collaboration, audit logs, white-glove support ($500/mo)
_Automate e-commerce. Scale without hiring._ 🚀