Automating WhatsApp orders end-to-end with n8n
From incoming chat to ERP record — the full pipeline, with validation rules and a human fallback.
#Introduction
The client’s sales admins were retyping hundreds of WhatsApp orders a day into the ERP. Every order was a chance for a typo, and peak hours meant a backlog. The fix was not a new app — customers love WhatsApp — but a pipeline behind it.
#The pipeline
A webhook receives each incoming message. A parser extracts items, quantities, and the customer, then validation checks the catalog, price list, and credit limit. Clean orders are created in the ERP instantly.
#The human fallback
The most important design decision was admitting the parser would not be perfect. Roughly one order in ten needs a human eye — and because the review queue shows the original message next to the parsed result, review takes seconds, not minutes.
#Results
Manual entry dropped to near zero and order errors fell sharply in the first month. The admins finally get to do their real job — talking to customers instead of copying text.
Webhook (WhatsApp Cloud API) -> Parse: items, qty, customer -> Validate: catalog, price, credit limit -> OK? -> Create order in ERP -> else -> Human review queue (1-tap approve)