Slack Tool
Scoping docs for a read-only Slack + LLM interface into the client's WooCommerce data. Lets non-technical users ask for sales summaries, top products, featured products, etc. via slash commands or natural language — and optionally receive automated monthly reports.
This is a Woo-first advantage: full database access and custom REST endpoints make this clean to build on WordPress. The same tool on Shopify would be "API gymnastics" because of rate limits, GraphQL rigidity, and the fact that Shopify owns the data layer. See ../platform-decision/AI-IMPLEMENTATION-COMPARISON.md for the full argument.
Index
| Document | Purpose |
|---|---|
| SCOPING.md | Two-phase scoping doc. Phase 1 = baseline read-only WP → Slack pipeline with slash commands. Phase 2 = LLM intent parser + natural language + scheduled monthly reports. Includes PHP snippets, architecture diagrams, guardrails. |
Quick Reference
- Baseline build: ~1–2 days
- Core architecture: Slack → middleware (Node) → WP REST endpoints → response
- LLM role: Translator only. Maps natural language →
{ intent, params }. Does NOT query WP directly. - Tool layer: 5–8 endpoints max. Return clean JSON.
- Automation: Cron-driven monthly report posted to a Slack channel with revenue, YoY comparison, top products.
- Golden rule: If the LLM disappears, the system still works via slash commands. That's how you know it's built right.