โšก 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

๐Ÿ’ฐ Price Inquiry Auto-Reply
KEYWORD
Trigger Type
Keyword Match
Trigger Keyword
price
Response Message
๐Ÿ’ฐ Our pricing plans:

โ€ข Basic: $9/month
โ€ข Pro: $29/month
โ€ข Enterprise: Contact us

Visit codecanvas.top/pricing for details!
๐Ÿ’ฌ Preview
User
What's the price?
Bot ๐Ÿค–
๐Ÿ’ฐ Our pricing plans:

โ€ข Basic: $9/month
โ€ข Pro: $29/month
โ€ข Enterprise: Contact us

Visit codecanvas.top/pricing for details!
๐Ÿ‘‹ Welcome New Users
WELCOME
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
New User
Hi
Bot ๐Ÿค–
๐Ÿ‘‹ Welcome to CodeCanvas!

Type tools, price, or help to get started.
โ“ Fallback (No Match)
FALLBACK
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
User
asdfghjkl
Bot ๐Ÿค–
๐Ÿค” I didn't understand that.

Try: help, price, or tools
๐Ÿค– AI-Powered Reply
AI RESPONSE
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 โ†’