Guides

Building Workflows

Learn how to design and build effective chatbot workflows.

Workflows in ConvoFlow are visual representations of conversation flows. This guide covers best practices and patterns for building effective workflows.

Workflow Basics

Every workflow must include:

  • QueryNode: Entry point for user input (exactly one required)
  • ResponseNode: Exit point for final output (exactly one required)
  • Processing Nodes: One or more nodes that process the data

Common Workflow Patterns

Linear Flow

Simple sequential processing. Here's an example of a basic workflow with sidebar:

Basic workflow with sidebar showing node connections

Conditional Branching

Use ConditionalNode to create different paths based on conditions. Here's an example of a condition-based workflow:

Condition-based workflow showing branching logic

Parallel Processing

Process multiple paths simultaneously and merge results. Here's an example of a parallel workflow:

Parallel workflow showing multiple paths processed simultaneously

Best Practices

  • Keep it simple: Start with simple workflows and add complexity gradually
  • Use meaningful names: Name your workflows and nodes clearly
  • Handle errors: Consider error paths and edge cases
  • Test frequently: Test your workflow as you build it
  • Document: Add comments or documentation for complex logic

Tips for Complex Workflows

  • Break complex workflows into smaller, reusable sub-workflows
  • Use MergeNode to combine outputs from multiple nodes
  • Use DebugNode to inspect data at different points
  • Save intermediate results for debugging
Was this page helpful?