Build a private Llama chatbot with Ollama, Groq, Slack and Google Sheets
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Set Llama Config (Edit Fields (Set)): sets 14 fields: sessionId, userMessage, userId…
- Load Memory and Build Request (Code): runs custom JavaScript code
- Call Llama Model (HTTP Request): calls an HTTP API (POST)
- Parse Reply and Update Memory (Code): runs custom JavaScript code
- Log Conversation Turn (Google Sheets): append
- Check Escalation Flag (If): checks a condition and branches into true / false
- Send Chatbot Reply (Respond to Webhook): sends the response back to the webhook caller
- Alert Slack Escalation (HTTP Request): calls an HTTP API (POST)
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
This workflow builds a fully private, self-hosted AI chatbot using Meta Llama models. Unlike cloud-based AI APIs, every conversation stays on your infrastructure — no data leaves your environment. The chatbot remembers conversation history per session, routes…