skill-woocommerce-stock-monitor

Monitor WooCommerce products for out-of-stock changes and send Telegram alerts. Run daily via cron.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skill-woocommerce-stock-monitor" with this command: npx skills add zero2ai-hub/skill-woocommerce-stock-monitor

skill-woocommerce-stock-monitor v1.0.0

Monitor WooCommerce products for out-of-stock changes and send Telegram alerts. Tracks instock → outofstock transitions and alerts your team daily.

Usage

node scripts/stock-monitor.js

Configuration

Set via environment variables:

VariableDefaultDescription
WOO_API_PATH~/woo-api.jsonPath to WooCommerce API credentials JSON
TELEGRAM_BOT_TOKENTelegram bot token for alerts
TELEGRAM_CHAT_IDTelegram chat/group ID to send alerts to

woo-api.json format

{
  "url": "https://your-store.com",
  "consumer_key": "ck_...",
  "consumer_secret": "cs_..."
}

Cron setup

# Run daily at 07:00 UTC
0 7 * * * TELEGRAM_BOT_TOKEN=xxx TELEGRAM_CHAT_ID=yyy node /path/to/scripts/stock-monitor.js

Behavior

  • First run: Sends a baseline report of all currently OOS products
  • Subsequent runs: Only alerts on new instock → outofstock transitions
  • State file: Saved to memory/stock-state.json (tracks previous run)

Alerts

  • 📦 Stock Monitor — Baseline Report — first run summary
  • ⚠️ Stock Alert — Out of Stock — when products go OOS

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Content Refresher

Use when updating outdated content, fixing traffic/ranking decay, refreshing stats, adding new sections, or improving freshness signals. 内容更新/排名恢复

Registry SourceRecently Updated
General

AssemblyAI Transcriber

Transcribe audio files with speaker diarization (who speaks when). Supports 100+ languages, automatic language detection, and timestamps. Use for meetings, interviews, podcasts, or voice messages. Requires AssemblyAI API key.

Registry SourceRecently Updated
General

mac-node-snapshot

A robust, permission-friendly method to capture macOS screens via OpenClaw screen.record. Ideal for headless environments or ensuring capture reliability.

Registry SourceRecently Updated
1.4K0taozhe6
General

Amazon Asin Lookup Api Skill

This skill helps users extract structured product details from Amazon using a specific ASIN (Amazon Standard Identification Number). Use this skill when the...

Registry SourceRecently Updated
1.3K1phheng