What not to put in a website chatbot prompt

What not to put in a website chatbot prompt

The prompt tells the bot how to behave. On the Bot Behavior & Messages tab the field is Bot Instructions (Main Prompt). The docs describe it as personality, tone, scope, and fallback behavior. It is a bad place to store secrets, and a bad place to hide the fact that some questions have no answer on your site.

A prompt that only sets behavior

This is the shape the product guide already recommends. It names tone and what to do when the knowledge is missing. It does not store a policy:

Answer only using the provided knowledge. If you are unsure, say that you do not know and tell the visitor how to reach a person. Be concise and polite. Do not add prices, dates, or rules that are not in that knowledge.

The official example on Bot Behavior and Messages is the same idea: answer only using provided knowledge, and if unsure, point the visitor to a contact you name. Changing Bot Instructions does not require Rebuild Bot. The new text applies on the next message. Instructions still do not replace missing knowledge. If the fact is not in a source, a stronger prompt will not create it.

Leave these out

  • Passwords, API keys, and staff logins. The prompt is instructions, not a vault. A visitor should never be one clever question away from a credential. Do not move the secret into Additional Context or a Knowledge Source either. Those fields are text the bot can use.
  • Another customer’s name, order, or old transcript. One person’s chat is not context for the next person. Conversation History is where you review past chats. It is not a block you paste into Bot Instructions.
  • A standing order never to say “I don’t know.” The behavior guide tells you to include what the bot should do when the answer is unknown. Banning that sentence is how a gap gets filled with something that sounds like your policy.
  • Tasks a person has to do, written as if the bot could do them: a refund, an address change, a promise about stock that no page states. If a person has to do it, the prompt should say so and point to that person. The product path for “I want a person” is a support channel, not a sentence that pretends the bot completed the task.

Put the facts on a page, or in Additional Context

Prices, cut-off times, and product limits change. A paragraph in the prompt goes stale, and it is invisible to the next editor of the site. A page you already update is the source. That is the point of teaching the bot with your own documents. Add the site under Knowledge Sources, or upload a PDF, DOCX, TXT, MD, XLSX, or PPTX file, then click Rebuild Bot when the yellow Changes detected banner appears. Answers update after that rebuild, not when you only save the prompt.

If there is no page yet, use Additional Context. Open that tab, add a Subject and the Text, and save. Each entry can hold up to 10,000 characters. The docs list policies, pricing notes, and FAQs as the kind of static fact this is for. Then click Rebuild Bot. Additional Context stays in the knowledge index. It does not replace Knowledge Sources for the whole site. If the same fact also lives on a page, and the two wordings differ, remove the duplicate so the bot is not choosing between them.

Context Sources are a different tab, for a note that should appear only in some situations. You give each one a Title, a Context Source Description that says when to use it, and the response text. You still rebuild after an add or an edit. They are not a hiding place for another customer’s order.

The prompt can say: answer only from those pages and entries, and link the page the sentence came from. Tone belongs in the prompt: short sentences, no jokes about the customer’s problem. If you are not using language packs, the behavior guide also allows a language preference in Bot Instructions. The packs themselves are configured on the Languages tab, which is a different screen from the prompt. Facts do not belong in either place as a substitute for a page.

How to tell the prompt is too heavy

If Bot Instructions are longer than the help pages they are supposed to use, the prompt has become a second website. The docs also note that very long prompts increase token usage per message. Cut the field back to behavior: tone, scope, and what to do when the answer is unknown.

Then ask three questions that are not on the site and not in Additional Context. The right answer is a refusal, or a pointer to a person, not a confident paragraph. Use Test Chatbot after the bot is Active. The testing guide includes an unknown question and a check that pricing and policies are not invented. If a deleted cutoff is still stated, look for a copy in Bot Instructions or in an old context entry, and rebuild if the knowledge changed.

Writing the sentences visitors see is covered in how to write answers visitors can trust. This note is only about what you refuse to feed the prompt.