Fynd.chat
Features Integrations Pricing Blog Knowledge base Live demo
nl en
← All articles

· Blog · 9 min read

Embed an AI product advisor in your webshop

One script tag and a solid catalog source: Fynd goes live without a native plugin. How to prepare sync, embed, and launch.

Illustration of the Fynd embed widget on a storefront

How to embed an AI product advisor on your webshop

An AI product advisor should do more than answer “what does this cost?” It should help a shopper decide between similar products, clarify important trade-offs, and lead them to a product page with confidence. That is where an embedded Fynd widget can support an ecommerce team. It lives on your existing storefront while drawing answers from the catalog and content you choose to make available.

The actual embed is deliberately straightforward. The preparation is where the work is. A script tag cannot compensate for an incomplete catalog, unreliable stock data, or unclear shipping rules. Before adding a chatbot to Shopify, WooCommerce, or a custom storefront, make sure it has trustworthy information to retrieve. The most useful product advisor is specific when it knows the answer and transparent when it does not.

This guide covers prerequisites, catalog setup, installation patterns, playground testing, launch checks, privacy, and the errors that make otherwise promising deployments underperform.

Make the catalog ready for advice

Fynd grounds responses using retrieval-augmented generation, often called RAG. That means the quality of the answer depends heavily on the material available to retrieve. Product titles and prices alone are rarely enough to answer a buying question. Shoppers need the details that determine fit: dimensions, materials, compatibility, variants, care, intended use, and limits.

Review these fields before connecting your source:

  • A precise product title, brand, and category.
  • Descriptions that include real decision criteria rather than only promotional copy.
  • Variant attributes such as size, color, capacity, SKU, dimensions, and bundles.
  • Price and availability, plus a clear policy for unavailable variants.
  • Stable product URLs that the widget can recommend.
  • Current pages for shipping, returns, warranties, and support.

For example, “Which backpack works as carry-on and fits a 16-inch laptop?” cannot be answered reliably from a name and an image. The source needs dimensions, laptop-compartment size, and, where appropriate, a cautious note that airline rules vary. Similarly, “most comfortable” is too subjective to retrieve unless the catalog describes the material, fit, padding, and use case behind that claim.

Keep factual attributes close to the product record. Use buying guides and FAQs for interpretation and comparison. This split makes updates easier: a new price or variant belongs in the feed or API, while an explanation of how to choose a size belongs in editorial content.

Connect sources before you install the widget

The widget is visible to the shopper, but its useful knowledge comes from the sources connected to the Fynd bot. A common setup combines a sitemap with a product feed or API. The sitemap supplies readable public pages; the feed or API supplies structured, frequently changing commerce data.

Use your sitemap for product pages, collections, buying guides, policies, and help pages. Blog posts marked with BlogPosting or Article structured data are valuable because they often explain selection, maintenance, and use cases that a feed cannot express. Exclude search-result pages, account pages, tag archives, expired campaign pages, and duplicate URLs. More pages do not automatically mean better retrieval.

Use a feed for fields such as SKUs, variants, prices, stock, product links, and images. Choose an API integration when your assortment changes frequently or when you need field-level control over synchronization. Add custom FAQs for information that is not represented on public pages, such as a concise compatibility rule or a B2B purchasing condition. Keep these FAQs factual, dated, and owned by someone who can update them.

A sensible source plan is:

  1. Sitemap for products, collections, policies, and evergreen guides.
  2. Feed or API for product facts and changing commerce fields.
  3. Articles for pre-purchase education and comparison context.
  4. Custom FAQs only for important gaps that cannot be sourced elsewhere.

Wait for the catalog to finish processing and validate it in the Fynd playground before exposing the widget to visitors.

Add the Fynd script once

When your bot is configured, Fynd provides an embed snippet for that specific bot. Always copy the current snippet from the Fynd dashboard. Do not reuse a test bot snippet, a snippet from another shop, or an old deployment note. The bot identifier, allowed domains, and options must match the environment you are about to publish.

An embed typically resembles the following:

<script
  src="https://app.fynd.ai/widget.js"
  data-bot-id="your-bot-id"
  async
></script>

Treat the dashboard version as authoritative; the exact URL and attributes can vary by configuration. Add it once, usually immediately before the closing </body> tag. Loading it asynchronously helps avoid delaying initial page rendering.

Do not add the same snippet through both a tag manager and theme code. That can create duplicate launchers, duplicated analytics events, or inconsistent open/close behavior. If a consent-management platform prevents scripts from loading until consent is recorded, agree with your privacy owner on the appropriate category and verify the behavior for both consent states.

Shopify installation options

For Shopify, an app embed or the active theme layout are common installation paths. An app embed is useful when non-developers need to enable or disable the integration from the Theme Editor. A direct theme-code change gives a development team explicit control, but it should be included in theme update and deployment practices.

For a manual theme change:

  1. Duplicate the live theme first.
  2. Open layout/theme.liquid in the duplicate.
  3. Insert the Fynd snippet just before </body>.
  4. Use the theme preview instead of publishing immediately.
  5. Test product pages, collections, cart, mobile, and desktop.

Check each storefront locale and market. A multilingual store may need a bot that can answer in the visitor’s language, sources for that language, or a deliberate fallback. Also confirm that recommended links keep the visitor in the correct market rather than sending them to a default domain or currency.

WooCommerce and custom storefront installation

With WooCommerce, add the snippet through a child theme, a trusted header/footer extension, or the tag manager that is already part of your release process. Avoid editing a parent theme directly because its next update can remove your change. Purge page and CDN caches after publication; a cached old layout is a common reason a valid install appears not to work.

For a custom storefront, place the script in the shared document layout, server-rendered shell, or root application template. Single-page applications normally need the script only once in the document template. Test client-side route changes nonetheless: the launcher should remain present without being initialized again, and it must not sit behind a modal, mobile navigation, or cookie banner.

If your deployment process supports it, guard the configuration behind an environment variable or feature flag. That lets you enable the production bot on staging first and perform a clean rollback. Keep the bot ID in one configuration location instead of copying it into unrelated components.

Test content in the Fynd playground

The playground is not just a technical smoke test. It is where you evaluate whether the advisor has useful boundaries and retrieves the right evidence. Build a small acceptance set from real support tickets, onsite searches, sales calls, and product reviews. Avoid tests written only by people who already know the catalog.

Include questions such as:

  • “What should a beginner choose?”
  • “I need something waterproof, lightweight, and under $100.”
  • “How does this model compare with that one?”
  • “Will this accessory fit my existing product?”
  • “What are the return conditions?”
  • A question whose answer is absent from your sources.

For each, define what a good answer should contain. Check product names, links, variant qualifications, and tone. Most importantly, verify that the bot says it cannot verify a missing fact instead of inventing one. It should not make absolute delivery promises, guarantee stock, or claim a product is suitable for a regulated or medical use unless your approved source explicitly supports that statement.

If an answer is weak, inspect the source first. A missing specification, unclear duplicate page, or stale policy is more often the cause than a prompt that is too short.

Go-live checklist

Before enabling the widget for all visitors, check the whole customer experience:

  • The correct Fynd bot is linked to the production domain.
  • Catalog sources have completed successfully and recent changes are synced.
  • Recommended links point to the correct domain, locale, and product.
  • Welcome copy, tone, and the fallback response match your brand.
  • The launcher works on phone, tablet, and desktop.
  • It does not cover checkout controls, cookie notices, or accessibility controls.
  • Consent handling and privacy disclosures have been reviewed.
  • The team knows where leads, conversations, and analytics appear.
  • Someone owns regular review of unanswered questions and source updates.
  • A fast rollback exists through the snippet or feature flag.

Consider launching first on product and collection pages. That keeps the first scope focused on high-intent shoppers and makes results easier to interpret. The 14-day Fynd Starter trial is a practical period for validating the catalog, embed, and actual visitor questions on a live storefront.

Common implementation mistakes

The most common mistake is publishing the interface before the catalog is ready. The bot will look available but answer in generic language. Another is indexing every URL without curation. Expired offers, old articles, duplicate products, and internal search pages introduce conflicting context. Select useful pages and maintain that selection.

Teams also overextend the bot’s role. A product advisor does not need to resolve every order-status request, legal question, or account issue. Define what it does well, when it should link to support or a policy, and what claims it must never make. Clear boundaries improve shopper trust and make gaps visible.

Finally, do not judge success only by conversation count. Fynd analytics can surface recurring topics, lead activity, product interest, and questions that fail to receive a useful response. Those are inputs for better product data and content, not merely dashboard numbers.

Privacy and responsible operation

An AI widget processes conversations, so visitors need a clear explanation of what it does and where the privacy policy is available. Ask for personal data only when it is necessary. If you collect leads, explain which fields are requested, why they are needed, and how consent is recorded.

Review your processing agreement, retention rules, subprocessors, and consent configuration with the people responsible for privacy and security in your business. Do not place order data, customer profiles, secrets, or internal documents into a publicly accessible bot source without suitable access controls. Product knowledge makes an advisor helpful; unnecessary personal data does not.

Improve after launch

Embedding is the beginning, not the finish. Review conversations and analytics regularly, group questions that lack a good answer, and fix the missing source before adding more generic instructions. Enrich a feed with product facts, publish a buying guide for a repeated decision, or add a tightly scoped custom FAQ when appropriate.

Use the 14-day Starter trial to establish that feedback loop. Afterward, choose the Fynd plan that matches how broadly you operate the advisor: Starter for the first deployment, Growth for a growing operational program, and Pro when scale, additional bots, or governance requirements increase. The script is one small integration; dependable AI advice comes from ongoing source quality, clear limits, and learning from real shoppers.

All articles →