Hi everyone
If you’re looking to automate WhatsApp orders — even when users send voice notes in any language — this one’s for you.
The Problem
We had clients receiving orders via WhatsApp in voice and text form, often in different languages. Manually understanding and processing them was time-consuming, error-prone, and hard to scale.
The Goal
-
Accept both voice notes and text via WhatsApp
-
Understand the message in any language
-
Extract the ordered items
-
Respond in the same language with confirmation prompts
-
No human needed
The Solution: n8n + 2Chat + OpenAI
We built this scenario in n8n, integrated with 2Chat (WhatsApp API) and OpenAI for transcription and content understanding.
Scenario Overview
Trigger
- Incoming WhatsApp messages hit a Webhook (via 2Chat).
Processing
-
If it’s a voice note → Download & Transcribe using Whisper.
-
If it’s a text → Send directly to OpenAI for parsing.
-
Detect language
-
Extract item names, quantities, and order intent
-
Generate a localized reply:
“You ordered: 3 apples, 1 milk. Do you want to confirm this order?”
Response
- Send smart reply back to the user using 2Chat API.
The Full Flow
Multilingual? Yes.
This setup works with any language:
-
Urdu, Arabic, Spanish, French, etc.
-
All processed using language detection + smart prompting
You don’t need to set any language manually — the system figures it out.
Why We Built This
Our goal was to:
-
Help small businesses take WhatsApp orders automatically
-
Support non-English speakers and voice-first users
-
Reduce back-and-forth and manual mistakes
-
Make it feel like a “real assistant” on the other end
Bonus
-
You can extend this to store order data in Airtable, Google Sheets, or even trigger delivery flows.
-
The language + AI layer is modular — easily reusable in other bots!
Let me know if you want help replicating it, or if you want to test the prompt logic.