Automate WooCommerce Product Management with n8n

Save time and reduce errors by automating product creation, updates, and retrieval in WooCommerce using n8n. This workflow handles inventory matters seamlessly, ensuring your online store stays current without manual hassle.
manualTrigger
wooCommerce
wooCommerce
Workflow Identifier: 1459
NODES in Use: Manual Trigger, WooCommerce

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Automation Does

This workflow automatically creates a product in WooCommerce, then updates its stock quantity, and finally fetches the updated product details. This saves time and avoids mistakes of doing these steps manually. The user gets a new product with correct inventory shown in WooCommerce right after running the workflow.

Every run inputs new product data, processes these in three steps, and outputs the full current product info.

  • Inputs: product details to create the product.
  • Processing: create product, update stock using the created product’s ID, then get product data.
  • Output: product info confirming changes made.

Tools and Services Used

  • n8n Automation Platform: runs and connects all nodes to process tasks.
  • WooCommerce API: receives commands to create, update, and retrieve products.

Who Should Use This Workflow

Anyone managing products in a WooCommerce store who wants to save time and avoid mistakes. It helps users who want to automate creating products and managing inventory.

It is useful when the user often inputs new stock or product updates. It is also good for beginners who want simple automation without coding.


Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Import the Workflow

  1. Click the Download button on this page to get the workflow file.
  2. Open the n8n editor, click on the main menu, and choose “Import from File”.
  3. Select the downloaded workflow file to load it inside n8n.

Step 2: Configure Credentials

  1. Find all WooCommerce nodes inside the workflow.
  2. Add your WooCommerce API Key and Secret in each node’s credential section.
  3. Make sure the keys have permission to create and update products in WooCommerce.

Step 3: Update Any IDs or Fields

  1. Check if any product IDs, emails, or channels need editing in the nodes, especially for real store use.
  2. Change product name, price, or description fields if you want different products.

Step 4: Test the Workflow

  1. Click on the Manual Trigger node called “On clicking ‘execute'”.
  2. Press “Execute Workflow” to run it once and see if new product gets created and stock updated.

Step 5: Activate for Production

  1. When testing works, toggle the workflow to active.
  2. Use the manual trigger to run whenever needed or connect to other triggers for automation.

For users interested in hosting options, consider self-host n8n.


Detailed Workflow Process

Input Step

The workflow starts with a manual trigger that begins the process on user command.

Process Steps

  1. Create Product Node: Sends product name, description, and price to WooCommerce API to make a new product.
  2. Update Stock Quantity Node: Takes product ID from creation step and sets stock quantity to 100 using API update command.
  3. Get Product Node: Uses product ID to request updated product data from WooCommerce for verification or further use.

Output Step

The workflow outputs full product details including the new stock amount. This information can be shown in n8n or sent to other systems.


Customization Ideas

  • Change product name, price, or description in the create node to match store catalog.
  • Make stock quantities dynamic by pulling quantity data from external sources or user input.
  • Expand the get product node to include more product attributes like reviews or metadata.

Troubleshooting

Invalid API credentials error

This means the WooCommerce API key or secret is wrong or permissions are missing.

Fix by regenerating proper API keys and checking credential settings in n8n.

Product ID not found during update

This happens if the first step failed or expression to get product ID is wrong.

Check that the create product node outputs a valid ID and the update node’s expression matches exactly {{$node["WooCommerce"].json["id"]}}.


Pre-Production Checklist

  • Verify WooCommerce API credentials and access permissions.
  • Run the workflow once manually and confirm product creation and stock updates.
  • Confirm all node connections and expressions use the correct product ID.
  • Make sure changes appear properly in WooCommerce admin panel.

Deployment Guide

Activate the workflow in n8n after tests succeed.

Run the workflow manually or connect to events like form submissions or scheduled triggers for automation.

Monitor the workflow runs in n8n and troubleshoot any errors using logs.


Summary

✓ Simplifies creating and updating WooCommerce products with fewer errors.

✓ Saves time by automating multiple steps into one workflow run.

→ Gives you a ready product in WooCommerce with correct stock data.

→ Provides a clear process that is easy to test, change, and expand as needed.


Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free