AI-powered e-commerce customer support chatbot with GPT-4 & Supabase
Ready for 3.0What this workflow does
This AI workflow has 26 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Supabase and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
- Code: runs custom JavaScript code
- Switch: routes items into 4 branches
- Order Queries (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (getOrderStatus); memory: Simple Memory
- Recommendations (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (getProductRecommendations, getCategoryRecommendations); memory: Simple Memory
- AI Agent: runs an AI agent, with model: handle support tickets; 4 tools (Send, Code Tool, getTicketStatus, createSupportTicket); memory: Simple Memory
- Respond to Webhook: sends the response back to the webhook caller
- Respond to Webhook: sends the response back to the webhook caller
- Respond to Webhook: sends the response back to the webhook caller
- Respond to Webhook: sends the response back to the webhook caller
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 (10)
- AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Supabase Tool
n8n-nodes-base.supabaseTool - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Gmail Tool
n8n-nodes-base.gmailTool - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
This AI-powered customer support automation built in n8n handles your e-commerce queries instantly — from order tracking to personalized product recommendations and support ticket management. Features: - 🛒 Order Status Tracking: Instantly retrieve order…