The problem
Deals arrive from many sources, at all hours, and go stale quickly. Shoppers browse category and retailer pages; the offers they care about arrive somewhere else entirely. Publishing needed a dependable route from an incoming deal to a discoverable, well-structured product listing, without someone retyping every offer.
The approach
I separated presentation from publishing. WordPress serves the public storefront, where it is strongest: content, SEO, theming and editorial control. A separate deal-posting service, hosted on Hugging Face Spaces, receives new deals, normalises and enriches the listing, and publishes it to WordPress through its API.
- Receive a new deal from a source feed or submission.
- Process it in the hosted pipeline: clean the title, map the retailer and category, validate links and pricing.
- Publish to the WordPress storefront as a structured listing, ready for shoppers and search engines.
The shopping experience
Retailer-specific sale sections let visitors move from an overview to the offers and product listings that matter to them, instead of scrolling an undifferentiated feed.
Why this architecture
Keeping the pipeline outside the presentation layer means the storefront stays lightweight and the publishing logic can evolve, scale or be swapped without touching the theme. It is the same pattern I use for AI-assisted content and catalogue pipelines: deterministic steps where reliability matters, automation where it saves real time, and a clean API boundary between the two.