younifyd
Shopify

Shopify AI Shopping Assistant

This template sets up a complete shopping assistant for your Shopify store. It includes a search index for your active products, with AI-written shopper questions for each product. The assistant suggests similar products and items often bought together, based on your store's order history. It manage…

Installs: 1 AI assistant · 1 search index · 1 MCP server · 4 workflows

Install freeTalk to an engineer

Overview

This template sets up a complete shopping assistant for your Shopify store. It includes a search index for your active products, with AI-written shopper questions for each product. The assistant suggests similar products and items often bought together, based on your store's order history. It manages the shopper's cart and can create single-use discount codes for offers. The assistant appears on your website, helping shoppers find products and manage their cart. It uses the search index and recommendation sets to suggest products, and the cart workflow to handle cart operations. The Promotions workflow creates discount codes and marks them redeemed when used.

What it does

AI-Powered Product Search

Find products by brand, category, color, size or price.

Personalized Recommendations

Suggest products that go with, or are similar to, what the shopper is looking at.

Cart Management

Add, update, remove and view items in the shopper's cart.

Single-Use Discount Codes

Create discount codes for offers and mark them redeemed when used.

AI Shopping Assistant

Help shoppers find products and manage their cart on your website.

What's included

Everything below is created in your account together, already wired to each other, and fully editable after install.

AI assistant

Shopping Assistant

Helps shoppers find products in your Shopify store and manages their cart.

“Hi! What are you shopping for today?”

Shoppers can start with

What's new?Show me your best sellersSomething under 50What's in my cart?
Search index

Shopify Products

Active products from your Shopify store, with variants and prices.

Understands meaning across

titledescriptionbrandcategorytags

Also set up

AI-written shopper questions
MCP server

Shopify Shopping Assistant

Product search, recommendations and cart for your Shopify store.

Tools AI agents can call

  • Search products · shows a product grid
  • Recommend products · shows a product grid
  • Best sellers · shows a product grid
  • Get Product By ID · shows a product grid
  • Get product questions
  • Add to cart · shows a cart
  • Update cart · shows a cart
  • Remove from cart · shows a cart
  • View cart · shows a cart
  • Apply discount code · shows a cart
  • Remove discount code · shows a cart
  • Suggest for cart · shows a product grid
Workflow

Search

Search, describe, bulk sync, webhook sync and price loading for the Shopify Products index.

11 endpoints

Search productsGet Product By IDDescribe indexSync all productsSync product (webhook)Sync order historyRecord order (webhook)Set up webhooksLoad pricesGet product questionsProduct questions
Workflow

Recommend

Suggest products that go with, or are similar to, the products a shopper is looking at or has in their cart.

2 endpoints

Recommend productsBest sellers
Workflow

Cart

Add to, update, remove from and view the shopper's Shopify cart (Storefront API).

7 endpoints

Add to cartUpdate cartRemove from cartView cartApply discount codeRemove discount codeSuggest for cart
Workflow

Promotions

Creates single-use Shopify discount codes for the offers the shopping assistant gives, and marks an offer redeemed when an order uses its code.

3 endpoints

Issue discountRedeem on paid order (webhook)Set up webhook

Works with: Search & Discovery, Shopify, Recommendations, Shopify Storefront, Promotions

Setting it up

Before installing, get your Shopify admin API credentials with the required scopes. After installing, set the required variables:

  1. Add your Shopify admin API credentials to shopify_admin.
  2. Set admin_api_key to a secure string for API calls.
  3. Choose how far back orders_history_days reads paid orders.
  4. Turn allow_test_orders on to record test orders for recommendations, then off for production.
  5. (Optional) Add extra product fields with extra_product_fields.
  6. Add your Shopify storefront API credentials to shopify_storefront.
  7. Turn enable_promotions on to let the assistant give offers.
  8. Set code_prefix for the discount codes the assistant creates. Note: The Set up webhooks route in the Search workflow and the Set up webhook route in the Promotions workflow run automatically on setup.

Shopify Admin API CredentialsRequired

Needs read_products, read_inventory, read_orders and write_discounts scopes.

Admin API KeyRequired

Callers of the sync, price and webhook-setup routes send this in the x-api-key header.

Orders History DaysRequired

How far back Sync order history reads paid orders, to feed Frequently bought together.

Allow Test OrdersRequired

When on, test orders (placed with Shopify's test gateway) are recorded for recommendations.

Extra Product Fields

Your own product data to add to search, such as metafields.

Shopify Storefront API CredentialsRequired

Needed for cart operations.

Enable PromotionsRequired

When on, the assistant can give shoppers offers.

Code PrefixRequired

Every code the assistant creates starts with this.

Install Shopify AI Shopping Assistant today

14-day free trial, no credit card required. Install the template, add your credentials, and you're live.

Try for FreeBrowse all templates