Structure flows
Structuring flows effectively can make your chatbot development process smoother and more maintainable.- Organise Flows by names: Use the same prefix the naming flows that are within the same domain/skill to make it easier to locate and work with flows as your assistant grows. i.e Flow 1: open_account_eligible, Flow 2: open_account_ineligible
- Prevent Flow Duplications: Before creating a new flow, check if a similar flow already exists (similar description, similar steps). Duplicating flows can lead to maintenance challenges and confusion. Instead, consider reusing existing flows when applicable.
- Link Flows Where Possible: When designing your bot’s conversation paths, look for opportunities to link existing flows together. This is also one way to reuse flows and can reduce redundancy and make your bot’s logic more streamlined.
- Continuously Review and Test Your Bot: After structuring your flows, periodically review and test your assistant to ensure that the conversation paths and logic work as intended or if you need to add/remove/rearrange some of the flows.
Common conversation elements
Including in your assistant flows that cover the common conversation elements can help ensure that your chatbot is well-rounded and capable of handling various user interactions. Here’s a checklist of essential flows to consider:- Greeting: Implement a flow with a friendly and context-aware greeting message to welcome users as they initiate a conversation.
- Introduction: Create a flow that provides a brief introduction to the bot’s purpose, capabilities, and how it can assist the user.
- User Help: Include a flow or path that can be triggered when users request help or guidance during the conversation.
- Exit or Goodbye: Create an exit flow where you include an exit or goodbye and prompts for feedback when users decide to end the conversation or complete a task.This encourages users to provide feedback on their experience to help improve the bot’s performance.
- Privacy and Data Handling Information: Create a flow about privacy and data handling and inform users about how their data is handled and assure them of privacy and security measures. Offer users the option to opt-out of the data procession.
- FAQ Handling: Create series of flows for FAQs and ensure the assistant can provide relevant information.
- Human Handoff: Implement a flow for transferring the conversation to a human agent when the assistant can’t handle a user’s request effectively.