This workflow corresponds to n8n.io template #4858 — we link there as the canonical source.
This workflow follows the Chainllm → HTTP Request 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 →
{
"id": "exfELP1QbgPmWdJN",
"name": "Whatsapp Health ai chatbot using llm chain",
"tags": [],
"nodes": [
{
"id": "fe70fcaa-6777-4473-951b-8324e2310bfc",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1000,
20
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8329bab1-05d3-4bfe-85cf-60572fc064c9",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1220,
40
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "3a8c62a0-c77f-43a9-9dd4-8ee6f853280e",
"name": "WhatsApp Message Received",
"type": "n8n-nodes-base.whatsAppTrigger",
"position": [
-200,
30
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fdb01ad3-95af-4d9a-9b95-0f4c5fd71504",
"name": "Get whatsapp image",
"type": "n8n-nodes-base.whatsApp",
"position": [
600,
-120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "81f2902d-5d28-475c-a306-f03f76545e0a",
"name": "Download Image",
"type": "n8n-nodes-base.httpRequest",
"position": [
820,
-120
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "07695d33-e3d9-4ea8-b817-922a5dbf1dbb",
"name": "Send Response to client",
"type": "n8n-nodes-base.whatsApp",
"position": [
1560,
40
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3923ef57-0cb4-4c7f-810b-943e4307283f",
"name": "Generate Response from text",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1040,
280
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "61838d8b-7f25-4bcb-94e2-3cdce4670023",
"name": "Generate Response from Image and caption",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1040,
-220
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "d5f97550-7af4-45c3-8a71-de5eb1ab6f0c",
"name": "Check if message contains image",
"type": "n8n-nodes-base.switch",
"position": [
140,
40
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "5199d85d-3ac7-46a3-b59e-f199b6412b97",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
-100
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f309b561-64c4-48ab-aad2-123523819cc3",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
-140
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "de2b17c7-9157-4722-aa2c-90ab959462b2",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
520,
-260
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "440689db-0477-4496-aa6f-9a1b378db7fc",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1000,
-360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2123977d-04d2-414d-a42a-095f33e6dc3b",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
980,
260
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "841bdcf9-89dd-4a58-b413-bd0b2c21b390",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1480,
-80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6c9cda64-ad08-4b77-bdd6-a19f866fbf35",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
-300
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a5c6d07c-508b-4cd6-b596-77cf7dd634d3",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1140,
-760
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"versionId": "79a0f1c9-4007-456f-8dba-31e02c9949b8",
"connections": {
"Download Image": {
"main": [
[
{
"node": "Generate Response from Image and caption",
"type": "main",
"index": 0
}
]
]
},
"Get whatsapp image": {
"main": [
[
{
"node": "Download Image",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "Generate Response from Image and caption",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Generate Response from text",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Generate Response from Image and caption",
"type": "ai_outputParser",
"index": 0
},
{
"node": "Generate Response from text",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"WhatsApp Message Received": {
"main": [
[
{
"node": "Check if message contains image",
"type": "main",
"index": 0
}
]
]
},
"Generate Response from text": {
"main": [
[
{
"node": "Send Response to client",
"type": "main",
"index": 0
}
]
]
},
"Check if message contains image": {
"main": [
[
{
"node": "Get whatsapp image",
"type": "main",
"index": 0
}
],
[
{
"node": "Generate Response from text",
"type": "main",
"index": 0
}
]
]
},
"Generate Response from Image and caption": {
"main": [
[
{
"node": "Send Response to client",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Transform your WhatsApp into a professional nutrition consultant with this comprehensive AI-powered dietitian assistant. Built using n8n automation and Google Gemini AI, this workflow provides instant, intelligent nutrition advice to your clients 24/7.
Source: https://n8n.io/workflows/4858/ — 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.
This workflow listens for incoming WhatsApp messages from clinic staff, uses Google Gemini to extract prescription details, generates a prescription PDF via an HTML-to-PDF API, uploads it to a public
This workflow transforms your WhatsApp into a personal AI image generation studio. Simply send a text message with your idea, and this bot will use the advanced prompt engineering capabilities of Gemi
kisisel asistan. Uses toolWorkflow, toolHttpRequest, toolCalculator, toolThink. Scheduled trigger; 43 nodes.
Powertech Whatsapp. Uses whatsAppTrigger, whatsApp, httpRequest, googleGemini. Event-driven trigger; 36 nodes.
Wait Splitout. Uses whatsAppTrigger, whatsApp, httpRequest, memoryBufferWindow. Event-driven trigger; 35 nodes.