LetsFlow
  • Introduction
  • Tutorial
    • The basics
    • A handshake
    • A conversation
    • A proper introduction
    • Group meeting
    • Quote
  • Cookbook
  • ENGINE
    • Installation
    • Authentication
    • API
    • Services
      • Configuration
      • Messaging
        • ZeroMQ
        • AMQP 0-9-1
        • Webhook
      • Engine service
  • Integration
    • Frontend
      • React
      • Angular
      • Vue
      • Svelte
    • Backend
  • Reference
    • Scenario
      • Actor
      • Action
        • Update instruction
      • State
        • Transition
          • Log
        • Notify
      • Data function
    • Schema
    • Process
      • Current state
      • Previous log
      • Prediction
      • Events
        • Instantiate event
        • Action event
        • Timeout event
  • Libraries
    • Core library
    • JMESPath
    • Test suite
      • Given
      • When
      • Then
        • Assert state
        • Assert actor
        • Assert variable
        • Assert service
        • Assert event
      • Customize
  • Advanced topics
    • Deep integration
    • Decentralized workflows
    • Custom JMESPath functions
    • Custom YAML tags
Powered by GitBook
On this page
  • Getting started
  • Decentralized workflows

Was this helpful?

Introduction

LetsFlow · human-centric workflow automation

Letsflow is a human-centric workflow automation engine that blends automation with human decision-making, enabling dynamic interactions between people and automated steps.

Unlike traditional workflow engines that use Directed Acyclic Graphs (DAGs) for fully automated workflows, LetsFlow is built on an extended finite-state machine model, offering flexibility for dynamic and non-linear processes.

With LetsFlow, you can define workflows where actors—real people—play a central role, while seamlessly integrating automated steps. This makes it ideal for scenarios like approval systems, customer service workflows, and collaborative processes, where decisions and actions often depend on human input.

# $schema: "https://schemas.letsflow.io/v1.0/scenario"
title: My first scenario

actors:
  user:
    title: The user

actions:
  complete:
    title: Complete the process

states:
  initial:
    on: complete
    goto: (done)
{
    "$schema": "https://schemas.letsflow.io/v1.0/scenario",
    "title": "My first scenario",
    "actors": {
        "user": {
            "title": "user"
        }
    },
    "actions": {
        "complete": {
            "title": "Complete the process"
        }
    },
    "states": {
        "initial": {
            "action": "complete",
            "transition": "(done)"
        }
    }
}

Getting started

The tutorial also teaches you how to use the test suite. This is an important tool when creating production-quality scenarios.

You can integrate LetsFlow directly into your application using the core library. However, it's easier to use the engine allowing you to interact with a simple REST API. The engine takes care of access control, storage, and timed events. It uses messaging to interact with your backend or microservices.

LetsFlow easily integrates into your frontend, regardless of whether you're using React, Angular, Vue, Svelte, or any other component framework. You’ll define reusable action schemas and build components that match these schemas.

Decentralized workflows

NextTutorial

Last updated 2 months ago

Was this helpful?

If you're new to LetsFlow, it's recommended that you start with the , which teaches you how to create a scenario. The tutorial introduces all the important features of LetsFlow one at a time.

LetsFlow can run distributed workflows, where parties are participating on a process through their own node. Events are shared peer-to-peer between nodes. The hybrid blockchain ensures that there is consensus about the order of events and protects against data tempering.

tutorial
LTO Network
Page cover image