Shopify Integration
Connect a Shopify store so the chatbot recommends products from your live catalog, never anything out of stock.
Connect your Shopify store on the chatbot's Shop page and Xara keeps a copy of your active catalog: titles, prices, stock, tags, descriptions and your own product fields, such as scent notes or occasions. The Product Recommendation node in your flow then picks from it, and only from products that are in stock.
Connecting your store
-
1Create an app for your storeIn Shopify's Dev Dashboard, create an app with read_products (and read_inventory for exact stock levels), leave "Embed app in Shopify admin" off, install it on your store, and copy its Client ID and Client secret. An Admin API access token from an older custom app works too.
-
2Open the Shop pageOn your chatbot's page, click Shop, choose Shopify as the store platform, enter your store's .myshopify.com address and paste the Client ID and Client secret (or the access token).
-
3Check the product linksXara finds each product's page in your site's sitemap, also when one page covers several sizes or sets of the same product. The product link pattern ({site}/products/{handle} by default) is used when your site has no sitemap, and picks the language when a page exists in several, for example {site}/en/products/{handle} for an English chatbot. The synced product list shows each product's link; a product with no page on your site is never recommended.
-
4Connect and syncXara checks the access with your store, shows which permissions it has, and syncs your catalog straight away. The list of synced products shows exactly what the chatbot can recommend.
-
5Add the node to your flowIn the flow editor, add a Product Recommendation node where visitors ask for suggestions, for example after an Intent Router route about products.
How stock is kept accurate
- Your catalog syncs every 15 minutes, and whenever you click Sync now.
- Only products that are active and for sale are offered, and you can hide products at or below a stock level you choose in the node.
- Before showing anything, the chatbot asks your store again about the products it picked, so an item that sold out since the last sync is never shown.
- If the app can't read inventory, the chatbot uses Shopify's "available for sale" status instead of exact stock numbers.
What the recommendation looks like
- Up to three products, best match first, each with one short reason based only on that product's own details.
- A product card for each, with picture, price, stock status and a button to the product page on your site.
- Nothing invented: the AI can only choose from your synced, in-stock products, and anything else it suggests is discarded.
- One version per product: when a scent comes in several sizes or sets, only the best fitting one is shown.
- Follow-ups work: "something cheaper" or "another one" are judged against the products already shown in the conversation.
- Product cards stay in the conversation, also after the visitor reloads the page.
- Store guidance in the node lets you steer it, for example "suggest the Trio set when two or more scents fit".