Tutorial
Last updated
Was this helpful?
Last updated
Was this helpful?
Learn how to design, test, and run workflows with LetsFlow. These tutorials will take you from the basics of creating and testing scenarios to handling complex interactions with multiple actors.
Each tutorial introduces new concepts step by step, allowing you to build dynamic and structured conversations using LetsFlow’s state-based engine. By the end, you’ll be able to create workflows that model real-world interactions with actors, conditions, and validations.
This tutorial introduces the fundamental concepts of LetsFlow, including workflows, actors, actions, and transitions. You’ll learn to define a simple workflow where two actors interact, set up actions that trigger state changes, and run your first test case to validate the flow. This foundation will help you understand how LetsFlow structures conversations and how different components work together.
Building on the basics, this tutorial demonstrates how two actors engage in a simple handshake interaction. You’ll define transitions where each actor takes a turn, ensuring the workflow progresses smoothly. This example illustrates how LetsFlow tracks actor states and enforces a structured sequence of actions, giving you a clearer understanding of state-based interactions.
Conversations often involve multiple exchanges between actors, and this tutorial expands your workflow to include back-and-forth interactions. You’ll see how LetsFlow manages multi-step dialogues, allowing actors to respond in sequence while maintaining control over the flow. This step is essential for modeling more complex scenarios where responses influence what happens next.
In many workflows, actors need to provide structured information, such as names or organizational details. This tutorial introduces schemas, which define expected response formats and validate user input. You’ll learn how to enforce these rules, ensuring that actors provide correctly formatted data before moving forward in the workflow. This is especially useful for building structured conversations with predefined inputs.
Not all conversations follow a fixed script, and sometimes you need to handle an unknown number of participants. This tutorial introduces wildcard actors, allowing any number of people to join a workflow dynamically. You’ll also use conditions to control transitions, ensuring that the conversation progresses smoothly regardless of the number of participants. This approach is useful for scenarios like meetings, forums, and open-ended discussions.