Documentation


Please support us to improve our service. We would like to use statistics anonymously.

We do not pass on your data! You can find more information in our privacy policy.

Decline

Table of Content

Welcome to the Flowy documentation section! Here, you will find a wealth of information and resources to help you get the most out of the Flowy platform. Whether you are just starting out with Flowy or are an experienced user, you will find everything you need to know about how to build, deploy and manage workflow automation solutions using Flowy.

New to Flowy? Start with the Introduction.

The documentation has been split into separate documents due to its size:

Introduction

Platform Overview

Flowy is an open-source platform for integrating systems and automating business processes. Use it whenever applications need to talk to each other: you define what should happen and when, and Flowy runs it, logs every step and lets you move it safely from development to production.

The process editor in visual modeThe process editor in visual mode
The process editor in visual mode
  • How you build: design processes in a graphical interface from ready-made steps; use JavaScript, Groovy or Python only where you need custom logic
  • What it connects to: REST, SOAP, databases, Kafka and other messaging, email, S3, SFTP, Slack, Jira, AI models and more
  • Where it runs: on-premise, in the cloud or hybrid
  • Editions: Community or Enterprise, see the license page

Who it's for:

Good fitLess good fit
Connecting systems and keeping their data in syncSpreadsheet-style data entry and management
Automating multi-step business processes across departmentsSimple personal automations between consumer apps
Adding modern APIs to legacy systemsImitating user clicks on screens (RPA)
Adding AI to existing systems and processesData pipelines for analytics and machine learning
High-volume backends, such as REST services with many concurrent users
Building web or mobile apps without code

Event-Driven Workflows in Flowy

Each request starts either by an user interaction (i.e. by a REST request) or by automatic trigger (i.e. by a time based condition). In each of this cases an event gets created and later processed following the pre-defined business logic.

At its core, each process within Flowy consists of:

  • trigger: the firing condition. Could be i.e. an action by an user or a time based automation (i.e. every midnight)
  • event: once any kind of trigger has fired, it creates an event entry which is used to track its processing
  • process: this is the logic and behaviour that triggers actions and reacts based on their result
  • step: the smallest building block of a process; it runs one specific action or custom code

Example: a customer order

A customer submits an order → a REST trigger fires → Flowy creates an event → the process validates the data, writes it to the ERP and returns a confirmation. If a step fails, you can see exactly which one in the step logs.

Trigger
Event
Process
Timing condition fulfilled or request received, create event
Find event to process for processes with available capacity
Execute business logic
Add response values
Respond (if applicable)

Flowy processes are always executed on the processing service, which is described in the services section. Please refer to Flowy Processes to learn more about the process and to Flowy Steps for information on the steps they include.

Services

Flowy consists of two services and a database. Built to scale and to run reliably, it follows Hexagonal Architecture principles and clearly separates the user side, the business logic and the server side.

Processing Service
HTTPJMSKafkaRabbitMQ
Triggers
Cron
Messaging
REST
More trigger types
Event Allocation
Process Execution
Plugins
Interface Manager
Definition Update Service
Admin Service
Flowy Object Management
Hub
Logs
Metrics
Users & Roles
Database
Creden­tials
Execution Data
Logs
Object Definitions

In the order example, the request arrives over HTTP and fires a REST trigger on the processing service. Event allocation hands the resulting event to process execution, and the database keeps the execution data and logs.

Environment Types

Flowy is operated using 3 environment types:

Development
Load Balancer
Server 1
Server 2…n
Database
Testing
Load Balancer
Server 1
Server 2…n
Database
Production
Load Balancer
Server 1
Server 2…n
Database

More servers can be added as needed

The order process is built in development, checked in testing and only then moved to production.

Key Concepts

The objects you will meet most often:

TermWhat it doesType
TriggerStarts a process; can be time-based, event-based or manualBusiness logic
EventGenerated each time a trigger fires, so every run is recorded and traceableRuntime
ProcessA sequence of steps designed to accomplish a specific task or series of tasksBusiness logic
StepAn individual task or action a workflow performs, such as sending an email or making an API callPart of a process
ValidationRules or conditions that a process or step must meetBusiness logic
TemplateSeparates presentation from the dataBusiness logic
TranslationLocalization data to support different languages within a processBusiness logic
PluginCustom or pre-built extension that adds functionality to a processBusiness logic
CredentialSecurely stores and manages access to external systems and servicesConfiguration
SettingConfigurable parameter that can affect the behavior or outcome of a processConfiguration

Flowy Processes

A process is a sequence of steps that reacts to an input and transforms data, for example by running scripts, following conditions, calling sub-processes or talking to external systems. Keep processes small and reusable, and define settings and credentials centrally instead of hardcoding them. See How processes work for the details.

Variables and Process Cache

Variables hold data while a process runs. They are written as $. followed by the variable name and are available to all steps of the process through the process cache. See Variables and Process Cache for the details.

Development Approach

The typical development must happen in the following order:

  • Start with the creation of a process: It is sufficient to implement only a small part of the later functionality at first.
  • Creation of triggers: for testing purposes it is convenient to create a cron trigger and trigger it manually when needed. Alternatively, a REST trigger can be created and triggered through curl, Insomnia REST, Postman or similar tools.
  • Creation of credentials, templates, translations and validations as needed along with the necessary updates on trigger and processes.

This intentionally iterative approach quickly leads to usable results.

There is a strict demarcation line between configuration data and business logic. This enables the effective movement of workflow through environments (i.e. development, testing, production). As this happens, they get tested. By the time they reach production, you have tested both the workflow itself and the ability to deploy as well as the support processes around it.

The Type column in Key Concepts shows which object belongs to which. All object types are described on the objects page.

This approach makes it easy to roll out existing workflows i.e. to new environments as it’s just a matter of configuration.

Version control

Flowy offers native support for versioning, ensuring that users can easily manage and track different versions of their projects. This feature is crucial for collaboration and maintaining a clear history of changes. For an in-depth understanding of how versioning works in Flowy and to leverage its full potential, please refer to the detailed documentation available on our separate page: versioning in Flowy.

Where to go next

Pick the step that fits how far along you are: