Track inventory levels with automated alerts — n8n Workflow

High complexity🔗 Webhook25 nodes🏷️ Project Managementby Manu

Overview

Receive inventory movements via webhook, validate data, update stock levels, and trigger automatic alerts when products need reordering.

WHAT IT DOES:

Accepts inventory movements (sales, purchases, adjustments, transfers) via webhook Validates required fields including product ID, quantity, and movement type Records each movement via REST API Retrieves current stock levels after each movement Compares stock against configurable reorder points Routes alerts by severity through Slack and email L

Nodes used

HTTP RequestSlackGmailCode

Workflow Preview

W
Webhook - Inventory Move…
Validate Movement
I
IF - Valid Movement
Format Validation Error
R
Respond - Validation Error
Prepare API Body
API - Record Movement
API - Get Current Stock
Check Stock Levels
A
Alert Router
Format Critical Alert
Slack - Critical Alert
Email - Critical Alert
Format Urgent Alert
Slack - Urgent Alert
Format Warning Alert
Slack - Warning Alert
N
No Alert Needed
Prepare Audit Entry
API - Log Audit Trail
Format Success Response
R
Respond - Success
E
Error Trigger
Format Error
Slack - Error Alert
25 nodes26 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a webhook trigger.

  2. 2

    Process

    Data flows through 25 nodes, connecting code, errortrigger, gmail.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (25)

HT

HTTP Request

httpRequest

#1
SL

Slack

slack

#2
GM

Gmail

gmail

#3
CO

Code

code

#4

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded track-inventory-levels-with-automated-alerts file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Track inventory levels with automated alerts", "nodes": [...], ...}

Integrations

codeerrortriggergmailhttprequestifrespondtowebhookslackswitchwebhook

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes25
Complexityhigh
Triggerwebhook

Created by

Manu

Manu

@manu

Tags

codeerrortriggergmailhttprequestifrespondtowebhookslackswitchwebhook

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →