Workflow: Manual Woocommerce Create

Workflow Details

Download Workflow
{
    "id": "187",
    "name": "Create, update and get a product from WooCommerce",
    "nodes": [
        {
            "name": "On clicking 'execute'",
            "type": "n8n-nodes-base.manualTrigger",
            "position": [
                220,
                300
            ],
            "parameters": [],
            "typeVersion": 1
        },
        {
            "name": "WooCommerce",
            "type": "n8n-nodes-base.wooCommerce",
            "position": [
                430,
                300
            ],
            "parameters": {
                "name": "n8n Sweatshirt",
                "imagesUi": {
                    "imagesValues": []
                },
                "metadataUi": {
                    "metadataValues": []
                },
                "additionalFields": {
                    "description": "Stay warm with this sweatshirt!",
                    "regularPrice": "30"
                }
            },
            "credentials": {
                "wooCommerceApi": "woocommerce"
            },
            "typeVersion": 1
        },
        {
            "name": "WooCommerce1",
            "type": "n8n-nodes-base.wooCommerce",
            "position": [
                630,
                300
            ],
            "parameters": {
                "operation": "update",
                "productId": "={{$node[\"WooCommerce\"].json[\"id\"]}}",
                "updateFields": {
                    "stockQuantity": 100
                }
            },
            "credentials": {
                "wooCommerceApi": "woocommerce"
            },
            "typeVersion": 1
        },
        {
            "name": "WooCommerce2",
            "type": "n8n-nodes-base.wooCommerce",
            "position": [
                830,
                300
            ],
            "parameters": {
                "operation": "get",
                "productId": "={{$node[\"WooCommerce\"].json[\"id\"]}}"
            },
            "credentials": {
                "wooCommerceApi": "woocommerce"
            },
            "typeVersion": 1
        }
    ],
    "active": false,
    "settings": [],
    "connections": {
        "WooCommerce": {
            "main": [
                [
                    {
                        "node": "WooCommerce1",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "WooCommerce1": {
            "main": [
                [
                    {
                        "node": "WooCommerce2",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "On clicking 'execute'": {
            "main": [
                [
                    {
                        "node": "WooCommerce",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

RAG Workflow For Stock Earnings Report Analysis
View
Splitout GoogleCalendar Send Webhook
View
Sync Todoist tasks to Notion
View
HTTP Gitlab Automation Webhook
View
Create, update and get records in Quick Base
View
Social Media AI Agent - Telegram
View
n8n Subworkflow Dependency Graph & Auto-Tagging
View
Manual HTTP Monitor Webhook
View
Email form
View
Wait Slack Monitor Webhook
View