Templates / Transform chatbots into AI advisors with memory and real-time context

Transform chatbots into AI advisors with memory and real-time context

Ready for 3.0

by Yenire · 274 views · created 2026-01-21 · 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 AI workflow has 8 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model, Shopify and Postgres Chat Memory.

How it runs

Trigger: On Telegram events (message).

  1. Code: runs custom JavaScript code
  2. Get many products (Shopify): get many (product)
  3. AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Postgres Chat Memory
  4. Code: runs custom JavaScript code
  5. Send a text message (Telegram): uses Telegram

Services it uses

TelegramOpenAI Chat ModelShopifyPostgres Chat Memory

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

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

Excerpt from Yenire'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.