Online shoppers ask the same questions again and again: how long is delivery, what is the return policy, is this in stock, does it fit. A chatbot can answer many of these at any hour. Adding a chatbot to a Shopify store means placing one script tag in your theme so the widget appears on your storefront pages. This guide covers the steps, the safety checks and, importantly, what ConvoRail does and does not do for a shop today.
What Should You Know Before You Start?
ConvoRail is a website chatbot that answers from the knowledge you give it: your Q&A pairs and your website content. It installs with one script tag. It does not currently connect to your Shopify admin, so it cannot look up an individual customer's order, check live stock or change an order. Connecting to your own systems is on the roadmap as "Smart Actions" and is not live today.
That shapes what you teach it. It should answer policy and product questions from your published information, and hand order-specific questions to your team through the shared inbox.
How Do You Add the Script to a Shopify Theme?
- 1Copy your script tag from your ConvoRail account settings. It includes your API key, so copy it exactly.
- 2Duplicate your live theme first. In your Shopify admin, open the Online Store themes area and make a copy, so you can restore it if something goes wrong.
- 3Open the code editor for the copy and find the main theme layout file, usually called theme.liquid.
- 4Paste the tag just before the closing `</body>` tag, or in the head if you prefer.
- 5Save and preview the theme copy. Check that the launcher appears and works.
- 6Publish the copy when you are happy, or repeat the edit on the live theme.
Shopify changes its admin and themes over time, so menu names may differ from this description. Check Shopify's current help documentation if something looks different. Different themes also store layout code in different places.
Will the Widget Show on Checkout Pages?
Do not assume it will. Shopify controls checkout differently from your storefront, and what you can add there depends on your plan and Shopify's current rules. A script added to theme.liquid appears on storefront pages, such as the homepage, collections, product pages and your policy pages. Verify checkout behaviour in Shopify's documentation or with Shopify support if it matters to you.
What Should You Teach a Shopify Store Chatbot First?
| Topic | Example questions | Chatbot or team |
|---|---|---|
| Shipping | How long is delivery? Do you ship internationally? | Chatbot, from your shipping policy |
| Returns and refunds | Can I return a sale item? How long do refunds take? | Chatbot, from your published policy |
| Sizing and product details | Does it run small? What is it made of? | Chatbot, from your product information |
| Payment and discounts | Do you accept this payment method? Is there a first-order discount? | Chatbot, if the offer is current |
| Order status | Where is my order? | Chatbot explains how to track, team handles specifics |
| Damaged or wrong item | My item arrived broken. | Team, via handoff |
For detailed question lists, read what an online store chatbot should answer and how to write return and refund policy answers. For delivery wording, see shipping and delivery questions.
How Should the Chatbot Handle "Where Is My Order?"
Because ConvoRail cannot look up orders today, write an answer that helps without pretending to. Explain where tracking information is sent, how long delivery usually takes, and what to do if it has not arrived by then. Then offer the in-chat contact form so your team can check the specific order. The visitor's name, email and phone arrive attached to the conversation in your shared inbox.
Pro Tip: Never let a chatbot guess an order status. A wrong delivery promise causes more complaints than a polite handoff does.
How Do You Test It Before Customers See It?
- 1Preview the theme copy on desktop and on a phone.
- 2Ask your shipping, returns and sizing questions in your own words.
- 3Ask a question you did not write an answer for and confirm the bot declines to guess.
- 4Ask for a person and check that a teammate can reply from the inbox.
- 5Test a product page, a collection page and your policy pages.
Use the pre-launch testing checklist for a complete run-through, and check page speed before and after using this measurement guide.
What Can Go Wrong After a Theme Change?
Switching or updating a theme can remove code you added to theme.liquid. After any theme change, check that the widget still appears. Keep a note of where you placed the script tag so you can re-add it quickly. Seasonal sales also change policies and delivery cut-offs, so use the seasonal update checklist to keep answers current.
What Do Good Answers for a Shopify Store Look Like?
These are generic examples to adapt, not real policies.
- Shipping: "We ship within 2 working days. Standard delivery then takes about 3 to 5 working days. Free shipping applies above the amount shown at checkout."
- Returns: "You can return unworn items within 30 days with proof of purchase. Start a return from the Returns page and we will send the next steps."
- Sizing: "Our sizing chart is on each product page. If you are between sizes, we suggest the larger one. Leave your email if you would like a person to advise."
- Order status: "You will receive a tracking email when your order ships. If it has not arrived by the end of the estimated window, leave your name and email and our team will check."
Check every number against your own store settings before you publish. For a fuller question list, see what an online store chatbot should answer.
What Should You Watch in the First 30 Days?
- Unanswered questions: add answers for any question that repeats.
- Handoffs: note how many conversations need your team and how quickly you reply.
- Ratings: read low-rated conversations and fix the answer behind each one.
- Message usage: compare it to your plan's monthly allowance so you can plan an upgrade before you reach the limit.
Conclusion
To add a chatbot to a Shopify store, duplicate your theme, paste the ConvoRail script tag before the closing body tag in theme.liquid, preview it and publish. Teach it your shipping, returns and product answers, hand order-specific questions to your team, and re-check the widget after any theme change. ConvoRail does not connect to Shopify orders today.
Key takeaways
- A Shopify chatbot installs by adding one script tag to your theme, usually in theme.liquid.
- Duplicate your theme first so you can restore it if needed.
- ConvoRail does not currently connect to Shopify orders or stock; connecting to your systems is on the roadmap.
- Teach shipping, returns, product and payment answers, and hand order-specific questions to your team.
- Re-check the widget after theme changes and verify checkout behaviour in Shopify's documentation.
Quick Summary
Adding a chatbot to a Shopify store means copying your ConvoRail script tag into your theme, usually before the closing body tag in theme.liquid, after duplicating the theme as a backup. The widget then answers shipping, returns, product and payment questions from the knowledge you provide. ConvoRail does not currently connect to Shopify orders or stock, so order-specific questions go to your team through the shared inbox, and the widget should be re-checked after any theme change.
Want to see grounded answers on your own site?
Start free, add your Q&A pairs and paste one script tag. No credit card required.

Founder & CEO
Writes about grounded AI chatbots for websites: how they work, how to measure them and what to check before you buy.
Topics
Get new posts by email
Guides on AI chatbots for websites, straight to your inbox.
