AutomationFlowsData & Sheets › Order Management Workflow

Order Management Workflow

Order Management Workflow. Uses googleSheets. Webhook trigger; 7 nodes.

Webhook trigger★★☆☆☆ complexity7 nodesGoogle Sheets
Data & Sheets Trigger: Webhook Nodes: 7 Complexity: ★★☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Order Management Workflow",
  "nodes": [
    {
      "id": "Webhook_Order",
      "name": "Order Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        200,
        200
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "order-receive",
        "responseMode": "onReceived",
        "options": {}
      }
    },
    {
      "id": "Orders_Sheet",
      "name": "Google Sheets - Save Order",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4,
      "position": [
        500,
        200
      ],
      "parameters": {
        "operation": "append",
        "sheetId": "<<<\u0e43\u0e2a\u0e48 Spreadsheet ID>>>",
        "range": "Orders!A:D",
        "options": {
          "valueInputMode": "RAW"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "Stock_Check",
      "name": "Google Sheets - Stock Check",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4,
      "position": [
        800,
        200
      ],
      "parameters": {
        "operation": "lookup",
        "sheetId": "<<<\u0e43\u0e2a\u0e48 Spreadsheet ID>>>",
        "range": "Stock!A:D",
        "lookupColumn": "SKU",
        "options": {
          "returnAllMatches": true
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "IF_Stock",
      "name": "IF Stock Enough",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        1100,
        200
      ],
      "parameters": {
        "conditions": {
          "number": [
            {
              "value1": "={{$json[\"items\"][0][\"qty\"]}}",
              "operation": "smallerEqual",
              "value2": "={{$json[\"AvailableQty\"]}}"
            }
          ]
        }
      }
    },
    {
      "id": "TaxInvoice_Sheet",
      "name": "Google Sheets - Tax Invoice",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4,
      "position": [
        1400,
        50
      ],
      "parameters": {
        "operation": "append",
        "sheetId": "<<<\u0e43\u0e2a\u0e48 Spreadsheet ID>>>",
        "range": "TaxInvoice!A:E"
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "Delivery_Sheet",
      "name": "Google Sheets - Delivery",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4,
      "position": [
        1700,
        50
      ],
      "parameters": {
        "operation": "append",
        "sheetId": "<<<\u0e43\u0e2a\u0e48 Spreadsheet ID>>>",
        "range": "Delivery!A:C"
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "PurchaseOrder_Sheet",
      "name": "Google Sheets - Purchase Order",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4,
      "position": [
        1400,
        350
      ],
      "parameters": {
        "operation": "append",
        "sheetId": "<<<\u0e43\u0e2a\u0e48 Spreadsheet ID>>>",
        "range": "PurchaseOrders!A:E"
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Webhook_Order": {
      "main": [
        [
          {
            "node": "Orders_Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Orders_Sheet": {
      "main": [
        [
          {
            "node": "Stock_Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Stock_Check": {
      "main": [
        [
          {
            "node": "IF_Stock",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF_Stock": {
      "main": [
        [
          {
            "node": "TaxInvoice_Sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "PurchaseOrder_Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "TaxInvoice_Sheet": {
      "main": [
        [
          {
            "node": "Delivery_Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "id": "OrderFlow_v1133"
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Order Management Workflow. Uses googleSheets. Webhook trigger; 7 nodes.

Source: https://gist.github.com/Tannykub/9e9063b46351b8dd60d44e68e7100b4b — original creator credit. Request a take-down →

More Data & Sheets workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Data & Sheets

Track how many coffees your Jura E8 espresso machine makes — fully automated via webhook and Google Sheets.

Google Sheets
Data & Sheets

BARIN ALP - Inventory CRUD. Uses googleSheets. Webhook trigger; 9 nodes.

Google Sheets
Data & Sheets

Get Orders API. Uses googleSheets, errorTrigger. Webhook trigger; 8 nodes.

Google Sheets, Error Trigger
Data & Sheets

This workflow converts an exported CSV from Squarespace profiles into a Shopify-compatible format for customer import.

Google Sheets
Data & Sheets

Googlesheets Respondtowebhook. Uses respondToWebhook, googleSheets, stickyNote. Webhook trigger; 7 nodes.

Google Sheets