Tutorial: Support Router Bot
Build a bot that categorizes support requests and routes them appropriately.
What We're Building
A bot that:
- Greets users needing help
- Asks what kind of help they need
- Routes to the right response or human
Step 1: Help Trigger
- Add a Command Trigger for
/help - Add a Send Message:
👋 Hi there! How can I help you today?
Please choose a category:
- Add a Reply Markup node with buttons:
- 🔧 Technical Issue
- 💳 Billing Question
- 📦 Order Status
- 🗣️ Talk to Human
Step 2: Capture Selection
- Add an Ask Question node expecting choice
- Save to
flow.support_category
Step 3: Route by Category
- Add a Switch node
- Connect to the answer
- Set cases:
🔧 Technical Issue💳 Billing Question📦 Order Status🗣️ Talk to Human
Step 4: Handle Each Category
Technical Issues
Message:
🔧 Let's troubleshoot!
Have you tried:
1. Restarting the app?
2. Clearing your cache?
3. Updating to the latest version?
Did that help?
[✅ Yes, thanks!] [❌ Still need help]
Billing Questions
Message:
💳 For billing questions:
• View your invoices: /invoices
• Update payment method: /payment
• Cancel subscription: /cancel
What would you like to do?
Order Status
Human Handoff
Message:
🗣️ I'll connect you with a human.
Please describe your issue and a team member will respond within 2 hours.
(Just type your message below)
Complete Flow
Enhancements
Track Support Requests
Add analytics by incrementing counters:
- Add a Counter node for each category
- Use shared variables:
shared.tech_requests,shared.billing_requests
Smart FAQs
Before routing, check if you can answer with FAQs:
Satisfaction Survey
After resolution:
How was your support experience?
[😊 Great] [😐 Okay] [😞 Poor]
Tips
Quick Resolution
80% of questions are the same. Build comprehensive automated answers first!
Let Users Restart
Always offer a way to go back: "Type /help to start over"
Next Steps
- Quiz Bot → — Engage users
- Referral System → — Grow organically