โก Bot Flows
Creating Bot Flows
Flows are the rules that tell your bot how to respond. Learn all flow types with real examples.
5 Flow Types
KEYWORD
Keyword Match
Triggers when the message contains a specific word or phrase. Case-insensitive. Best for common questions.
WELCOME
Welcome Message
Triggers automatically when a new user first contacts your bot. Perfect for greetings and instructions.
ANY
Any Message
Triggers for every message received. Use sparingly โ typically for logging or specific workflows.
FALLBACK
Fallback
Triggers when no other flow matches. Always add this so users get a response to unknown messages.
REGEX
Regex Pattern
Advanced: Triggers when message matches a regular expression. For developers who need precise matching.
๐ Real Examples
Trigger Type
Keyword Match
Response Message
๐ฐ Our pricing plans:
โข Basic: $9/month
โข Pro: $29/month
โข Enterprise: Contact us
Visit codecanvas.top/pricing for details!
๐ฌ Preview
Bot ๐ค
๐ฐ Our pricing plans:
โข Basic: $9/month
โข Pro: $29/month
โข Enterprise: Contact us
Visit codecanvas.top/pricing for details!
Trigger Type
Welcome (first contact)
Response Message
๐ Welcome to CodeCanvas Support!
I'm an automated assistant. I can help you with:
โข ๐ ๏ธ Type tools โ see all tools
โข ๐ฐ Type price โ view pricing
โข ๐ Type bug โ report an issue
โข ๐ค Type human โ talk to a person
๐ฌ Preview
Bot ๐ค
๐ Welcome to CodeCanvas!
Type tools, price, or help to get started.
Trigger Type
Fallback (when nothing else matches)
Response Message
๐ค I didn't quite understand that.
Try typing one of these:
โข help โ get assistance
โข price โ view pricing
โข tools โ see all tools
Or email us: hello@codecanvas.top
๐ฌ Preview
Bot ๐ค
๐ค I didn't understand that.
Try: help, price, or tools
Trigger Type
Keyword Match โ explain
Response Type
๐ค AI Generated
AI Prompt (in response field)
You are a helpful assistant for CodeCanvas. The user said: {message}. Provide a clear, helpful answer about our developer tools.
๐ฌ Preview
User
Can you explain what Base64 encoding is?
AI Bot ๐ค
Base64 encoding converts binary data to text using 64 characters. It's commonly used to embed images in HTML or send files via email. Try our free Base64 tool at codecanvas.top/tools/base64/
๐ก Pro Tips
Use Priority Numbers
Give important flows higher priority numbers so they are checked first. Fallback should always be priority 0.
Multiple Keywords
Create separate flows for the same response with different keywords: "price", "cost", "how much" โ all pointing to the same reply.
Use Variables
Use {sender} in your replies to personalize messages with the user's name.
Enable AI Fallback
Turn on AI reply in bot settings so the AI handles any messages that don't match your flows.
Ready to build your flows?
Go to your bot and add your first auto-reply flow in seconds.
โก Go to My Bots โ