$50 free credit for new accounts - ends in

Claim $50

Integration

An AI chatbot for Sanity that answers from your own content

Priya NairHead of Customer Experience
7 min readAug 20, 2026

Your team built a rich knowledge base in Sanity. Product guides, FAQs, policy pages – all structured, all up to date. Yet your support queue keeps filling with the same questions. Customers can’t find answers on their own, so they email or chat. Your agents repeat themselves all day. The content is there. It just isn’t doing the heavy lifting.

That gap hurts. It slows down replies, burns agent time, and leaves customers waiting. You need a way to put that Sanity content to work, answering questions the moment they come in. An AI chatbot that learns from your Sanity setup closes that gap. It turns static content into instant, helpful conversations.

Why Sanity content alone falls short

Sanity gives you a flexible home for all your support content. You can structure articles, add rich text, and keep everything in sync. But a knowledge base is passive. Customers have to search, scan, and hope they land on the right page. Many won’t try. They’ll just reach out.

Even with a great site search, people often phrase things in ways your content doesn’t match. They might ask “Can I change my plan after signup?” while your article is titled “Upgrading or downgrading your subscription.” The content exists, but the connection fails. A chatbot that understands plain questions and pulls from your Sanity content bridges that gap.

How an AI chatbot learns from your Sanity setup

You don’t need to move your content or rebuild anything. A tool like Chatref can read your Sanity-powered pages, uploaded docs, and even text files. It digests that information to become an expert on your business. Then it answers customer questions in your brand’s voice, using only what it learned from you.

You stay in control. When you update a guide in Sanity, the chatbot picks up the change. No extra step. The answers stay accurate because they come from your own words, not from a guess based on general internet knowledge.

This matters most when a wrong answer could upset a customer or break trust. The chatbot sticks to what you taught it. If it doesn’t know something, it can say so, rather than making something up.

Keep answers accurate with your own knowledge base

Chatref gives you a simple knowledge base that connects directly to your Sanity content. You point it to your site, upload a PDF, or paste in a doc. The agent learns the material and uses it to answer chats. No coding, no complex setup.

You can also add internal notes that aren’t public. For example, you might include a short explanation of a return policy nuance that only agents used to know. The chatbot can then share that detail with customers who ask.

The result: fewer repetitive tickets. Customers get the right answer in seconds, right on your site. Your team gets breathing room to handle trickier cases.

Let a human step in whenever you want

An AI chatbot handles routine questions well. But sometimes a customer needs a real person. Maybe the issue is sensitive, or the conversation gets stuck. Chatref lets a human agent jump into any live chat from a shared inbox.

You watch chats as they happen. You see the full conversation and can take over with one click. The customer doesn’t notice a handoff – they just get the help they need. This keeps the experience warm and personal, even when automation does most of the work.

Your team can also set the chatbot to hand off automatically when it senses confusion or a specific request. That way, no one gets left talking to a wall.

One agent across your website, Slack, email, and WhatsApp

Your Sanity content powers more than just your website. With Chatref, the same AI agent can answer questions on Slack, email, and WhatsApp. You manage one knowledge base, one set of answers, and one inbox.

This omnichannel approach means customers get consistent help no matter where they reach you. A question answered on WhatsApp gets the same accurate reply as one on your site. Your team doesn’t have to juggle separate tools or rewrite answers for each channel.

Go live in minutes with a simple snippet

Adding an AI chatbot to your Sanity-powered site takes one snippet of code. You paste it into your site’s header, and the chat widget appears. No developer needed beyond that initial step. The widget matches your brand – colors, logo, and tone – without extra code.

You can also customize the chat’s behavior. Set a welcome message, choose when the widget appears, and decide which pages it shows on. Everything works through a clean dashboard, so you don’t touch code again.

Pay only for what you use, no per-seat fees

Many support tools charge for every agent seat, even if those agents rarely log in. Chatref works differently. You pay for the conversations the AI handles, using prepaid credits. There are no per-seat fees. Your whole team can access the shared inbox, review chats, and step in when needed – without adding to the bill.

This keeps costs predictable. You scale up during busy periods and scale down when things are quiet. The pay-as-you-go model fits teams that want powerful automation without a heavy subscription.

Key takeaways

  • An AI chatbot turns your Sanity content into instant, accurate answers for customers.
  • The chatbot learns from your own pages and docs, so replies stay factual and on-brand.
  • A human agent can take over any chat at any moment from a shared inbox.
  • One agent works across your website, Slack, email, and WhatsApp, keeping answers consistent.
  • You pay only for what you use with prepaid credits, and there are no per-seat fees.

Frequently asked questions

Does the chatbot work with Sanity’s structured content? Yes. Chatref reads the text from your Sanity-powered pages, regardless of how the content is structured behind the scenes. It learns from what a visitor would see, so the answers match your public-facing information.

What happens if the chatbot gives a wrong answer? You can review chat transcripts and flag any answer that needs correction. You can also update the source content in Sanity, and the chatbot will use the new information going forward. Plus, a human agent can step in live to correct the record.

Can I control which Sanity content the chatbot uses? Absolutely. You choose which pages, docs, or files to feed into the knowledge base. You can exclude anything that isn’t relevant or isn’t ready for public answers.

Will the chatbot work in languages other than English? Yes. Chatref can help customers in 11 languages automatically. If your Sanity content is in one language, the chatbot can still answer questions in others, making it useful for a global audience.

Do I need a developer to set this up? No. Adding the chat widget to your site takes one snippet of code, which you can paste once. After that, you manage everything – content, appearance, and agent settings – from a simple dashboard.

Put your Sanity content to work. Let an AI chatbot answer questions instantly, while your team stays available for the moments that need a human touch. Start free and see how it fits your workflow.

Priya Nair · Head of Customer Experience

Priya has spent over a decade helping support teams answer faster and stress less. She writes about the day-to-day of great customer support and how AI can carry the load.

Try this in your own workspace.

The best way to learn is to build as you read. Start free and follow along.