Data feed quickstarts
WordPress and WooCommerce
The WaForge Connect plugin turns a WooCommerce store into a live source for the agent: products, variations, prices, stock and order status, plus change events when stock or orders change. No code. WordPress 6.0+ and PHP 7.4+.
Steps #
- Add the source in WaForge. Dashboard, Data feeds, "Your website (live data)", type WordPress or WooCommerce plugin. Enter your shop domain and click Create and get my secret. Copy the four values shown once: feed secret, key id, tenant id, verification token.
- Install the plugin. Download waforge-connect.zip. In WordPress: Plugins, Add New, Upload Plugin, choose the zip, Install, Activate.
- Paste the values. Settings, WaForge Connect: paste the four values, Save. The plugin now serves
/.well-known/waforge.jsonand adds the verification meta tag to your home page. - Verify and check. Back in WaForge click Verify domain, add a product id and a search word as test values, then Run checks. When every row passes, the source is Active and the agent reads your shop live.
What the plugin shares #
- Published products and visible variations: name, price as displayed in your shop (with or without tax, following your WooCommerce setting), sale price, images, short description, categories.
- Stock: in stock, low stock (threshold in the plugin settings, default 3), out of stock, backorder.
- Order status, only when the customer's WhatsApp number matches the order's billing phone. Untick "Allow order status lookups" in the settings to turn this off.
It never shares customer addresses, emails or payment data.
Endpoints it serves #
| Address | Signed? |
|---|---|
/.well-known/waforge.json and /wp-json/waforge/v1/manifest | No |
GET /wp-json/waforge/v1/catalog/search | Yes |
GET /wp-json/waforge/v1/products/{id} (numeric WooCommerce id), /products/by-sku/{sku} | Yes |
POST /wp-json/waforge/v1/availability | Yes |
POST /wp-json/waforge/v1/orders/lookup | Yes |
Live updates #
With "Push stock, price and order changes to WaForge" ticked (the default), the plugin queues a signed event whenever stock changes, a product is edited or an order changes status. It uses Action Scheduler when WooCommerce provides it, otherwise WP-Cron, so checkout is never slowed down. WaForge then drops its cached copy and reads your shop live at the next question.
Rotating the secret #
Click New secret on your feed in WaForge, then paste the new value into Feed secret and the old one into Previous secret. The previous secret is accepted for 24 hours and then ignored; tick "Clear previous secret now" to drop it earlier.
If verification fails #
- Manifest 404: some hosts block
/.well-known/. Use the second addresshttps://YOUR-SHOP/wp-json/waforge/v1/manifest(shown in the plugin settings) as the manifest URL in WaForge. Saving Settings, Permalinks once also refreshes the rewrite rule. - 401 with a valid signature: a security plugin or firewall may strip the
WaForge-Signatureheader. Allow it for/wp-json/waforge/. - Custom order numbers (Sequential Order Numbers and similar): use the
waforge_find_orderfilter described in the plugin README.
Without WooCommerce the plugin still serves the manifest and the meta tag for domain verification.