$50 free credit for new accounts - ends in

Claim $50

Setup

How to set up knowledge base for pharmacy hours location …

How to set up knowledge base for pharmacy hours location chat — answered from your own docs. How Pharmacies & Drugstores teams use Chatref (knowledge base, know

Chatref Team6 min read / Updated June 15, 2026

Answer patient calls about your pharmacy's hours and location automatically. Set up a knowledge base with your store details, drop the widget on your site, and let Chatref respond from your own content - no guessing, no hold times. This guide covers how to set up a knowledge base for a pharmacy hours location chat in minutes.

Before you start

You'll need your pharmacy's current hours (regular, holiday, and any seasonal exceptions), the full street address for each store, and ideally the URL of your location page or a PDF you already give patients. If you manage multiple stores, have each one's details ready. For an overview of how Chatref helps pharmacy teams, see Pharmacies & Drugstores.

You also need a Chatref account. Every new account starts with $50 in free credit, no credit card required. All features are included from the start - unlimited agents, the embeddable widget, and custom branding - so you can set up a dedicated hours-and-location bot without extra steps.

Step-by-step setup

1. Sign up and access the knowledge base

Go to app.chatref.ai and create your free account. Once inside, open the Knowledge Base section. This is where you'll upload the pharmacy details the agent will draw from.

2. Add your pharmacy information

Click Add source and choose how you want to provide your content. The fastest approach is a URL to your pharmacy's location or hours page. If you have a single page that lists all stores and their hours, point Chatref to that URL. If each store has its own page, add each one. You can also upload a PDF (like a store-operations guide), paste plain text, or point to a sitemap to pull in multiple pages at once.

The agent will answer only from what you add, so include enough detail. For each store, make sure the source clearly states:

  • Days and times the pharmacy is open
  • Street address, suite number, and any landmarks
  • Holiday hours if posted separately
  • Other location-specific notes (drive-through, after-hours drop-off)

If your hours change seasonally, add those details now. The knowledge base updates when you re-add or edit a source, so you can keep it current later.

3. Create and configure your AI agent

Go to Agents and create a new one. Name it something patients will recognize - "Maple Pharmacy Hours" or "Locations & Hours" works. Under Branding, set the primary color to match your pharmacy's brand so the widget feels like a native part of your site. No other configuration is needed; the agent automatically uses the knowledge base you just set up.

4. Get the website widget snippet

Open the Website Widget section. Copy the small snippet provided. It is a single script tag you'll paste into your pharmacy's website. No per-page changes are required - once placed, the chat button appears on every page where the snippet is present. The widget is origin-allowlisted so it will only work on domains you add. Make sure you add your website's domain (like maplepharmacy.com) in the widget settings; otherwise the chat button will not show.

5. Place the snippet on your site

If you manage the website yourself, paste the snippet just before the closing </body> tag in your site's main template. If your site is on a platform like Wix or Squarespace, paste it into the custom code or header field they provide. The change goes live as soon as you save and publish. The chat widget will appear at the bottom corner of every page, ready to answer location and hours questions.

Check it works

Open your pharmacy's website and click the chat button. Ask questions your patients typically phone in:

  • "What are your hours today?"
  • "Are you open on Sundays?"
  • "Where are you located?"
  • "What time does the drive-through close?"

The agent should answer with the exact hours and address you added, citing the source page or document. If it does not answer or gives a partial response, head back to the knowledge base and re-check the content - the agent may need more explicit wording for unusual edge cases (like "open until noon on Christmas Eve").

Test from a mobile phone too. The widget is responsive, but some older pharmacy websites may have layout conflicts. If the button overlaps other elements, try adjusting the widget's position setting inside the Chatref dashboard.

Also test using the Live Playground inside Chatref before the widget is live. The playground uses the same knowledge base, so you can fine-tune your content without waiting for a website update.

Common issues

The widget does not appear on my site. Check that the snippet is in the site's HTML and that you added the exact domain (including subdomain, like www.maplepharmacy.com) to the widget's allowlist. If your site uses a content security policy, you may need to add the widget's script source; Chatref provides the required domain - contact support if needed.

The agent gives the wrong hours or address. Look at the source content you added. If you uploaded a PDF that also lists old hours, the agent may serve from that. Remove outdated sources and add only the current version. If you have multiple pages for the same store, consolidate them into one clear page or document and re-add it; duplicate or conflicting information confuses the agent.

Patients ask about a specific store but get a generic answer. If you have multiple locations, each store needs its own source or at least a dedicated section in a combined document. Add a page per store and label each clearly with the store name and address. The agent matches the question to the most relevant content, so separate, well-labeled pages work best.

Holiday hours aren't being answered. Check whether your holiday hours are in the same source as the regular hours. The agent may need the holiday information to be explicitly stated in a separate paragraph or line. Adding a simple bullet list of holiday dates and their adjusted hours (e.g., "New Year's Day: 10am–2pm") often resolves this.

Answers feel too generic or "AI-like." The agent's tone comes from your content. If your content is written in a formal, marketing style, answers will sound that way. Rewrite your hours-and-location document in a friendly, direct tone - exactly the way your front-desk team would say it. The agent will pick up that voice naturally.

FAQ

What causes pharmacy hours location chat problems for Pharmacies & Drugstores?

Most issues come from incomplete source content. If the knowledge base does not include all stores, holiday hours, or clear phrasing, the agent cannot produce a correct answer. Other common causes are outdated pages still present, confusing multi-store setups where content is mixed, and widget scripting errors that prevent the chat button from loading. Regularly reviewing and refreshing the source content prevents nearly all of these.

How do I improve pharmacy hours location chat for Pharmacies & Drugstores?

Keep your knowledge base current: update it whenever hours change, add holiday closings promptly, and verify address details. Structure the content so each location has its own page or clearly defined section. Test the chat from your website weekly to catch drift. If you notice the agent fumbling over a common question, rewrite the corresponding content to be more direct - bullet points and short sentences work best.

Put this into practice

Chatref answers your customers from your own content, day and night. Add it to your site and go live in minutes – free to start.

Get started