Home/Help Center/AI chatbot

Automation

Set Up the AI Chatbot and Knowledge Base

Turn on an AI chatbot that answers from your own knowledge base, choose a model, and connect it to WhatsApp, Instagram, Messenger or your website.

By Chirag Darji · Updated 27 Aug 2026 · 7 min read

On this page
  1. Before you start
  2. Steps
  3. What you will see
  4. Settings and options
  5. Troubleshooting
  6. Related reading
Chat widget setup in VGraple CRM: appearance, welcome message, position and AI settings

An AI chatbot in VGraple CRM answers customer questions using an AI Response node in Flow Builder, or the dedicated chat widget on your website, grounded in a knowledge base you build from your own content. This walkthrough covers turning one on for the first time, from choosing a model to attaching a knowledge base to a specific bot.

AI chatbot: first 5 of 6 steps

  1. 1Add an AI provider key
  2. 2For WhatsApp, Instagram or Messenger, open Flow
  3. 3Write the system prompt
  4. 4Attach a knowledge base, if you have
  5. 5For a website bot, open Settings, then
The steps on this page, in order.

Before you start

  • The chatbot needs at least one AI provider key. Groq's key is free with no credit card; add it, or your own OpenAI or Anthropic key, from Settings, then AI & Flows.
  • The AI Response flow node itself is not plan-gated; it works on any plan once a key exists. The AI Assistant plan gate (Growth and above, or grandfathered if your organisation had a key configured before the gate shipped) applies to the website chat widget's AI, reply suggestions, summaries and the AI debugger.
  • Only Owner and Admin roles can view and edit API keys, since Settings, AI & Flows is restricted to roles that can view organisation secrets.
  • Decide where the bot needs to live before you start: a WhatsApp/Instagram/Messenger bot is built as an AI Response node inside a Flow Builder flow; a website bot is configured separately under Settings, then Chat Widget.

Steps

  1. Add an AI provider key. Go to Settings, then AI & Flows, and enter at least one of Anthropic, OpenAI, or Groq (free). If more than one key exists, pick a Default AI Model for reply suggestions, summaries, and new AI nodes.

AI and flows settings in VGraple CRM with provider keys and the Cron secret

  1. For WhatsApp, Instagram or Messenger, open Flow Builder. Create or open a flow, set a trigger (a keyword or a catch-all works for a general assistant), and drag an AI Response node onto the canvas.
  2. Write the system prompt. Click the AI Response node and write instructions describing the business, its scope, and its tone. Keep it specific: what the bot should and should not answer matters more than how politely it is phrased.
  3. Attach a knowledge base, if you have one. Choose a scope in the node's Knowledge base field: none, a specific source, or all sources shared across the organisation. See adding knowledge base sources if you have not built one yet.
  4. For a website bot, open Settings, then Chat Widget. Configure the widget's own system prompt, appearance, and AI provider separately from any WhatsApp flow; a website widget's settings do not affect flow-based bots and vice versa.
  5. Activate and test. Save and activate the flow (for WhatsApp/Instagram/Messenger), or publish the widget (for the website), then message the trigger yourself or open the widget preview to confirm the bot answers as expected.

A salon setting up its first bot, for example, might write a system prompt describing its services and hours, paste its price list as a knowledge base source, and attach that source to a catch-all AI Response node. A customer messaging "do you do gel nails" then gets an answer pulled from the actual price list, not a guess, while a question the price list does not cover gets a polite decline instead of an invented answer.

What you will see

A working AI Response node answers naturally, in the tone your system prompt set, and, if a knowledge base is attached and the question matches something in it, with content grounded in what you actually wrote rather than a generic answer. On WhatsApp, Instagram and Messenger, the reply appears in the conversation thread exactly like any other outbound message. If a human agent sends a manual reply in the same conversation, the bot pauses immediately and stays paused until an agent resumes it from the conversation header.

A bot with no knowledge base attached still answers, using only your system prompt and general conversational ability, which is enough for a simple FAQ-style assistant but will eventually invent an answer to a question it genuinely does not know. Attaching a knowledge base is what keeps replies grounded once customers start asking specific, business-only questions.

Settings and options

Setting or fieldWhat it doesDefault
AI provider (node)Anthropic, OpenAI, or Groq; falls back automatically to any other configured key if the saved one is missingWhichever was selected when the node was created
System promptInstructions the model follows for every reply from this nodeEmpty; a generic fallback prompt is used if left blank
Knowledge baseNone, one specific source, or all sources shared across the organisationNone
Conversational modeKeeps the node active for back-and-forth chat instead of a single replyOff (single-turn)
Booking linkAdds a sales-persona addendum that guides the conversation toward booking a callOff
AI takeover pauseWhether the bot is paused for a given conversation because a human repliedOff, until a human sends a manual reply

Troubleshooting

SymptomLikely causeFix
The AI Response node returns a generic apology instead of answeringNo provider has a working key, or the key saved on the node was removedCheck Settings, then AI & Flows for at least one valid key; the node falls back automatically to any other configured provider
The bot answers but never mentions anything from the business's own contentNo knowledge base is attached to the node, or the attached one has no matching content for that questionAttach a knowledge base in the node's settings, and confirm it actually contains the relevant information; see knowledge base sources
The bot stopped replying partway through a conversationA human agent sent a manual reply in that conversation, which pauses the bot for the rest of itResume the bot from the conversation header toggle if the agent is done and wants automation to continue
A website widget's bot behaves differently from the WhatsApp botThey are configured independently; a system prompt or knowledge base change on one does not affect the otherUpdate both separately, or use the same knowledge base sources unscoped so both draw from shared content
The bot is on the Free plan and works on WhatsApp but not on the website widgetThe website chat widget's AI requires the AI Assistant plan (Growth and above) or grandfathered access; the flow node does notUpgrade the plan for widget AI, or keep using the flow-based bot on WhatsApp, Instagram and Messenger, which has no such gate

Build out the content the bot answers from in knowledge base sources, and if the bot seems to be on but silent, work through the AI on but not replying checklist rather than guessing at the cause.

Frequently asked questions

Do I need to pay for an AI model to use the chatbot?
No. Groq's key is free with no credit card required and powers the default hosted model. You can also connect your own OpenAI or Anthropic key from the same settings screen if you prefer a different model.
Where does the AI chatbot actually run?
On WhatsApp, Instagram DMs and Messenger it runs as an AI Response node inside a Flow Builder conversation, triggered by whatever you configure. On your website it runs through the dedicated chat widget, configured separately in Settings, then Chat Widget.
Does the AI Response node need the AI Assistant plan?
No, not on WhatsApp, Instagram or Messenger. The AI Response flow node only needs a configured provider key; the AI Assistant plan gate (Growth and above) applies to the website chat widget's AI, AI reply suggestions, conversation summaries, and the AI debugger, not to the flow node itself.
How does the chatbot know about my specific business?
You add sources to a knowledge base (a pasted article, a URL, or FAQ pairs), each one is split into chunks and, with an OpenAI key configured, converted into embeddings for semantic search. When a customer asks something, the most relevant chunks are retrieved and given to the model as context.
Can different chat widgets or flows use different knowledge?
Yes. A knowledge base source left unscoped is shared across every chatbot in the organisation; scoped to one specific widget, it is private to that use case, so a booking bot and a product bot can draw from different content.
What happens if an agent replies manually while the bot is answering?
The AI pauses for that specific conversation the instant a human sends a message, and any flow currently running in it stops. An agent resumes it with the toggle in the conversation header when they are done.
What model actually answers by default?
A hosted model on Groq (GPT-OSS 120B as of this writing), which is why the chatbot works out of the box with no key to obtain. Whichever provider is active falls back automatically to any other configured key if its own is missing or invalid.

Run your WhatsApp on VGraple CRM

Free forever plan, official Meta WhatsApp Business API, set up in 15 minutes. No card needed.