Skip to content

Add knowledge

Knowledge is what the agent grounds its answers in: Sources for unstructured material, Facts for the questions people ask most, Things for the structured catalog, and Business info for the structured facts about the business itself. The concept is covered in Capabilities; this guide is about building all four. They live in the agent's Knowledge area, under Sources, Facts, Things, and Business info.

Sources

A Source is material the agent answers from: an uploaded file or an imported website page. Upload policy pages, pricing explanations, marketing copy, internal reference. For the handful of questions people ask most, write Facts instead; the agent treats those as the answer rather than as passages to retrieve. On every turn, Anychat retrieves the passages most relevant to what the user said and supplies them to the agent, which grounds its answer in them instead of improvising. The agent cites public sources where appropriate and does not reveal internal file names or Source identifiers.

Documents are prose the agent reads, so AML markup in one is not rendered. To control how something is presented — a card, a carousel, a picture — put the copy in a Message Template or a Fact answer and name it from a Playbook.

Add a Source three ways: upload a file, import a page by URL, or paste text (a title plus the body copy, useful for content that doesn't live on a page of its own). A URL Source keeps the page it came from and can be refreshed on demand — re-fetching and re-indexing it in place, without deleting and re-adding it, so links to it (and its id) stay stable. Refresh only applies to URL Sources; uploads and pasted text have no page to re-fetch. Every write is also available through the API and the MCP server — upload is console-only, since the write path expects a file. Opening a Source shows the indexed text — what the agent actually retrieves from, not necessarily the original file's formatting.

Importing from a website

Point the importer at a public website and it crawls the relevant pages into Sources. This is the fastest way to seed a new agent: an import typically captures services, pricing, and company background in one pass, and a page of frequently asked questions (schema.org FAQPage data) becomes Facts rather than a Source. If the site publishes machine-readable business hours, the import also fills the agent's contact-availability line with them (only when you haven't set one yourself). Review what arrived: a crawl picks up what the site says, which is not always what you want the agent to say.

An import into an agent with no Things also makes them from what the site lists: menu items, drinks, services, treatments, up to 40. Each takes its name from the site, and where the site states a price it is in the Thing's description. Items the site lists under a heading go into a collection named for that heading, when the heading has two items or more and you have made no collections yourself. A site that lists more than 40 items gets its first 40.

What makes Sources work well

  • Curate for the agent's job. A support agent needs troubleshooting content; a sales agent needs offering and pricing content. Material outside the job adds retrieval noise.
  • Prefer prose the agent can quote. Pages written for humans work; slide-deck fragments and tables of unlabeled numbers retrieve poorly.
  • Keep it current. The agent answers from what's here, including anything stale.

Facts

A Fact is a question and the answer you have confirmed. Where Sources are material the agent retrieves from and paraphrases, a Fact is the answer itself: on every turn the agent reads every enabled Fact as authoritative, matches the question in any wording, and keeps every detail, number, and price exactly as written. The questions people ask most are answered your way, whatever the agent has learned from Sources. A list of 5 to 30 entries is typical; the cap is 200.

Write a Fact rather than a Source when the answer is short and must not drift: a price, a cancellation policy, what to bring to a first visit, whether you take walk-ins. Leave long-form material (a full policy page, a product guide) in Sources, where retrieval pulls the relevant passage.

An answer can carry AML, so a verified answer is not limited to prose. Chips, a card, a carousel and image:<id> media references all render the same way they do in a Message Template:

We're open 9 to 5, Monday through Friday.
[[chips: Get directions | Book a visit]]

How the agent reads the list depends on its size. Up to about 40 short entries (a 3,000-token budget) the agent sees all of them on every message. Above that it sees the 8 most relevant to each message, and the rest stay searchable. An Always include Fact is never dropped by that budget or ranking, and a Fact scoped to specific Playbooks rides only while one of them is active. Every Fact is also indexed alongside the Sources, so an agent with only Facts and no Sources still has something to search, and the search ranks Facts ahead of Source passages.

Each entry has:

  • Question: the canonical wording. The agent matches the same question in any phrasing, so write it the way a customer would say it.
  • Answer: plain text you have confirmed. By default the agent works the answer into its reply in its own voice.
  • Exact: send the answer word for word instead of rephrasing it. Use it for prices, policies, and legal or medical wording where the exact text matters.
  • Also asked as: other ways people phrase the question. Alternates sharpen matching and are never shown to the person. Click Suggest wordings to have the console propose some, then keep the ones that fit.
  • Enabled: switch an entry off to keep it without using it.
  • Always include: put this Fact in every conversation regardless of ranking or budget. Use it for the handful of details that must never drop out of view: hours, address, a policy you want flagged every time it's relevant.
  • Only in Playbooks: restrict this Fact to the Playbooks you pick, so it rides only while one of them is active. Leave it empty and the Fact is available under every Playbook.
  • Valid from and Valid until: the dates an answer is true, for one that holds only for a while ("The patio is closed for repairs until December 1"). Outside those dates the agent doesn't use the Fact, and you don't need to remember to switch it off. Until then the agent says how long the answer holds. The dates are in the business's timezone, from Business info. Leave both empty for an answer that's true until you change it.

Every Fact you save is confirmed. Once the Knowledge inbox ships, Facts proposed from an import will arrive unconfirmed and sit out of use until you confirm them; nothing today produces an unconfirmed Fact.

Website import turns any FAQ page it finds (schema.org FAQPage data) into Facts instead of a Source. Imports that ran before this change left a website-faq.html Source behind; it is untouched. Convert it with one click from its row on the Sources page (or through the API): each question/answer pair joins the list with source "import", questions you already have are kept as they are, and the Source stays until you delete it.

Two checks show whether the list is doing its job. The API reports per-Fact usage from the agent's turn traces (the last 30 days by default, up to 90): how often each Fact was asked, how often an Exact answer went out word for word, and how often it was reworded instead. Every Fact is listed, so one that nobody asks stands out. Under Test in the console, or through the API and the MCP server, generate a Fact coverage suite: one Test case per enabled Fact and wording, each checking the live agent's reply against the confirmed answer. Re-run it after editing an answer; the cases refresh in place.

Behavior lint checks the list. It warns about placeholder answers, duplicate questions, and contact details that differ from what Identity holds (keep phone numbers and email addresses in Identity, so there is one place to change them), and it notes when the list has outgrown the always-in-view budget. Facts are part of the agent's export document (capabilities.knowledge.facts; older exports and hand-written documents may still use the historical faqs key, which imports the same way) and can be carried by an agent template.

Things

A Thing is one record in your catalog: a product, a restaurant, a rental, a room, a service, anything the agent should present as its own card rather than a paragraph of prose. Each entry carries a name, description, and picture, plus optional links and metadata. The agent uses the catalog three ways:

  • It presents Things as rich cards, with pictures and links, on channels that support them.
  • It answers questions about a Thing from the catalog entry before reaching into Sources.
  • It records a person's interest against the catalog, so People records and reports use your Thing names, not free text.

Write descriptions as you'd want the agent to say them: the entry is agent-facing copy, not an internal SKU record.

You never have to make something a Thing. A restaurant that turns up through an imported Source still renders as a card when the agent talks about it. Making it a Thing is how you control exactly how that card looks: which picture, which links, which details show.

Pictures

A Thing's picture comes from the agent's Media library: pick an uploaded item and the agent shows it wherever the Thing appears. Entries created before Media existed, or added through the API without one, fall back to a raw image URL stored on the entry itself.

Actions

An action is a labelled button on the card. A Thing carries up to four, and each does one of four things:

  • Link opens a web page: Book a table, View menu, See availability. On RCS it opens in a panel over the conversation, so the customer is back in the thread when they close it. A link to a map, an app, a sign-in or a file opens in the browser. To choose for one link, use the menu beside its address: a panel at three quarters, half or full height, or the browser. Opens: automatic leaves it to Anychat. The API has the same choice (openIn).
  • Call dials a phone number: Call the front desk. Type the number in any usual format; a number without a country code is read as a US number.
  • Reply sends the button's label back to the agent as if the person had typed it: Book this, Tell me more. The agent also learns which card was tapped, so three cards can each carry a Book this button. To send the agent something other than the label, fill in the optional reply text.
  • Map opens the Thing's location in the phone's maps app: Directions, Find us. Add a location to the Thing first.

On a channel that can't show a button, a link, call or map shows as text with the address, number or map link, so nothing is lost.

Location

A Thing that is somewhere, such as a marina, a restaurant or a trailhead, can carry its location. Type the address, or paste a Google Maps link or a latitude and longitude. When you save, Anychat finds the place and pins it, and the Thing shows Pinned on the map with a link to check the pin in Google Maps. If the address can't be found, saving tells you so you can correct it. Use business address fills in the address from Business info.

The agent also knows each Thing's address, so it can answer "where is it?" without a separate FAQ.

Set no actions and the classic product page URL field still works: it renders as one View details button. Set at least one action and it replaces that button.

Price

A Thing can carry a price: an amount and a currency, which is US dollars unless you pick another. The card shows it formatted for the currency, such as $6.50, and the agent quotes it when asked. Leave the price empty for a Thing whose price varies or isn't stated. When Anychat reads your website for Things, it fills in each price the site states as a number and keeps it out of the description.

A Thing sold in more than one size or serving can have a price for each: Glass $12.00 · Bottle $33.00, or Pint $7.00 · Growler $20.00. Add them under Prices by option, up to six, each with a short name (30 characters at most) and its price. They show in the order you give them, in place of the single price, on the card and when the agent answers. When Anychat reads your website, it fills them in where the site says what each price is for, such as a wine list under a "Glass / Bottle" heading. Where the site doesn't say, it leaves the prices in the description rather than guess.

Collections

A collection groups related Things under one heading, Dining, Rooms, Rentals, so the agent can show the right group instead of the whole catalog. Give a collection a name and, optionally, a one-line purpose ("restaurants and bars on the lake") that shows up wherever the agent explains what it can present.

A collection also controls how its cards look:

  • Fields: which details show on the card, in order. The default is picture, name, and description.
  • Actions: which of a Thing's action labels show, and in what order. Leave this unset and a card shows all of a Thing's actions.

Once your Things are grouped into collections, the agent can send a whole collection, such as every rental boat, as one carousel: asked what is available, it names the collection instead of listing each Thing, and Things you add later show up without editing anything. A collection sends its Things in collection order, up to the channel's carousel maximum (10 on RCS).

Cards are for Things with a picture. When none of the Things a reply shows has a picture or an action of its own, the agent sends them as one message instead, a line each with its price and description, and offers each name as a reply button so the customer can ask about it. A card without a picture is an empty box on some phones, iPhones in particular. On a card, the button that asks about the Thing reads Tell me more.

When a reply sends a whole collection and the channel can't show all of it at once, it carries a Show more button. A tap sends Things the customer hasn't seen yet in this conversation, each reply to it carries the button again while any are left, and it stops appearing once they have seen them all. For Things that are in no collection, "the rest" is the rest of your Things. A reply that picks some Things out, such as the non-alcoholic beers when asked for those, is a complete answer and gets no button. The button isn't added when the reply already has a reply button that offers more of the list, such as "See more beers". A link to your menu page, or "Tell me more about one", doesn't count.

With Things in two or more collections, a general question such as "What's on your menu?" or "Show me everything" gets the collections to choose from, each as a reply button under its own name. A tap sends that collection. A menu of forty dishes is browsed a section at a time this way, and the agent doesn't send it all as one carousel after another.

A Thing in several collections

A Thing can belong to more than one collection. A Jet Ski Rental can sit in an overall Watercraft rentals collection and in a location-specific Wahweap Marina watercraft rentals one. When someone asks what they can rent, the agent can show every watercraft rental; when they say they're staying near Wahweap, it can show just that marina's, without you keeping two copies of the same Thing in step. If you guide the agent to make location-specific recommendations, collections per location are the easiest way to give it that map.

A collection's card settings apply to that collection's carousel. A Thing sent alone uses the standard card: picture, name, description, and all its actions. So the same Thing can look slightly different in each of its collections.

A Thing without a collection still renders, grouped under the agent's default. Deleting a collection that Things still reference is blocked until you either move those Things to another collection or confirm the removal, which takes that collection off them. They keep any other collections they're in.

Hours will come with typed collections: a restaurant type carries hours, a product type doesn't. Until then, use Business info for the business's own hours.

Business info

Business info is the structured card of facts about the business itself: address, phone, website, weekly hours, holiday hours, amenities ("Pets allowed", "Outdoor seating"), price range, and, for restaurants, cuisine and a menu link. Where Sources are prose the agent quotes from, business info is typed data the platform can compute with, so everyday customer questions ("are you open right now?", "where are you?", "do you allow pets?") are answered from facts you control.

The open-right-now answer is the flagship: the platform computes the current open-or-closed status from your stored hours and timezone (overnight windows and holiday overrides included) and hands the result to the agent each turn. The agent never does the clock math itself, so the answer is always consistent with the hours you've published. For that to work, the timezone must be set: every stored time is read in it, and without it the agent won't claim the business is currently open or closed.

With a street address listed, the agent can also offer it as a tap that opens the customer's maps app when someone asks where you are. You don't write any markup or links, and the map always uses the address here, so there's no second copy to keep up to date. Where a channel has no map action, the customer gets a maps link instead. Without a street address, the agent can't offer one.

A PO box isn't a street address. A website import leaves one out of the street line and keeps the town, and if you enter one yourself the agent gives it as a mailing address and offers no map to it.

Some RCS providers can only drop a pin from coordinates, so the first time the agent offers the address there, Anychat looks it up and pins it. If the lookup can't place the address exactly, the customer gets a maps link for the address instead, so the map never shows the wrong place. Changing the address takes effect the next time the agent offers it.

Website import fills business info automatically, from the site's machine-readable business data where it's published and from what the pages say otherwise, and never overwrites a value you've already set. Any FAQ page it finds along the way lands in Facts. Review what arrived the same way you review imported Sources.

The pieces worth knowing:

  • Hours are weekly windows: day, opening time, closing time. A window that closes at or before it opens crosses midnight (a bar open 17:00–02:00 is one window, not two).
  • Special hours override a single date: mark the day closed or give it different hours, with a label like "Thanksgiving". On that date they replace the weekly windows entirely.
  • Amenities are name/value facts in your own vocabulary: "Pets allowed: yes", "Parking: street only". The agent answers amenity questions from these and declines gracefully when asked about one you haven't listed, rather than guessing.

Keep business info up to date

A business profile holds one location's facts and reads them from its website, about once a day. Link an agent to the profile, and its business info follows. For a business with several locations, create a profile for each and link them all, up to 25. The agent then knows each location's hours, phone number and address, and works out which are open right now. It goes by the location a customer names, or the one in the conversation's form data. If it can't tell, it answers for each of up to three locations and otherwise asks which one, and can offer a map to any location with a street address. The name and description come from the first profile you linked.

  • Your edits stay. Change a field on the profile and later checks won't overwrite it. If the website then says something different, you'll see both.
  • You can see where each fact came from: your edit, the site's structured data, or text read from the page, with the sentence it came from for hours.
  • Nothing gets erased by a bad check. If the site is down or redesigned, the profile keeps what it has and tells you.
  • You don't have to keep watching it. When the site's hours change, the agent uses the new ones, and you can undo that. If something looks uncertain, such as a site that contradicts itself or lists several locations, you'll get one item to look at, and your agent keeps answering in the meantime. A detail that disappears from the site stays in use until you decide. If a site has several locations, include yours in the profile's name.
  • Old hours get a warning. If the website hasn't confirmed the hours for two weeks, your agent gives them as the last known hours and suggests calling to confirm.
  • Sites that block automated reading usually still work. If one refuses us, Anychat tries another way and remembers it for that site.
  • A profile that reports blocked or empty needs your input, because the site still can't be read or has nothing readable. Enter the details yourself.

Add a location to an agent

An agent's locations are listed at the top of its Knowledge · Business info page, in order, with the first marked Primary. Each shows its website, its health and anything that needs attention, when it was last checked, and the address, phone number and weekly hours the agent answers with. Above the hours, each says whether the location is open right now and when that changes, in the location's own time, which is the same answer the agent gives customers. A location without a timezone doesn't show it, and the agent doesn't say whether it's open either.

  1. Open the agent, then Knowledge · Business info.
  2. Click Add a location, then choose one:
    • From its website…: give the location a name, such as "Dana's Salon, Westdale", and its website. The console follows the first check and shows what it found, and the agent's business info fills in when it finishes.
    • Link an existing profile…: pick one of your organization's profiles. Leave Fill in this agent's empty details, Things and FAQs from the profile's website selected to fill in what the agent doesn't have yet. If the agent already had values of its own, the console names the ones kept as your edits on the profile, so what the agent tells customers doesn't change.
  3. To remove a location, click Unlink… on it, then Unlink. If it was the primary, the next location takes its place. When you unlink the last one, the agent keeps its current values, and you can edit them by hand again.

While an agent has a linked location, its business info can't be edited on this page, because it follows the profiles.

Monitor your business profiles

Business profiles, in the console's main navigation, lists every profile in your organization with the ones that need attention first: failing, then needing attention, then healthy, then paused. Each profile shows its website and whether it can be read, what needs attention and why, the details its website doesn't give, when it was last checked and changed, and the agents that use it. Choose an agent to open its Knowledge · Business info page. Filter the list by health to see only the profiles you need to act on. A profile no agent uses is paused and isn't checked. Click a profile's name to open its page.

You can also create a profile there with New profile: give it a name that includes the location, and optionally its website. The console then follows the first check and shows what it found. A profile you create this way isn't used by any agent until you link it.

Review and edit a business profile

A profile's page lists every fact it holds: name, type of business, description, phone, email, website, address, timezone, opening hours, special hours, amenities, price range, cuisine, menu link, booking links and social links. Each fact shows where it came from and when the website last confirmed it. For hours read from the page's text, it also shows the sentence they came from. If another source says something different, the page shows that too, and the profile doesn't use it.

To open a profile's page, click its name on Business profiles or on an agent's Knowledge · Business info page. From there:

  • Correct a fact. Click Change, or Add for a fact the website doesn't give, and save. The fact is marked Your edit, and later checks leave it alone. Every fact can be changed here. A fact that holds a list, such as opening hours, special hours, amenities, cuisine or links, is edited one row at a time. To say the business has none, remove every row and save. Use the website's removes your edit, and the fact follows the website again.
  • Check the website now. Click Check now. The page follows the check and lists what it changed under Checks. A profile can be checked on request once every five minutes.
  • Change how the website is read. Read through a proxy is normally When the site blocks us. Choose Always or Never to override that. You can also remove the website, or add one to a profile that has none, which starts a check.
  • Turn scheduled checks off. Clear Check the website on a schedule. Your agents keep the facts the profile has, and you can still check on request.
  • Rename or delete the profile. Use the pencil next to the name, or Delete…. Agents that used a deleted profile keep their current values.

Checks lists the profile's recent checks, newest first, with what each found and changed, and Used by lists the agents that use the profile.

Review what a check found

When a check finds something it won't change on its own, the profile's page lists it under To review, and your agents keep answering with the current facts until you decide. Each item says what was found, shows the values side by side, and quotes the website's text where there is one.

What the check found Your choices
A different value read from the website's text Use it, or keep the current one
Hours that may need a look, with the reason They're right, or Dismiss
A fact the website no longer gives Remove it, or Keep it
The website disagrees with your edit Use the website's, or Keep mine

A value you decline isn't raised again unless the website changes it.

Changes lists what checks changed by themselves, such as new hours in the website's structured data, and what you decided before. Your agents already use a value a check changed. Undo puts the old value back as your edit, so later checks keep it. A fact that had no value before can't be undone; change it to the value you want instead.

Profiles are also available through the API and the MCP server.

What's next