How to Connect n8n to WooCommerce: The Complete Integration Guide (2025)
WooCommerce turns WordPress into a full store — and because it exposes a clean REST API, n8n can automate everything from order routing to product enrichment. This guide covers the complete 2025 connection, including the WordPress-specific gotchas that trip people up.
Step 1 — Generate WooCommerce REST API keys
In WordPress, go to WooCommerce → Settings → Advanced → REST API and click Add key. Give it a description, choose a user with admin rights, and set permissions to Read/Write. WooCommerce generates a Consumer Key and Consumer Secret — copy both now.
Step 2 — Add the credential in n8n
Create a WooCommerce API credential. Enter your site URL (with https://), the Consumer Key, and the Consumer Secret. If your host blocks query-string auth, n8n falls back to HTTP Basic Auth over HTTPS — which is why an SSL certificate is mandatory here.
Step 3 — Triggers and actions
The WooCommerce Trigger node registers a webhook on your store. Watch topics like:
order.createdandorder.updatedproduct.created/product.updatedcustomer.createdcoupon.created
The regular WooCommerce node handles CRUD on orders, products, and customers — perfect for bulk updates and syncs.
⚡ Skip the build: Bulk Product Description Generator (Shopify & WooCommerce)
Generate on-brand, SEO-ready descriptions for hundreds of WooCommerce products in one run.
High-value WooCommerce automations
Order → accounting + Slack
On order.created, push the invoice data to your accounting tool and drop a sale notification in Slack with the order total and items.
Post-purchase review request
Wait 7 days after an order is completed, then email the customer a review link — only if they haven’t already reviewed.
Inventory sync across channels
When stock changes in WooCommerce, mirror it to your marketplace listings so you never oversell.
Bulk product enrichment
Loop over products missing descriptions or meta tags and generate them with AI, then write them straight back via the API.
WordPress-specific gotchas
- Permalinks: the REST API needs “pretty permalinks” enabled (Settings → Permalinks) or you’ll get 404s.
- Security plugins: Wordfence and similar can block the WooCommerce webhook — whitelist your n8n IP.
- Webhook delivery: check WooCommerce → Settings → Advanced → Webhooks to confirm delivery status if a trigger goes quiet.
FAQ
Self-hosted or WordPress.com? WooCommerce requires the Business plan on WordPress.com, or any self-hosted install — both expose the REST API.
Why is my trigger not firing? Re-save the WooCommerce Trigger node to re-register the webhook, and confirm the store URL has no trailing slash issues.
Ready to automate this?
Don’t rebuild it from scratch. Bulk Product Description Generator (Shopify & WooCommerce) is a production-ready n8n workflow you can import in minutes — credentials in, activate, done.