This workflow corresponds to n8n.io template #6242 — 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": "hOes6sURrkfATW8r",
"meta": {
"templateId": "5777"
},
"name": "Whatsapp Image generation",
"tags": [],
"nodes": [
{
"id": "d7a28ef5-499f-44f6-b07e-baad9c655c62",
"name": "Generate Image",
"type": "n8n-nodes-base.httpRequest",
"position": [
1616,
464
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "7d61ed5b-a176-4404-9cb1-cbef1ead9f51",
"name": "Generate prompt",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1136,
464
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "174c56fc-a0d0-4740-bcd6-532e63a307bd",
"name": "Structured Prompt",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1312,
640
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "612e2726-0641-4362-8e84-49b5efa978fd",
"name": "Convert to Image",
"type": "n8n-nodes-base.convertToFile",
"position": [
1952,
464
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "abeaddbe-2ba2-462f-b7d2-b8aae24f4a1c",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
736,
240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "303ecc4f-3759-462e-9430-23feb81a8943",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1056,
240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0444fb7e-b578-4575-9bf4-ae6100c21432",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1488,
240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "dec96747-332b-464b-82a8-604a82120603",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1840,
240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1b1af43f-7c73-42d2-8610-34e0950248f1",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
2192,
240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2b60768c-bd3a-4815-9553-a46e3a89875e",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
368,
240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0d39319b-7bb4-4335-88aa-741d0ffe0f4b",
"name": "Gemini 2.5 Pro",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1136,
640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "07530f42-48a4-4bf7-adb3-76ca4c4b5469",
"name": "WhatsApp Trigger",
"type": "n8n-nodes-base.whatsAppTrigger",
"position": [
832,
464
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b8248b0c-ccee-4266-af2c-c812dfec72c8",
"name": "Send Image",
"type": "n8n-nodes-base.whatsApp",
"position": [
2320,
464
],
"parameters": {},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"versionId": "5c335aee-c957-45ce-a096-18101ba823e8",
"connections": {
"Gemini 2.5 Pro": {
"ai_languageModel": [
[
{
"node": "Generate prompt",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Generate Image": {
"main": [
[
{
"node": "Convert to Image",
"type": "main",
"index": 0
}
]
]
},
"Generate prompt": {
"main": [
[
{
"node": "Generate Image",
"type": "main",
"index": 0
}
]
]
},
"Convert to Image": {
"main": [
[
{
"node": "Send Image",
"type": "main",
"index": 0
}
]
]
},
"WhatsApp Trigger": {
"main": [
[
{
"node": "Generate prompt",
"type": "main",
"index": 0
}
]
]
},
"Structured Prompt": {
"ai_outputParser": [
[
{
"node": "Generate prompt",
"type": "ai_outputParser",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
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 Gemini 2.5 Pro to craft a detailed, artistic prompt. It then uses Gemini 2.0 Flash…
Source: https://n8n.io/workflows/6242/ — 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.
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
kisisel asistan. Uses toolWorkflow, toolHttpRequest, toolCalculator, toolThink. Scheduled trigger; 43 nodes.
Wait Splitout. Uses whatsAppTrigger, whatsApp, httpRequest, memoryBufferWindow. Event-driven trigger; 35 nodes.
Wait Splitout. Uses whatsAppTrigger, whatsApp, httpRequest, memoryBufferWindow. Event-driven trigger; 35 nodes.
This n8n template demonstrates the beginnings of building your own n8n-powered WhatsApp chatbot! Under the hood, utilise n8n's powerful AI features to handle different message types and use an AI agen