Skip to content

vavavadusik-crypto/wordpress-automation

Repository files navigation

WordPress Automation — AI Agent for WooCommerce + Market Intelligence

Two-part solution for automating WordPress/WooCommerce tasks and monitoring competitor market intelligence.

Task 1: WooCommerce Product Automation (AUD $15)

Natural language → WooCommerce REST API.

# Set your WooCommerce credentials
export WOO_STORE_URL="https://your-store.com"
export WOO_CONSUMER_KEY="ck_..."
export WOO_CONSUMER_SECRET="cs_..."

# Run commands
python woo_agent.py "change price of Red Shirt to $29.99"
python woo_agent.py "set Red Shirt out of stock"
python woo_agent.py "set Red Shirt in stock"

Task 2: Market Intelligence Monitor (AUD $50)

Scrapes competitor websites, compares prices, generates AI report, emails.

# Configure competitors in config.yaml
cp config.example.yaml config.yaml
# Edit config.yaml with your competitor URLs

# Run monitor (Mon/Thu via cron)
python market_monitor.py --config config.yaml

# Dry run (no email)
python market_monitor.py --config config.yaml --dry-run

Cron schedule (Mon/Thu 9am):

0 9 * * 1,4 cd /path/to/wordpress-automation && python market_monitor.py --config config.yaml

Features

  • NL command parsing via free LLM (Groq) with regex fallback
  • WooCommerce REST API v3
  • Competitor web scraping (JSON-LD + CSS selectors)
  • SQLite price history with diff detection
  • AI report synthesis (Groq free tier)
  • MAP (Minimum Advertised Price) enforcement
  • Out-of-stock detection
  • Email delivery via SMTP

Dependencies

pip install -r requirements.txt

License

MIT

About

WooCommerce automation and market intelligence monitor with scraping, AI summaries, SQLite history, and SMTP reports.

Topics

Resources

License

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages