← All ShelfBot Guides
E-Commerce Engineering Updated 2026-12-01 · 5 min read

How to Add a Shopify Returns & WISMO Chatbot Without Monthly Credit Traps (2026 Guide)

If you run a Shopify or WooCommerce store, two kinds of tickets probably fill most of your inbox: "Where is my order?" (WISMO) and "How do I return this?" Both are repetitive and policy-bound, so they suit automation well. The way most store owners automate them, though, is through legacy monthly credit-based platforms, and that model gets expensive as you grow.

This guide covers the architecture of a returns and WISMO chatbot that you pay for once, run on infrastructure you control, and that answers only from your own policies.

The Problem With Monthly Credit Models

Legacy monthly credit-based platforms usually charge a recurring subscription that includes a fixed number of message credits. That causes three problems:

  • Your costs go up as you grow. A busy BFCM week or a delayed carrier can use up a month of credits in a few days.
  • The overage pricing is hard to predict. Extra credits are often sold in blocks at a markup over the raw AI model cost.
  • You don't own the setup. Your prompts, conversation logs, and integrations stay on their servers.

For a support workload that is mostly predictable and policy-driven, paying a recurring fee per conversation is hard to justify.

The Zero-Monthly-Fee Architecture

A lean returns and WISMO bot needs four parts. Here is how ShelfBot puts them together.

1. A 4.7KB Async Script

The widget loads from one script of about 4.7KB that uses the async attribute:

<script async src="https://your-worker.example.workers.dev/widget.js"></script>

Because it is async, it doesn't block rendering. It shouldn't affect your Largest Contentful Paint, and your theme, checkout, and Core Web Vitals stay as they are. On Shopify you paste it into theme.liquid just before the closing body tag. On WooCommerce you can add it with any header/footer snippet plugin or through your child theme.

2. Grounded-Only FAQ JSON

Hallucination is the biggest risk with AI support bots. A bot that makes up a 60-day return window when your policy says 30 days creates a liability. ShelfBot answers only from a structured FAQ JSON file that you write and control: your return window, condition rules, restocking fees, exchange process, and shipping timelines. If a question falls outside that file, the bot says it doesn't know and offers a handoff to a person. It never guesses.

You can also version this JSON file in git, review it like any other content, and update it the day your policy changes.

3. Cloudflare Workers Free Tier With BYOK

The backend runs as a Cloudflare Worker. The Workers Free plan includes a daily request allowance that covers the support volume of most small and mid-sized stores. You bring your own key (BYOK) for the language model provider you choose. That means:

  • You pay the model provider's raw per-token rate directly, with no credit markup.
  • Your API key lives in Worker secrets, not in a third party's database.
  • You can switch models or providers without moving to a new platform.

Because grounded FAQ answers are short, the per-conversation token cost is typically a fraction of a cent.

4. One-Click Human Handoff (CSV or Webhook)

Some conversations need a person, such as damaged items, chargebacks, or upset customers. With one click the customer can escalate, and the bot captures the transcript and contact details. You choose where the handoff goes:

  • CSV export for stores that work through tickets in batches.
  • Webhook to post straight into your helpdesk, Slack channel, or email automation.

Your existing support process stays the same. The bot filters out routine questions and sends the rest to your team.

EU AI Act Article 50 Disclosure

Article 50 of the EU AI Act requires that people be told when they are interacting with an AI system, unless that is obvious from context. Its transparency obligations apply from August 2026. If you sell to EU customers, your chatbot needs a clear disclosure. ShelfBot shows an AI disclosure notice at the start of every conversation by default, and you can edit the wording to match your brand voice. Get your own legal advice on your overall compliance position. The disclosure itself is built in and cannot be accidentally turned off.

Which Bot Do You Need?

Most stores start with one of two specialized configurations:

Many stores run both, because returns and WISMO questions often show up in the same conversation.

Getting Started

Setup takes four steps. Write your FAQ JSON, deploy the Worker with your API key, paste the script tag, and choose your handoff destination. There are no message credits to track and no surprise overage invoices. See ShelfBot pricing for the current one-time options.

Frequently Asked Questions

Will a 4.7KB async script slow down my Shopify store?

It shouldn't. The async attribute lets the browser keep rendering while the script loads, so your theme, checkout, and Core Web Vitals are not blocked. Always check with your own PageSpeed test after installing.

What happens if a customer asks something not covered in my FAQ JSON?

The bot is grounded only in your FAQ JSON, so it won't make up an answer. It tells the customer it doesn't have that information and offers a one-click handoff to your team through CSV export or webhook.

Do I really pay nothing per month?

There is no monthly subscription or credit bundle from ShelfBot. The Worker runs on Cloudflare's Workers Free plan, which covers most small and mid-sized stores, and you pay your chosen AI model provider directly at their per-token rates through your own API key. Very high-traffic stores may need a paid Cloudflare plan.

Deploy a Pre-Hardened ShelfBot Kit in 10 Minutes

Every $19 kit ships with grounded FAQ JSON, deterministic security guardrails, EU AI Act Art. 50 disclosure badge, 4.7KB async widget, and zero monthly credit fees.

Try Live Sandboxes Now → Buy Any Bot Kit — $19 Compare Plans