Templates / Build a private Llama chatbot with Ollama, Groq, Slack and Google Sheets

Build a private Llama chatbot with Ollama, Groq, Slack and Google Sheets

Ready for 3.0

by Oneclick AI Squad ✓ · 136 views · created 2026-03-02 · Support Chatbot, AI Chatbot

Ready 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.

  1. Set Llama Config (Edit Fields (Set)): sets 14 fields: sessionId, userMessage, userId…
  2. Load Memory and Build Request (Code): runs custom JavaScript code
  3. Call Llama Model (HTTP Request): calls an HTTP API (POST)
  4. Parse Reply and Update Memory (Code): runs custom JavaScript code
  5. Log Conversation Turn (Google Sheets): append
  6. Check Escalation Flag (If): checks a condition and branches into true / false
  7. Send Chatbot Reply (Respond to Webhook): sends the response back to the webhook caller
  8. Alert Slack Escalation (HTTP Request): calls an HTTP API (POST)

Services it uses

Google Sheets

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)

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…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.