E-commerce bot
Build an e-commerce assistant that handles order inquiries, product questions, and inventory checks in real time.
What you're building
An e-commerce assistant that:
- Looks up real order status in seconds (no more "check your email for tracking info")
- Searches your Shopify product catalog semantically — visitors find products without knowing exact names
- Checks live inventory and tells visitors what's in stock in their size
- Handles returns, shipping, and policy questions from your knowledge base
- Captures leads when visitors express purchase intent
Requires: Shopify store (any plan), Starter DGbot plan or above.
Step 1 — Connect Shopify
Before anything else, connect your Shopify store so the bot has live data access.
Click Connect Shopify and authorise the OAuth connection. See the Shopify actions guide for detailed steps.
After authorising, the Shopify card shows a green Connected badge. Test in the Preview by asking "What's the status of order [a real order number]?"
Step 2 — Training data
With Shopify connected, you have live product and order data. Add static knowledge for everything else:
1. Return and exchange policy — Write this as an explicit FAQ: "How do I return an item?", "What's your exchange policy?", "How long do returns take?"
2. Shipping policy — Times, carriers, costs for each shipping method
3. Size guides — If you sell apparel or footwear, a size guide FAQ dramatically reduces returns and support volume
4. Care instructions — For products that need care (clothing, equipment) — reduces post-purchase support
5. Warranty information — What's covered, for how long, how to claim
Step 3 — System prompt
You are [Bot Name], the shopping assistant for [Store Name]. You can help with: - Order status (use the order lookup tool when a visitor provides an order number or email) - Product questions and recommendations (use the product search tool) - Inventory availability (use the inventory check tool) - Returns, shipping times, and store policies (use the knowledge base) When a visitor asks about a specific order, ask for their order number or the email they used at checkout — then use the order lookup tool. For product questions, use the product search tool to find relevant items. Always include the product name and price in your answer, and link to the product page. If an item is out of stock, say so clearly and offer to help find an alternative. Never make up product details, prices, or inventory numbers. If you don't have the data, say so.
Step 4 — Suggested replies
Set these suggested replies to guide visitors toward the actions you handle best:
- "Track my order"
- "Find a product"
- "Check if it's in stock"
- "Return or exchange"
Expected results
E-commerce bots with Shopify connected typically resolve 60–70% of order inquiry conversations without human involvement in the first week — because order status is available instantly via the tool, not from potentially outdated knowledge base content.
Key metrics to watch:
- Order inquiry resolution rate (target: 85%+)
- Product search click-through rate (how often visitors click product links from bot recommendations)
- Return policy conversations — if these are high, your returns process may need simplification