Automate your logistics with
GSE-Web + n8n
Connect GSE-Web to n8n via the MCP protocol to create automatic workflows: stock alerts, scheduled reports, ERP synchronisation, order tracking — all without writing a single line of code.
alerte
auto
ERP
What is n8n?
n8n is an open-source automation platform that lets you create visual workflows connecting hundreds of applications — without coding. Think of it as a self-hosted Zapier.
Visual and no-code
Create complex automations by drag-and-dropping nodes. No coding required.
Self-hostable
Install n8n on your server. Your data stays with you, not with a third party.
400+ integrations
Email, Slack, Google Sheets, ERP, CRM, databases — and now GSE-Web via MCP.
How it works
The GSE-Web MCP server exposes your stock data via the MCP protocol (JSON-RPC 2.0 over HTTP). n8n connects to it like any other tool.
Technical principle
n8n starts the workflow (trigger: cron, webhook, or manual).
The MCP Client node calls authenticate with your GSE-Web credentials. The server returns a JWT and a session-id.
Subsequent nodes call the 42 available tools via the same session-id (stock, orders, alerts, movements...).
Results feed the action nodes: email, Slack, Google Sheets, webhook to your ERP, PDF...
Configuration in 4 steps
Connect GSE-Web to n8n in under 5 minutes.
Install n8n
If you do not have n8n yet, install it with one command:
docker run -it --rm --name n8n -p 5678:5678 \
-v n8n_data:/home/node/.n8n \
n8nio/n8n
# Ou via npm
npm install -g n8n && n8n start
You can also use n8n Cloud (hosted version, no installation needed).
Add the MCP Client node
In a new n8n workflow, add an "MCP Client" node and configure the MCP server URL:
Développement / Démo :
https://gse-web-dev.xlexe.com/api/mcp_remote.php
Production :
https://gse-web.xlexe.com/api/mcp_remote.php
Authenticate
The first MCP call must be authenticate with your GSE-Web credentials:
"tool": "authenticate",
"arguments": {
"server_url": "https://dev.gse-web.online/",
"username": "votre_login",
"password": "votre_mot_de_passe"
}
}
The session-id is automatically propagated by n8n to subsequent calls.
Call GSE-Web tools
Once authenticated, all 42 tools are accessible. Examples:
{ "tool": "get_stock_alerts" }
# Commandes fournisseurs du jour
{ "tool": "list_commandes_fournisseurs",
"arguments": { "date_from": "2026-04-15" } }
# Bons de reception en cours
{ "tool": "list_bons_reception",
"arguments": { "statut": "en_cours" } }
# Commandes clients en attente
{ "tool": "list_commandes_clients",
"arguments": { "statut": "en_attente_validation" } }
Workflow examples
Here are concrete use cases your teams can set up in minutes.
Stock out-of-stock alert
Every hour, check out-of-stock products and send an email to the logistics manager.
Weekly report
Every Monday, generate a report with the week's stats and send it by email or Slack.
ERP / Accounting sync
For each new validated customer order, push data to your ERP (Sage, Odoo...).
Goods receipt tracking
Monitor current receipt slips and notify when an order is fully delivered.
Google Sheets export
Export stock levels to a shared Google Sheet, updated automatically.
Automatic supplier order
When a product falls below the alert threshold, automatically generate a supplier order email.
42 available tools
All GSE-Web MCP server tools are usable in n8n. See full documentation ➔
3 tools — login, profile, servers
5 tools — search, levels, locations, categories
4 tools — entries, exits, movement slips
5 tools — create entries/exits, modify stock
3 tools — list, details, organisation
3 tools — alerts, dashboard, logs
3 tools — classes, scenarios, progress
2 tools — receipt slips, line details
2 tools — OMS portal orders, details
10 tools — supplier orders, expeditions, backlogs, stock-outs
2 tools — suppliers and customers
Security
The same security rules as the GSE-Web application apply.
JWT per session
Authentication mandatory. JWT expires automatically.
Organisation isolation
Each request is filtered by organisations_id. Impossible to access another client's data.
30 granular permissions
Write tools verify user permissions. Without the required permission, access is denied.
Rate limiting
60 reads/min, 10 writes/min per session. Protection against abuse.
Double/Triple SQL filter
Shared servers: id + org. Dedicated servers: id + org + name.
HTTPS mandatory
All communications are encrypted. No plain HTTP.
Ready to automate?
Test the n8n + GSE-Web connection for free on our demo environment.