Introduction
Customer support teams spend countless hours answering repetitive questions. A well-configured chatbot can handle the bulk of these routine inquiries, freeing your team to focus on complex issues that actually need human attention. This guide walks you through building a functional customer support chatbot using four accessible AI tools, each of which brings different strengths to the job.
The beauty of this approach is that you don't need to be a software engineer. These tools provide visual builders, pre-built templates, and straightforward integrations that make it realistic to launch your first chatbot within a few hours. You'll learn how to connect these platforms together, train your bot with your actual support documentation, and deploy it to handle real customer conversations.
By the end of this guide, you'll have a working chatbot that can answer FAQs, collect customer information, and escalate complex issues to your support team. You'll understand which tool to use for which part of the process, and you'll know what to avoid based on the mistakes most people make on their first attempt.
What You'll Need
Before you start, gather these essentials:
-
A customer support email account. You'll need somewhere to receive escalations and feedback. Gmail or your company email works fine.
-
Sample support documentation. Collect your 10-15 most common customer questions and answers. If you don't have these written down yet, interview your support team or check your email archives for recurring patterns.
-
Accounts on the four platforms. We'll be using MindStudio, OpenAI Codex, TheBrain, and Twig. All of them offer free tiers or trial periods. Sign up for each one before you start; account verification sometimes takes a few minutes.
-
A website or chat platform ready. You'll need somewhere to embed or deploy the chatbot. This could be your website's footer, a dedicated support page, or a messaging platform like Slack. A simple HTML page is fine for testing.
-
About 2-3 hours for initial setup. The actual configuration work is straightforward, but testing and refinement take time. Budget more if you want to integrate with your ticketing system.
-
Monthly budget of roughly £50-150. The exact amount depends on your chat volume. We'll break this down in the cost table later.
Step-by-Step Setup
Step 1:
Define Your Chatbot's Scope
Start by writing a one-paragraph mission statement for your bot. Something like: "Answer common questions about billing, shipping, and product features. Collect customer name and email for complex issues, then escalate to support@company.com."
This clarity prevents scope creep. You're not building a bot that does everything; you're building one that handles your top 10-15 customer questions accurately.
Open a text editor and write out these questions verbatim, along with the answers your support team would give. Include variations. For example:
Q: How long does shipping take?
Q: When will my order arrive?
Q: What's your delivery timeframe?
A: Standard shipping takes 5-7 business days. Express shipping
takes 1-2 business days. You'll receive a tracking number via
email once your order ships.
Save this file. You'll use it in Step 2.
Step 2:
Build Your Knowledge Base in TheBrain
TheBrain is where you'll store and structure all your support information. Think of it as a searchable library your bot will consult.
Log into TheBrain and create a new Brain titled "Customer Support Knowledge Base." This becomes your chatbot's memory.
Add your Q&A pairs as Thoughts. Here's how:
-
Click "New Thought" in the top menu.
-
Type the question as the Thought name.
-
In the Notes section, paste the detailed answer.
-
Tag each Thought with categories like "Billing", "Shipping", "Product", "Technical".
For example:
Thought Name: Shipping timeframe
Tags: #Shipping #Delivery
Notes:
Standard shipping takes 5-7 business days. Express shipping
takes 1-2 business days. You'll receive a tracking number via
email once your order ships. If your order hasn't shipped after
10 business days, contact support.
Create at least 15 Thoughts. The more examples you provide, the better your bot performs. Don't worry about perfection; you can refine these later.
Link related Thoughts together using TheBrain's connection feature. If you have a Thought about "Payment Methods" and another about "Billing Issues", create a link between them. This helps the bot understand relationships between topics.
Step 3:
Set Up Your Bot Logic with MindStudio
MindStudio is where you'll build the conversation flow. This is the "brain" of your chatbot.
Log into MindStudio and create a new App. Select "Chatbot" from the template options.
Configure the bot's personality:
-
Name. Something like "Support Assistant" or "Sarah Support".
-
Initial message. What does the bot say when a customer first opens the chat? Something friendly: "Hi there! I'm here to answer common questions about our products and services. What can I help with?"
-
Conversation style. Keep it professional but warm. The default settings usually work fine for customer support.
Now you'll connect MindStudio to your TheBrain knowledge base. MindStudio allows you to pull information from external sources. In the settings, look for "Data Sources" or "Knowledge Integration". You'll need to export your TheBrain as JSON or connect via API.
TheBrain has an export feature under Settings. Export your Brain, then upload it to MindStudio. This teaches your bot to reference your actual documentation.
Create decision branches for escalation. After the bot answers a few questions, it should ask: "Have I answered your question?" If the customer says no, the bot should ask for their email and create a support ticket.
Here's the basic flow:
Start
→ Customer asks question
→ Bot searches TheBrain knowledge base
→ Bot finds matching answer?
→ Yes: Display answer, ask if it helped
→ No: Collect email, create escalation ticket
→ Was the answer helpful?
→ Yes: End conversation, offer further help
→ No: Escalate to human support
End
Test this flow thoroughly with sample questions before moving to the next step.
Step 4:
Connect OpenAI Codex for Smart Responses
OpenAI Codex handles questions your bot doesn't have exact answers for. It's your safety net for edge cases.
Log into your OpenAI account and generate an API key. You'll find this under Settings > API Keys. Copy and save this key somewhere secure.
In MindStudio, add a new integration. Look for "External API" or "OpenAI Integration" in the settings.
Paste your API key and configure the following prompt:
You are a helpful customer support assistant for [Your Company].
Your knowledge base contains common questions and answers.
If a customer asks something not covered in the knowledge base,
you can provide a helpful response based on general knowledge about
our products and industry best practices.
Always:
- Be honest if you don't know something
- Suggest they contact support@company.com for complex issues
- Stay in character as a support agent
- Keep responses under 150 words
This prompt tells Codex how to behave. It ensures Codex doesn't make up information, and it gives clear guardrails.
Set the "Fallback Threshold" to 0.6. This means if MindStudio is less than 60% confident in a match from your knowledge base, it will ask Codex for help instead.
Step 5:
Deploy with Twig
Twig handles the logistics of getting your chatbot onto your website or messaging platform.
Create a Twig deployment. Select your deployment platform: Website, Slack, Facebook Messenger, or WhatsApp.
For a website, Twig generates an embed code:
<script src="https://twig.app/embed.js"></script>
<script>
TwigChat.init({
botId: 'your_bot_id_here',
position: 'bottom-right',
theme: 'light'
});
</script>
Paste this code into your website's footer or header. Twig handles all the styling, responsiveness, and conversation logging.
If you're using Slack, Twig walks you through creating a Slack App and connecting it to your MindStudio bot. The process takes about 5 minutes.
In Twig's dashboard, configure:
-
Chat window appearance. Colour, text, avatar image.
-
Offline message. What should customers see if they chat outside business hours?
-
Escalation routing. Where should urgent issues go? Twig can route directly to your email or ticketing system.
Connect your support email to receive escalation notifications. When a customer says "I need human help", Twig will send you a notification with the conversation transcript.
Step 6:
Test and Refine
Don't deploy immediately. Test the full flow first.
Ask your bot the questions from Step 1. Does it answer correctly? Does it sound like your brand? Does escalation work?
Have colleagues test it. They'll catch edge cases you miss. Pay special attention to:
-
Spelling and grammar in bot responses.
-
Whether the bot escalates appropriately (not too easily, not too reluctantly).
-
Response time. If the bot is slow, check your API connections.
-
Whether the bot misunderstands questions.
Based on feedback, update your TheBrain knowledge base. Add more variations of questions if the bot struggled. Refine answers to be clearer.
Test again. You might do 3-4 rounds of testing before you're ready to go live.
Step 7:
Go Live and Monitor
Deploy to your website or chosen platform. Tell your support team it's live. Ask them to monitor for any issues during the first week.
Check MindStudio's analytics dashboard daily. You'll see:
-
How many conversations started.
-
Which questions the bot answered successfully.
-
Which questions led to escalation.
-
Customer satisfaction ratings if customers rated the bot.
This data is gold. If you see that 30% of conversations about "Returns Policy" get escalated, you know your knowledge base needs work in that area.
Update your knowledge base weekly based on real conversations. If customers repeatedly ask something your bot didn't handle well, add it to TheBrain with multiple phrasings.
Tips and Pitfalls
Don't rely on the bot to know things it hasn't been trained on. Codex is helpful, but it can hallucinate. If you don't explicitly add information to TheBrain, don't assume your bot will get it right. A made-up shipping date is worse than no answer.
Escalate generously at first. Start with a low confidence threshold. Better to send a few extra conversations to your support team than to frustrate customers with wrong answers. You can tighten this later once you trust the bot.
Set customer expectations clearly. Tell customers upfront that they're talking to a bot. Include a clear "Talk to a human" button. Customers accept bots more readily when they know what they're getting.
Test with real questions, not "happy path" questions. Don't just ask "What's your shipping time?" Ask things like "I ordered three weeks ago and still haven't received my stuff." Your bot should handle frustration gracefully.
Don't ignore the escalations. Every conversation that escalates is feedback. Read through them. If a conversation escalates, you should review why. Either your bot needs training, or your support team needs to give it better information.
Keep your knowledge base updated. If you change a shipping policy, update TheBrain immediately. Stale information damages trust faster than no answer at all.
Monitor token usage with OpenAI. Each API call costs money. If you're getting hammered with traffic, your costs spike. Set up billing alerts in your OpenAI account so you don't get surprised.
Cost Breakdown
| Tool | Plan | Monthly Cost | Notes |
|---|---|---|---|
| MindStudio | Starter | £29 | Up to 10,000 conversations per month. Enough for most small businesses. |
| OpenAI Codex | Usage-based | £10-40 | Typically £0.002 per 1K tokens. Costs depend on how often the fallback triggers. |
| TheBrain | Pro | £11 | Unlimited Thoughts and searches. One-time cost if you prefer annual billing. |
| Twig | Standard | £39 | Up to 5,000 conversations per month. Includes analytics and escalation routing. |
| Total | £89-139 | Scales with conversation volume beyond these tiers. |
These prices assume moderate traffic. If your bot handles 20,000 conversations monthly, you'll likely move to higher tiers and costs increase proportionally.
Consider starting with free tiers if available. MindStudio and Twig offer free trials. Use these to validate the concept before paying.
Summary
Building a customer support chatbot is straightforward when you use the right tools in the right order. Start with TheBrain to organise your knowledge, use MindStudio to create the conversation logic, add OpenAI Codex as a safety net for edge cases, and deploy everything with Twig. The process takes a few hours, costs less than £150 monthly, and can immediately reduce your support team's workload.
The key is starting small, testing thoroughly, and letting real conversations guide your improvements. Your first bot won't be perfect, but it doesn't need to be. Each week of operation teaches you what to refine next.