Shopping Assistant with Long-Term Memory
A store chatbot that remembers each customer's preferences and past conversations. It recommends products, checks orders and handles returns in a natural way.

On this page
How it works
- A customer chats with the assistant.
- Long-term memory recalls their past interactions.
- Orders, inventory and the return policy are read from Google Sheets.
- A personalized answer is generated.
Use cases
- Fashion and lifestyle stores
- Repeat-purchase brands
- Personal shopping experiences
What you need
This workflow connects to these apps.
- n8n
- OpenAI
- Zep Memory
You'll need an n8n instance, on n8n Cloud or self-hosted, and these credentials. Our credentials guide shows how to create each one.
- Google Sheets account
- OpenAI account
- Zep account
Data setup
Create these tables with these exact column names before the first run.
| Table | Columns |
|---|---|
| Shopping Assistant → Order TrackingGoogle Sheets | Columns are in the README. |
| Shopping Assistant → Product DetailsGoogle Sheets | Columns are in the README. |
| Shopping Assistant → Return PolicyGoogle Sheets | Columns are in the README. |
Setup
- Download the JSON and import it into n8n with Import from File, or copy it and paste it onto an empty canvas. The import guide walks through both.
- Connect the credentials listed above.
- Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
- Replace placeholder emails, phone numbers, and form links with your own.
- Times use the America/New York timezone and dates use MM/DD/YYYY. Change them if you need to, then test and activate. The setup guide covers this step by step.
Nodes
| Node | Type |
|---|---|
| AI Agent | agent |
| OpenAI Chat Model | lmChatOpenAi |
| When chat message received | chatTrigger |
| Zep | memoryZep |
| Get_Orders | googleSheetsTool |
| Get_Inventory | googleSheetsTool |
| Get_ReturnPolicy | googleSheetsTool |
Frequently asked questions
A store chatbot that remembers each customer's preferences and past conversations. It recommends products, checks orders and handles returns in a natural way. It's a 8-node n8n workflow.
An n8n instance, on n8n Cloud or self-hosted, and credentials for Google Sheets, OpenAI, and Zep. It uses only nodes that ship with n8n, so there's nothing else to install.
It works with 3 tables in Google Sheets. Create them with the column names listed under Data setup on this page before the first run.
Download the JSON, then in n8n create a new workflow, open the menu in the top right, and choose Import from File. You can also copy the JSON and paste it onto an empty canvas.
Yes. It's free to download, import, and change, with no sign-up. You only pay for the apps it connects to, where those aren't free on your plan.



