Common Flow Patterns¶
This section provides ready-to-use flow blueprints for the most common WhatsApp assistant use cases. Each pattern includes a complete Mermaid diagram, a list of nodes used, step-by-step build instructions, and tips.
Available Patterns¶
| Pattern | Best For | Nodes Used |
|---|---|---|
| Lead Generation | Capturing contact details and notifying your sales team | Entry, Message, Menu, Question, Send Email, Condition |
| Customer Support | Answering FAQs and escalating to agents | Entry, Message, Menu, AI Chat, Human Handoff |
| Appointment Booking | Collecting booking details and confirming | Entry, Message, Menu, Question, Condition, Send Email |
| FAQ Assistant | AI-powered self-service from your Knowledge Base | Entry, Message, AI Chat, Menu, Human Handoff |
| Product Catalogue | Browsing products with images and documents | Entry, Message, Menu, Image, Document |
Choosing the Right Pattern¶
flowchart TD
A["What does your assistant need to do?"] --> B{"Capture customer details?"}
B -->|Yes| C["Lead Generation"]
B -->|No| D{"Answer questions from docs?"}
D -->|Yes| E["FAQ Assistant"]
D -->|No| F{"Show products/services?"}
F -->|Yes| G["Product Catalogue"]
F -->|No| H{"Book appointments?"}
H -->|Yes| I["Appointment Booking"]
H -->|No| J["Customer Support"]
style C fill:#dbeafe,stroke:#60a5fa
style E fill:#d1fae5,stroke:#34d399
style G fill:#fce7f3,stroke:#ec4899
style I fill:#fef3c7,stroke:#f59e0b
style J fill:#ede9fe,stroke:#8b5cf6
Combining Patterns¶
Most real-world assistants combine multiple patterns. For example:
- Main Menu with options for Products, Support, and Contact Us
- "Products" → Product Catalogue
- "Support" → FAQ Assistant or Customer Support
- "Contact Us" → Lead Generation
The Menu node is the key to combining patterns — each menu option can route to a different sub-flow.