This workflow corresponds to n8n.io template #4007 — we link there as the canonical source.
This workflow follows the Agent → Chat Trigger 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": "Chef Agent",
"tags": [],
"nodes": [
{
"id": "56aa794a-b56c-4bad-bce5-2023e3484230",
"name": "When chat message received",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
0,
-200
],
"parameters": {
"public": true,
"options": {}
},
"typeVersion": 1.1
},
{
"id": "36ae83d5-1656-42bc-8301-3ec8ea36dcf0",
"name": "Ollama Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"position": [
60,
200
],
"parameters": {
"options": {}
},
"credentials": {
"ollamaApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "bed02db2-6e9b-45a0-bee2-4227cd252154",
"name": "Simple Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
260,
160
],
"parameters": {
"contextWindowLength": 5000
},
"typeVersion": 1.3
},
{
"id": "cbc788b1-5143-44a5-a21e-62c90ab3b156",
"name": "Think",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
480,
160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "53377724-5115-40e1-b5d7-5af4e09ca94b",
"name": "Chef AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
220,
-100
],
"parameters": {
"options": {
"systemMessage": "You are a helpful cooking assistant. You will receive items that are available to make food with. Provide a list of 5 items to make. If there are recipes that include Ingredients that are not provided in the beginning, advise the user that these are ingredients that would be great to add in. Limit to 3 missing ingredients. "
}
},
"typeVersion": 1.9
},
{
"id": "1d34c56e-d41e-4b53-8cb4-8d07410b4acc",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
0,
0
],
"parameters": {
"path": "lets-cook",
"options": {}
},
"typeVersion": 2
},
{
"id": "a36e78ab-0959-4861-b28d-74e8aa58b5f0",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
580,
-100
],
"parameters": {
"options": {}
},
"typeVersion": 1.2
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "77c168d5-7976-4bdd-8800-51752be289fc",
"connections": {
"Think": {
"ai_tool": [
[
{
"node": "Chef AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "Chef AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Chef AI Agent": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "Chef AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Ollama Chat Model": {
"ai_languageModel": [
[
{
"node": "Chef AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "Chef AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
ollamaApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
The Chef Agent is your AI-powered kitchen companion—ready to turn leftover ingredients into meal inspiration. It's a simple, fun n8n automation that: Accepts a list of ingredients via webhook Uses Ollama AI to suggest 5 creative recipes or food ideas Recommends up to 3 missing…
Source: https://n8n.io/workflows/4007/ — 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.
NGSS Agent v2.2 github. Uses memoryBufferWindow, toolWorkflow, chatTrigger, agent. Chat trigger; 13 nodes.
A smart personal assistant that can reason, search, calculate, and remember — powered by Google Gemini and ready in one click.
A reasoning agent that can think, search, calculate, and remember — powered by GROQ inference and ready to deploy in one click.
This workflow dynamically chooses between two new powerful Anthropic models — Claude Opus 4 and Claude Sonnet 4 — to handle user queries, based on their complexity and nature, maintaining scalability
Ollama-Mssql-Workflow. Uses chatTrigger, lmChatOllama, memoryBufferWindow, agent. Chat trigger; 7 nodes.