Tutorial: Build a Customer Support Chatbot
Build a fully functional customer support chatbot in 10 minutes using CrewForm. By the end of this tutorial, your chatbot will answer customer questions using your company’s knowledge base and respond via Slack, Discord, or Telegram.What You’ll Build
A customer support agent that:- Answers product questions using your uploaded documentation
- Maintains a professional, empathetic tone using a voice profile
- Delivers responses via your team’s messaging channels
- Runs 24/7 without intervention
Prerequisites
- A CrewForm account (sign up free)
- An LLM API key (OpenAI, Anthropic, or Google)
- Optionally: a Slack, Discord, or Telegram bot token
Step 1: Add Your API Key
- Go to Settings → API Keys
- Click Add Key and select your provider (e.g., Anthropic)
- Paste your API key and click Save
Your key is encrypted with AES-256-GCM before storage and never stored in plaintext.
Step 2: Create the Support Agent
- Navigate to Agents → New Agent
- Fill in the details:
| Field | Value |
|---|---|
| Name | Customer Support Bot |
| Description | Answers customer questions about our product using the knowledge base |
| Model | claude-sonnet-4-20250514 (or your preferred model) |
| Temperature | 0.3 (lower = more consistent, factual answers) |
- Write a system prompt:
- Click Create Agent
Step 3: Add a Knowledge Base
- Open your agent → click the Knowledge Base tab
- Click Upload Documents
- Upload your product documentation, FAQ files, or help center content (text, markdown, or PDF)
- CrewForm will automatically chunk your documents and create vector embeddings
Tip: Upload your most-asked FAQ document first. You can always add more documents later.
Step 4: Configure a Voice Profile
- Click the Voice Profile tab on your agent
- Select Empathetic as the tone preset
- Add custom instructions:
- Click Save Voice Profile
Step 5: Test Your Agent
- Go to Tasks → New Task
- Select your Customer Support Bot
- Enter a test question: “How do I reset my password?”
- Click Run Task
- Review the response — it should draw from your uploaded knowledge base
Step 6: Connect a Messaging Channel (Optional)
Slack
- Go to Settings → Channels → Slack
- Follow the OAuth flow to connect your Slack workspace
- Configure which channel the bot listens in
Discord
- Go to Settings → Channels → Discord
- Enter your Discord bot token
- Select the guild and channels
Telegram
- Go to Settings → Channels → Telegram
- Enter your bot token from @BotFather
Step 7: Set Up Output Routes
To also deliver responses to specific destinations:- Go to Settings → Output Routes
- Add a webhook, Slack channel, or other destination
- Open your agent → scroll to Output Routes → select the specific channels
What’s Next?
- Scale up: Create a Pipeline Team with a triage agent that routes questions to specialized agents (billing, technical, general)
- Add context: Upload more documents to your knowledge base to improve answer coverage
- Monitor: Check the Analytics page for token usage, response times, and cost tracking
- Publish as MCP tool: Publish your agent so Claude Desktop or Cursor can call it directly

