This workflow follows the HTTP Request → OpenAI recipe pattern — see all workflows that pair these two integrations.
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 →
{
"name": "WhatsApp Order Agent Workflow",
"nodes": [
{
"id": "node-1",
"name": "WhatsApp Trigger",
"type": "n8n-nodes-base.webhook",
"parameters": {
"path": "whatsapp-webhook",
"method": "POST"
},
"position": [
100,
200
]
},
{
"id": "node-2",
"name": "AI Intent Analysis",
"type": "n8n-nodes-base.openai",
"parameters": {
"model": "gpt-4",
"prompt": "Analyze the user's message: {{ $node[\"WhatsApp Trigger\"].json[\"body\"][\"message\"] }}. Extract the product and quantity if they want to order something."
},
"position": [
300,
200
]
},
{
"id": "node-3",
"name": "Check Inventory",
"type": "n8n-nodes-base.httpRequest",
"parameters": {
"url": "https://api.inventory.local/check",
"method": "POST",
"bodyParameters": {
"product": "={{ $node[\"AI Intent Analysis\"].json[\"extracted\"][\"product\"] }}"
}
},
"position": [
500,
200
]
},
{
"id": "node-4",
"name": "Send WhatsApp Response",
"type": "n8n-nodes-base.whatsapp",
"parameters": {
"message": "Hello! We've received your order for {{ $node[\"AI Intent Analysis\"].json[\"extracted\"][\"quantity\"] }}x {{ $node[\"AI Intent Analysis\"].json[\"extracted\"][\"product\"] }}. We're processing it now!"
},
"position": [
700,
200
]
}
],
"connections": {
"node-1": {
"main": [
[
{
"node": "node-2",
"type": "main",
"index": 0
}
]
]
},
"node-2": {
"main": [
[
{
"node": "node-3",
"type": "main",
"index": 0
}
]
]
},
"node-3": {
"main": [
[
{
"node": "node-4",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
WhatsApp Order Agent Workflow. Uses openai, httpRequest, whatsapp. Webhook trigger; 4 nodes.
Source: https://github.com/hexray1/agentverse-ai/blob/ae2d41c4c3a281d1326a8367de0d23a415796dd6/flows/demo.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
N8N Workflow. Uses httpRequest, toolHttpRequest, memoryBufferWindow, lmChatGoogleGemini. Webhook trigger; 13 nodes.
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
Messenger. Uses agent, memoryBufferWindow, httpRequest, googleSheetsTool. Webhook trigger; 9 nodes.
n8n_workflow. Uses chatTrigger, httpRequest, agent, lmChatOpenAi. Webhook trigger; 8 nodes.
whatsapp ai penjadwalan. Uses googleCalendarTool, lmChatGoogleGemini, agent, httpRequest. Webhook trigger; 7 nodes.