Transform chatbots into AI advisors with memory and real-time context
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.
Nodes used (7)
- Code
n8n-nodes-base.code - Telegram Trigger
n8n-nodes-base.telegramTrigger - Telegram
n8n-nodes-base.telegram - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Shopify
n8n-nodes-base.shopify - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat
What it does
How it works • Receives a user message from a chat • Uses an LLM node to understand user intent and generate a response • Retrieves and stores conversation memory in a database (Supabase) • Fetches real-time product or business data from an external API (e.g. Shopify) • Applies custom logic to ensure a consistent, human-like tone • Sends a contextual response back to the user Set up steps • Import the workflow into n8n • Create and connect the required credentials (LLM, database, API) • Configure environment variables and placeholders • Adjust the prompt and logic to your specific business needs • Test the workflow using sample user messages