The business problem
E-commerce support teams often spend time answering repeated questions, checking order status, routing complex issues and reconstructing previous conversations. A support assistant also needs to avoid answering unrelated questions or exposing order details to an unverified visitor.
Project objective
Demonstrate a support workflow that combines retrieval-augmented generation (RAG) with live order data, relevance checks, identity verification and human handoff.
How the workflow operates
Customer message
A visitor sends a message through the Lovable chat website connected to n8n.
Relevance check
The query is checked against the fictional brand’s supported topics. Out-of-scope questions receive a polite redirect.
Knowledge retrieval
In-scope questions trigger a Pinecone vector search over the business playbook PDF.
Order intent and verification
For order-status requests, the submitted Order ID and email must match the Google Sheets orders table.
Answer or hand off
Gemini uses retrieved context to answer supported questions. Unresolved issues are routed to Billing, Technical or General support.
Conversation logging
Messages, responses, timestamps, sessions and escalation details are recorded in Google Sheets.
Workflow architecture
The following sequence summarizes the documented components. Actual node-level configuration and event payloads are available in the linked technical resources where provided.
Implementation decisions
Ground answers in approved content
The knowledge-base playbook supplies the context for policy and product questions.
Verify before retrieving orders
Order ID and email must match before order information is retrieved.
Route unresolved issues to people
Billing, Technical and General support paths provide a human handoff.
Maintain reviewable conversation logs
Session and escalation fields are recorded for later review.
What this demonstrates
The build demonstrates these operational capabilities. They are design objectives and workflow behaviors—not measured client outcomes.
Technology stack
Tools documented for this implementation:
Limitations and next validation steps
- Lumora Home is a fictional demonstration brand, not a real customer deployment.
- The knowledge base must be maintained and re-indexed when policies change.
- Order ID plus email matching is a demo verification step; a real deployment may require stronger authentication.
- Test relevance thresholds, retrieval quality and escalation rules using representative questions.
- Do not let the assistant invent policies, order details or delivery promises outside connected sources.
Explore the build
These are the demo, code, workflow and documentation links recorded for this project.