{
  "workflow": {
    "id": 847,
    "name": "Create, update and get a product from WooCommerce",
    "views": 10131,
    "recentViews": 0,
    "totalViews": 10131,
    "createdAt": "2020-12-25T04:39:39.755Z",
    "description": "This workflow allows you to create, update, and get a product from WooCommerce.\n\n![workflow-screenshot](fileId:350)",
    "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
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 11,
    "workflowInfo": {
      "nodeCount": 4,
      "nodeTypes": {
        "n8n-nodes-base.wooCommerce": {
          "count": 3
        },
        "n8n-nodes-base.manualTrigger": {
          "count": 1
        }
      }
    },
    "status": "published",
    "readyToDemo": null,
    "user": {
      "name": "Harshil Agrawal",
      "username": "harshil1712",
      "bio": "A former n8n employee, passionate about Automation and AI. Building something fun, shoot me a message, I love to chat!\nIn my free time, I also help folks on their n8n journey. So if you need help, let's chat :)",
      "verified": true,
      "links": [
        "https://harshil.dev"
      ],
      "avatar": "https://gravatar.com/avatar/1060ec3113fdd8cafb191f3728c0ac39436b3cd46be4dd518923e242fb708ef1?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 42,
        "icon": "fa:play",
        "name": "n8n-nodes-base.start",
        "codex": {
          "data": {
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/",
                  "icon": "🧬",
                  "label": "Why business process automation with n8n can change your daily life"
                },
                {
                  "url": "https://n8n.io/blog/why-i-chose-n8n-over-zapier-in-2020/",
                  "icon": "😍",
                  "label": "Why I chose n8n over Zapier in 2020"
                },
                {
                  "url": "https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/",
                  "icon": "📈",
                  "label": "Automatically pulling and visualizing data with n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-to-use-the-http-request-node-the-swiss-army-knife-for-workflow-automation/",
                  "icon": "🧰",
                  "label": "How to use the HTTP Request Node - The Swiss Army Knife for Workflow Automation"
                },
                {
                  "url": "https://n8n.io/blog/sending-sms-the-low-code-way-with-airtable-twilio-programmable-sms-and-n8n/",
                  "icon": "📱",
                  "label": "Sending SMS the Low-Code Way with Airtable, Twilio Programmable SMS, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/automating-conference-organization-processes-with-n8n/",
                  "icon": "🙋‍♀️",
                  "label": "Automating Conference Organization Processes with n8n"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.start/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0"
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Start",
          "color": "#00e000"
        },
        "iconData": {
          "icon": "play",
          "type": "icon"
        },
        "displayName": "Start",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 298,
        "icon": "file:wooCommerce.svg",
        "name": "n8n-nodes-base.wooCommerce",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.woocommerce/"
                }
              ],
              "credentialDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/credentials/woocommerce/"
                }
              ]
            },
            "categories": [
              "Sales"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0"
          }
        },
        "group": "[\"output\"]",
        "defaults": {
          "name": "WooCommerce"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyOC4yLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxODMuNiA0Ny41IiBzdHlsZT0iZW5hYmxlLWJ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OWMtNS4xLDAtOC42LTMuOC04LjYtOS4xczMuNS05LjIsOC42LTkuMnM4LjYsMy45LDguNiw5LjJTMTEzLjgsMzIuOSwxMDguNiwzMi45eiIvPg0KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xNTkuNywwYy0xMy41LDAtMjMuOSwxMC4xLTIzLjksMjMuOHMxMC40LDIzLjcsMjMuOSwyMy43czIzLjktMTAuMSwyMy45LTIzLjdTMTczLjIsMCwxNTkuNywweiBNMTU5LjcsMzIuOQ0KCQljLTUuMiwwLTguNS0zLjgtOC41LTkuMXMzLjQtOS4yLDguNS05LjJzOC42LDMuOSw4LjYsOS4yUzE2NC45LDMyLjksMTU5LjcsMzIuOXoiLz4NCjwvZz4NCjwvc3ZnPg0K"
        },
        "displayName": "WooCommerce",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 2,
            "name": "Sales"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 39,
        "name": "CRM"
      }
    ],
    "image": [
      {
        "id": 350,
        "url": "https://f000.backblazeb2.com/file/n8n-website-images/e15ee7de99664152b526906680eae2ee.png"
      }
    ]
  }
}