🛒 E-commerce Product Search
Goal: Allow visitors to search your store’s products directly in chat.
🧩 Example Flow
User: “Show me iPhones under 2000 USD.”
AI detects intent and triggers the searchProducts API action.
Action sends a request to:
GET https://api.mystore.com/v1/products?query=iphone&max_price=2000Your API returns product data in JSON format:
[ { "id": 101, "name": "iPhone 14", "price": 1890, "currency": "USD", "image": "https://cdn.mystore.com/images/iphone14.jpg" } ]Ainisa displays the result using a Product Card UI Template in the web chat widget.
🧠 Tip
You can further customize how results look by configuring
Custom API UI Templates for your product search action.