Tutorials: Build your first Softyflow application
Welcome to the Softyflow tutorial section! Here, you'll embark on an exciting journey to build your very first functional application using our intuitive low-code platform. We'll guide you step-by-step, ensuring you gain hands-on experience and confidence in bringing your ideas to life.
For this tutorial, we'll tackle a common real-world scenario: a Budget Approval Request Application. Imagine a system where employees can easily submit budget requests, and their managers can efficiently review, validate, or reject them. By the end, you'll have a fully operational application that demonstrates Softyflow's power and simplicity.
Before diving in, make sure you understand the core concepts behind Softyflow. For a complete overview of the platform, check out our getting started guide.
Level: Beginner Estimated Time: 15–20 minutes
This tutorial builds the application by hand, so that you see every piece. You can also:
- describe the application to Flowy AI, the assistant on the home page of the IDE: it creates the project, the interfaces, the process and the reports for you;
- use the Workflow wizard of a project: from a request name and its approval steps, it generates the form, the process, four reports, a dashboard and a menu.
Both give you resources that you then adapt with the builders described below.
What you'll learnDirect link to What you'll learn
This tutorial is designed to give you a comprehensive overview of Softyflow's core capabilities. You will learn to:
- Create Your First Project: The foundational step for any application in Softyflow using our project setup guide.
- Design a User Form for Budget Approval: How to build an interactive form for users to submit their requests, without writing a single line of code using our web interface design tools.
- Build an Approval Workflow: Implement the logic that defines how budget requests flow through the approval process, including manager validation using process design.
- Store Data in a Collection: Understand how Softyflow automatically handles data storage for your application using MongoDB collections.
- Add a Basic Report: Generate simple reports to visualize and track your budget requests with our reporting tools.
- Test and Run Your App: See your application in action and understand how users will interact with it using our test and deploy features.
The best part? No coding is required! Just follow these simple steps, and watch your application come to life right before your eyes.
Build your first appDirect link to Build your first app
Let's dive in and start building our Budget Approval Request Application. This app will allow employees to easily initiate purchase or budget requests, and empower managers to validate or reject them based on predefined criteria, such as amount thresholds.
1. Create your first projectDirect link to 1. Create your first project
Every application in Softyflow begins with a project. Think of a project as the central container that brings together all the essential components of your application: your user forms, the underlying workflows, data collections, and any reports you generate.
Step-by-Step Instructions:Direct link to Step-by-Step Instructions:
Open the IDE:
- Once you're logged into Softyflow, open the Tools menu of the portal (the grid icon at the top right) and click IDE studio. You can also open your user menu (your name, top right) and choose IDE studio. The IDE (Integrated Development Environment) opens in a new browser tab: this is where all your application building happens.
- These entries are only shown to users with access to the IDE. On the classic portal home page, the Create New App button opens the IDE too.

Go to the Applications page:
- The IDE opens on the Flowy AI home page (
/ide/): a large prompt where you can describe an application and let Flowy build it (see Flowy AI). For this tutorial, we build the application ourselves. - Click Projects in the dock (the floating bar on the left), press G then P, or go to
/ide/projects. The Applications page lists your favorites, the applications you visited recently and the catalog of every project. - Click New project at the top right.
- The IDE opens on the Flowy AI home page (

Name Your Project:
- In the App Name field, enter a clear and descriptive name for your application (220 characters maximum). We recommend something like:
budget-approval-demo - Tip: Using hyphens (
-) instead of spaces is a common practice for project names and makes them easier to manage in many systems.
- In the App Name field, enter a clear and descriptive name for your application (220 characters maximum). We recommend something like:
Add a description (Optional but recommended):
- In the Application description (optional) field, you can add a brief explanation of what your project is about. For instance: "An application to manage budget approval requests from employees to managers."
- Why this is useful: A good description helps you and your team quickly understand the purpose of the project, especially as you build more applications.
Choose an icon and a color:
- Under App icon and color, click the icon to pick one in the library and choose a color, or click Choose for me for a random pair. The header of the dialog shows the result.
- Leave Import an application (JSON file) empty: it is used to create a project from an exported
.jsonfile.

Create the Project:
- After filling in the details, click the Create Application button.
- The project opens on its Build home. A new project is empty: the home page says This project is empty and offers quick creation tiles (Interface, Process, Menu, API, Collection, List, Report and Workflow wizard). The project dock on the left lists the resource types (Interfaces, Processes, Collections, Reports, APIs, Menus and Lists), and the mode bar at the top right switches between Design, Build, Deploy and Run.

Congratulations! You have successfully created your first Softyflow project. You're now ready to start building and bringing your Budget Approval Request App to life within this project environment. The project setup guide describes the Applications page, the project dock and the four modes in detail.
2. Create your first formDirect link to 2. Create your first form
Now that you've set up your project, it's time to build the user interface—the form employees will use to submit their budget approval requests. This form will be the primary point of interaction for users initiating new requests.
Key fields and their purposeDirect link to Key fields and their purpose
Our Budget Approval Request Form will include various fields, each designed to capture specific information. Understanding these fields is crucial for building an effective application:
- Requestor: This field will automatically display the name of the current user who is logged in and creating the request. It's a read-only field, meaning users cannot change it. Learn about user management for user authentication.
- Status: This field will also be automatically updated and read-only. It will reflect the current stage of the budget request within the approval workflow. Possible values include: - Draft - Waiting for department manager approval - Waiting for financial director approval - Waiting for managing director approval - Waiting for executive director approval - Rejected - Approved
- Internal Ref.: An automatically generated reference number for each submitted request. This field will be read-only and will appear once the request is submitted.
- Department: A dropdown list allowing the user to select the department making the request. Use our select widget for this field.
- Request Title: A short, descriptive title for the budget request (e.g., "Purchase of new office chairs"). Use an input field widget.
- Expenditure Type: Defines the category or nature of the expenditure (e.g., "Office Supplies," "Software License," "Travel"). This could be a checkbox widget or select widget.
- Completion Date: The expected date when the purchase or expenditure is planned to occur. Use our date picker widget.
- Cost Justification: An optional, multi-line text field where the user can provide a detailed explanation of why the purchase is necessary, including expected savings or benefits. Use a textarea widget.
- Purchase Details: This is a crucial section that will allow users to add multiple line items for different items within a single request using a loop widget or table widget. Each line item will include:
- Description: A brief description of the specific item being purchased.
- Category: The category of the individual purchase item.
- Quantity: The number of units required.
- Unit price (€): The cost per unit.
- VAT rate: The applicable Value Added Tax rate for that item.
- Subtotal (€): Automatically calculated total for the item excluding VAT (Quantity * Unit Price).
- VAT (€): Automatically calculated VAT amount for the item (Subtotal * VAT Rate).
- Total (€): Automatically calculated total for the item including VAT (Subtotal + VAT).
Approval stepsDirect link to Approval steps
This section will display the list of required approval steps and the users assigned to each. The number of mandatory steps will dynamically adjust based on the total requested amount:
Under 2,500€: 1 mandatory validation step.
Between 2,501€ and 7,500€: 2 mandatory validation steps.
Above 7,500€: 4 mandatory validation steps (with 1 additional optional step).
Comments: An optional field where different users (requestor, approvers) can leave comments throughout the request's lifecycle. There will be a text box to enter a comment and an "Add Comment" button to submit it.
Form actions (Buttons)Direct link to Form actions (Buttons)
The form will also include essential buttons for user interaction:
- Save (as Draft): This button allows the user to save the request without submitting it for approval. Drafts can be accessed later from the "My Drafts" tab of the report interface built in step 4. Use a button widget for this action.
- Save and Submit for Approval: This button initiates the budget approval workflow using our process design features. A request can only be submitted if all mandatory fields are filled.
Step-by-Step: Building your budget approval formDirect link to Step-by-Step: Building your budget approval form
Let's begin constructing the form within your Softyflow project using our web interface design tools. A new interface starts as a blank page: you add the screens and the widgets yourself.
Create a new interface:
- On the Build home of your
budget-approval-demoproject, click the Interface tile. You can also open Interfaces in the project dock and click New interface. - The Select your interface type dialog opens. Choose Empty (a blank page where you drop your widgets).
- In Interface name, enter:
budget-approval-form - Under Access rights, choose who can open the form: Signed-in users (any signed-in user), Selected roles (only the members of the Allowed roles) or Public (no sign-in). Keep Signed-in users for this tutorial; you can change it later in Page settings → Access.
- Optionally, turn on Show on the home page to add a tile to the form on the portal home page.
- Click Create interface. The interface opens in the builder, in a new tab of the project.
- On the Build home of your

Older versions created a Form interface attached to a process, with its own Save and Submit buttons. This type can no longer be created (existing Form interfaces keep working). With an Empty interface, you start the process with a button and the startProcess action (see below), and each user task of the process selects the interface and the screen it shows (see step 3). The "What's next?" note of the dialog also mentions the start event, but the start event has no Interface setting.
Get to know the builder:
- Widget palette (left): search a widget (shortcut
/), jump to a category (Most used, Form, Basic, Layout, Data, Advanced) and drag a widget onto the canvas. - Canvas (middle): the page as it will look. The All Screens selector manages the screens and Preview shows a preview.
- Configuration panel (right): the settings of the selected widget, grouped in cards (Global, Actions, Validation, Style…).
- Right rail: Save interface, View interface, Page settings, Open Action / Script Editor (the Code page) and the history button (tooltip Worflow History), which opens the version history of the interface.
- Widget palette (left): search a widget (shortcut

Define Screens:
This is a powerful feature! You can define multiple distinct views or "screens" within this single interface. Each screen can have a unique set of visible and editable fields, allowing different roles or workflow steps to interact with the same data in a customized way.
- A new interface already has one screen, named
Screen. Click All Screens at the top of the canvas and rename that screen (its name is a text field of the list), then click Add Screen for each other screen and type its name. For our Budget Approval App, the screens are, in this order:Budget Request(for the employee initiating the request)Team Manager(for the first level of approval)Department Manager(for subsequent approvals)Save to SAP(an example for a specific action screen)
- The position of a screen in this list, from 0, is its number:
Budget Requestis screen 0,Team Managerscreen 1, and so on. The screen filters of a report use this number (see step 4). - Choose a screen in the same list to see the page as that screen shows it.
- For each widget, the Validation card of the configuration panel sets, screen by screen, whether it is Available, Visible, Required or Disabled (read-only). See Screens.
- A new interface already has one screen, named

Add the required widgets:
Now, you'll drag the widgets that match the requirements of our Budget Approval Request form. Drag each widget from the palette onto the canvas, then set its Name (the label) and its Variable/Model (the name of the data) in the Global card.
Request Details:
Requestor: Drag an input widget labeled "Requestor", with the default value
{{SF_connectedUser.firstName}} {{SF_connectedUser.lastName}}, and make it read-only (Disable) on every screen.Status: An input widget labeled "Status", read-only, with the default value "Draft". Softyflow will manage its value through the workflow.
Internal Ref.: A read-only input widget. Its value will be generated automatically.
Completion Date: A date widget.
Department: Drag a dropdown widget. Label it "Department" and define your department list (e.g., "Sales", "Marketing", "HR", "IT").
Request Title: Drag an input widget. Label it "Request Title".
Expenditure Type: Drag a checkbox widget. Label it "Expenditure Type". In its properties, you will define your categories (e.g., "Office Supplies", "Software License") using custom lists.
Cost Justification: Drag a text area widget. Label it "Cost Justification".
Build "Purchase details":
- Add a grid widget and turn on its Loop option (see the loop widget), or use a table widget. This is crucial for adding multiple purchase items.
- Inside this loop/table, add the following widgets for each line item:
- Description: Input
- Category: Dropdown widget
- Quantity: Number
- Unit price (€): Number
- VAT rate: Dropdown widget or Number
- Subtotal (€): read-only Number
- VAT (€): read-only Number
- Total (€): read-only Number
- Remember: Calculations for Subtotal, VAT, and Total are configured with actions (for example a Watch on the quantity and the unit price) on the Code page of the interface.
- Keep the grand total in a variable named
total: the workflow uses it to choose the approval path.
Add "Approval Steps":
- To structure the approval hierarchy, add a Section (a framed, collapsible block) or a grid widget with its Collapse option on, and give it a title, for instance "Approval Steps". The user can expand or collapse it, keeping your form tidy.
- Within this block, add a user picker widget for each of the approval roles: "Department Manager", "Financial Director", "Managing Director" and "Executive Director".
- A user picker stores the e-mail address of the chosen user: the workflow will use these variables to assign each approval task (see step 3). These fields will typically be read-only for the initial requestor but visible to show the approval chain. Learn more about user management and role management.
Add the buttons:
- For the Requestor (
Budget Requestscreen): a button labeled "Save (as Draft)" and a button labeled "Submit for Approval". - For approvers (
Team ManagerandDepartment Managerscreens): a button labeled "Reject" and a button labeled "Approve". - Note: Use the Validation card of each button to make it visible only on its screens: the requestor's buttons on
Budget Request, the approvers' buttons on the approval screens.
- For the Requestor (
Configuring button actions ("On click" events)Direct link to Configuring button actions ("On click" events)
Once you've added your buttons, you need to define what happens when a user clicks them. Let's focus on the "Submit" button as an example.
Select a button: Click on the "Submit" button on your form canvas. Its settings open in the configuration panel on the right.
Open its actions: In the Actions card, click Create on click action (the button reads View attached action once an action exists).

- Define the "On Click" logic: The Actions drawer opens. Pick a category (Dom, Collection, Process, Api, SoftyTables, User, Basic), add the actions in the order they must run, then click Save. For the "Submit" button, you'll typically configure:
- Set the status: a setModel action (Dom category) that sets the
report_statusvariable to"New request". This marks the request as ready for the workflow. - Start the workflow: This is critical! A startProcess action (Process category) that starts your
Budget Approval Managementprocess (create the process in step 3, then come back to select it). Its Disable forms option prevents further edits once the request enters the workflow. - Other actions: You can add other actions as needed, such as a redirect to a dashboard, a success message, or calculations.

You will follow a similar process to configure the other buttons:
- "Save (as Draft)": a save action, which saves the data as a draft without moving the workflow forward.
- "Approve": a setModel action that sets the decision variable (for example
action0) to"valider", then an update action that completes the current task (its Task Id isSF_taskId). - "Reject": the same actions with the value
"refuser", ideally after a comment field for the refusal reason.
The gateways of the workflow read this decision variable to choose the next step (see step 3).
- Arrange, save and view your form:
- Drag and drop the widgets to arrange them logically on the form, and use sections or grids to organize fields into clear, readable groups (e.g., "Request Details", "Purchase Details").
- The builder saves your changes automatically: the indicator at the top of the configuration panel shows Saved, or the number of pending changes (changes are saved after 30 seconds or 20 changes). To save right away, click Save interface in the right rail or press Ctrl + S.
- Click View interface (the eye in the right rail) to open the form in TEST, in a new browser tab, exactly as your users will see it.

Applying Custom CSS for Advanced StylingDirect link to Applying Custom CSS for Advanced Styling
While Softyflow's widgets provide many styling options (the Style card of each widget), you might need to apply custom styles for specific branding or design requirements. Softyflow allows you to add your own custom CSS to your forms.
- Open the CSS Styling script: Click Open Action / Script Editor in the right rail of the builder. The Code page of the interface opens in a new tab: under Scripts, click CSS Styling (the CSS specific to this page). To load an external stylesheet instead, use Page settings → Appearance → Stylesheet (CSS).

Add Your CSS Rules: You can write standard CSS rules to target elements in your form. To identify the correct selectors for form elements, you can use your browser's developer tools to inspect the form opened with View interface. It is a good practice to use specific selectors to avoid unintentionally affecting other elements. The CSS Styling script is loaded last, after the other stylesheets of the page (see Order of the Stylesheets).
Example: To change the background color of a specific section, you could add:
#my-section-id {
background-color: #f0f8ff;
border-radius: 8px;
}
By using the CSS Styling script, you can achieve a pixel-perfect design that aligns with your company's branding.
You have now successfully designed and customized the front-end for your Budget Approval Request App! Open it with View interface to admire your work.
In the next steps, we'll connect this form to data storage and define the powerful approval workflow that makes your application truly functional.
3. Build the WorkflowDirect link to 3. Build the Workflow
Now that your user interface (the form) is ready, it's time to build the "brain" of your application: the workflow. The workflow defines the sequence of tasks, decisions, and notifications that guide a budget request from its submission to its final approval or rejection. We'll use Softyflow's visual process modeler, which follows BPMN (Business Process Model and Notation) principles, to design this logic using our process design tools.
Understanding the Approval Logic and Implemented WorkflowDirect link to Understanding the Approval Logic and Implemented Workflow
Our workflow defines a validation flow. While a full application might have complex amount-based routing at the very beginning, for this tutorial, we will focus on the sequential approval steps and the core functionalities, including how the approval path dynamically changes.
Key Workflow Characteristics:
- Request Initiation: Starts when the requestor clicks "Submit for Approval" on the form.
- Initial Data Processing: Automated steps for setting up the request.
- Sequential Approvals: Requests move through a defined chain of approvers (Team, Department, Financial, Managing, Executive).
- Dynamic Approval Path: After initial team validation, the subsequent approval chain is determined by the request's total amount.
- Decision Points: Each approver can
ApproveorRejectthe request. - Notifications: Automated emails will inform users about task assignments and the status of their requests.
Step-by-Step: Creating Your Budget Approval WorkflowDirect link to Step-by-Step: Creating Your Budget Approval Workflow
Let's dive into the process builder to build your process, step-by-step.
- Create a New Process:
- On the Build home of your
budget-approval-demoproject, click the Process tile, or open Processes in the project dock and click New process. - In the New process card, enter the Name of your process:
Budget Approval Management - Click Create. The process opens in the process builder, in a new tab of the project.
- On the Build home of your

The process builder shows the palette on the left (start and end events, exclusive and parallel gateways, task, user task, send task and sub-process), the canvas in the middle with the zoom controls at the bottom left, the configuration panel of the selected element on the right (Configuration and Input Output tabs), and the action rail on the far right (Save Process, Start Process, Process Settings, Measures, search, Scheduling Tasks, Process History). Unlike the interface builder, the process builder does not save automatically: save with Save Process or Ctrl + S (see Saving the Process).
Add the Start Event ("Nouvelle demande"):
- Drag a Start Event (the green circle of the palette) onto the canvas. Label it:
Nouvelle demande. - The start event has no interface setting: the process starts when an employee clicks "Submit for Approval" on the form, whose startProcess action names this process (see step 2).
- Drag a Start Event (the green circle of the palette) onto the canvas. Label it:
Add the Initial Data Processing Task:
- Immediately after the Start Event, add a Task (an automatic task, shown in purple). Label it:
Nouvelle demande. This task will handle initial system-level actions. - Configure this task's properties: open its Input Output tab. This task is crucial for processing initial data from the form: add inputs such as
request_id,requestor_name,requestor_mailandglobal_status, which set initial values for these variables based on the submitted form data (see Input/Output Parameters).
- Immediately after the Start Event, add a Task (an automatic task, shown in purple). Label it:
Model the Approval Steps (User Tasks & Gateways) and Conditional Flows: Now, let's build out the sequence of human approval tasks, their decision points, and how the workflow's path dynamically adjusts.
User Task: Validation by Team (
Validation by team)- Drag a User Task (the task with a person icon). Label it:
Validation by team. - Connect it from the "Nouvelle demande" task (drag from the context pad that appears next to a selected element).
- Configure this task's properties in its Configuration tab:
- Users And Roles: assign the task to the relevant Team Manager. In Roles, pick a role (for example a "Team managers" role), or in Users, type a variable that holds an e-mail address, such as
{{team_manager}}. For the next levels, use the user pickers of the form:{{department_manager}},{{financial_director}}… ({{SF_initiator.mail}}would send the task back to the requestor: keep it for a correction step). - Interface: select your
budget-approval-form(the eye button opens it) and, in Screen, the view the assigned manager sees when they open this task:Team Manager.
- Users And Roles: assign the task to the relevant Team Manager. In Roles, pick a role (for example a "Team managers" role), or in Users, type a variable that holds an e-mail address, such as
- Drag a User Task (the task with a person icon). Label it:

Add an Exclusive Gateway after "Validation by team":
- Add an Exclusive Gateway (the orange diamond) after the
Validation by teamtask. Label it: "Team Decision". - This gateway will have multiple outgoing sequence flows (arrows) to direct the process based on the decision made and the request's total amount.
- Add an Exclusive Gateway (the orange diamond) after the
Configuring Conditional Flows: This is where the dynamic routing happens.
- Select the gateway: its Exclusive Gateway Configuration section lists every outgoing flow, with one Condition each. Give every outgoing flow an explicit condition (the three examples below cover every case), or type
defaultas the condition of the fallback flow. Without that, when no condition is true, the engine takes the first outgoing flow (Flow 1), not a flow left empty: an empty condition is never true, even though the last field shows the hint Default flow (leave empty). - You can also click an arrow: its Sequence Flow section shows its condition in the Script field (Add Condition For This Flow when it has none).
- Select the gateway: its Exclusive Gateway Configuration section lists every outgoing flow, with one Condition each. Give every outgoing flow an explicit condition (the three examples below cover every case), or type

Example 1: Approval for amounts
<= 2500€- On the sequence flow leading to the short approval path (or directly to the End if it's the only step), enter a condition like:
action0 == 'valider' && total <= 2500
- On the sequence flow leading to the short approval path (or directly to the End if it's the only step), enter a condition like:
Example 2: Approval for amounts
> 2500€- On the sequence flow leading to the next approval task (e.g., "Validation by department"), enter a condition like:
action0 == 'valider' && total > 2500
- On the sequence flow leading to the next approval task (e.g., "Validation by department"), enter a condition like:
Example 3: Rejection
- On the sequence flow leading to the rejection path:
action0 == 'refuser'
- On the sequence flow leading to the rejection path:
Explanation:
action0 == 'valider':action0is a process variable set by the buttons of the task screen. The "Approve" button sets it to"valider"with a setModel action before its update action completes the task; "Reject" sets it to"refuser"(see step 2). Use one variable per step (action0,action1…) if you prefer. The Workflow wizard generates exactly these buttons, with one decision variable per step: it keepsaction0for the requester's Correction screen (Soumettre à nouveau sets it to"valider", Annuler la demande to"annuler") and usesaction1,action2… for the approval steps 1, 2… (Valider, Refuser, Renvoyer au demandeur).total <= 2500andtotal > 2500: These conditions check the value of thetotalvariable (which holds the total amount from your form).These conditions ensure that the workflow takes the correct path after the team's validation, directing it to the appropriate sequence of subsequent approvals based on the request amount.

Add a Notification Task after Team Approval (if Approved and routed):
- After the specific "Approved" sequence flows (e.g., for
total > 2500), you might include a Send Task (the mail task, shown in green) labeledNotification. - Configure this task's properties:
- Name:
Notification. - Users And Roles › To Users:
{{SF_initiator.mail}}(or{{requestor_mail}}), so that the original requestor receives an email. - Mail Configuration: Set the Mail Subject and click Edit Email Body to write the email that informs the initiator that their request has passed this stage.
- Mail priority: keep Normal for an informative email. When the platform turns on the email digest, users can choose to receive their process emails grouped in a digest (every day, every few days or on some days of the week); Very High and Critical emails are always sent at once (see Email Digest and Urgent Emails).
- After the specific "Approved" sequence flows (e.g., for
Continue with Subsequent Approval Steps:
- Continue from the conditional flows with "User Task: Validation by department" (Users:
{{department_manager}}, Screen:Department Manager), followed by its own Exclusive Gateway for decision. - Repeat this pattern for the remaining approval levels:
Validation by financial,Validation by managing, andValidation by executive. Each will have a User Task followed by a gateway. - Each "Approved" path from a gateway connects to the next User Task in the sequence, continuing until the final approval.
- Continue from the conditional flows with "User Task: Validation by department" (Users:
- Define the Rejection Path:
- From any "Rejected" sequence flow coming out of an
Exclusive Gateway, connect it to a central rejection process.
- From any "Rejected" sequence flow coming out of an
- Send Task: Refusal Notification (
Refus: Notification)- Connect all "Rejected" paths to a Send Task labeled
Refus: Notification. - Configure this task to send a notification email to the original Requestor, informing them that their request has been rejected. The email content should ideally include the refusal reason provided by the approver.
- Connect all "Rejected" paths to a Send Task labeled
End the Process:
- End Event: After the final approval step (from the "Validation by executive" gateway) or after the "Refusal Notification" task, add an End Event (the red circle).
- Label it appropriately (e.g., "End"). This signifies the completion of the workflow.
Save the Process: click Save Process in the rail (or press Ctrl + S). The save indicator (at the top of the configuration panel, or at the top right of the canvas when no element is selected) then shows Saved.
Here's what a complete approval workflow looks like in the process builder:

Key Workflow Actions and Data FlowDirect link to Key Workflow Actions and Data Flow
- Button Actions: The "Submit", "Approve", and "Reject" buttons on your form are linked to this workflow. "Submit" starts the process with its startProcess action. "Approve" and "Reject" buttons, appearing on the approvers' screens, set the decision variable and complete the current User Task with their update action; the gateway then follows the outgoing flow whose condition matches.
- Status Updates: As the request moves through the workflow, the
Statusfield on your form is updated by the workflow (e.g., from "New request" to "Waiting for Department Manager Approval" to "Approved"), for example with an input of each task that setsreport_status. - User Assignment & Notifications: User tasks are assigned to specific users or roles, and notification tasks (like "Notification" and "Refus: Notification") are configured to send emails. More detailed explanations can be found in our dedicated sections on user management and mail configuration.
- Data Passing: The Input Output tab of each task shows how data from the form is passed through and updated by the workflow tasks.
By visually modeling these steps in Softyflow's process builder, you create a robust and automated process that requires no coding. You are literally drawing your business logic!
4. Run the Budget Approval Report Web InterfaceDirect link to 4. Run the Budget Approval Report Web Interface
The Budget Approval Report Web Interface is a crucial component that allows managers (and other relevant users) to effectively monitor, track, and filter approval requests. This interface provides a centralized view of all requests—whether they are pending, ongoing, or already completed—based on the user's role and the workflow status. Here's how you'll configure and use it.
Step-by-Step: Setting Up Your Report InterfaceDirect link to Step-by-Step: Setting Up Your Report Interface
- Create a Report
First, you need to create the report itself within Softyflow, which will serve as the data source for your web interface.
- Open the creation card:
- On the Build home of your
budget-approval-demoproject, click the Report tile, or open Reports in the project dock and click New report.
- On the Build home of your
- Fill in the New report card:
- Name: Enter a descriptive name, such as
My Tasks - Budget Approval - Report. - Process: Select your previously created workflow:
Budget Approval Management. This links the report directly to the data generated by your workflow. - The report lists: Choose Tasks (one row per user task). This type of report is ideal for displaying active manual steps within your workflow, making it perfect for managers to see pending approvals. Instances lists one row per request instead.
- Click Create. The report editor opens in a new tab.
- Name: Enter a descriptive name, such as

- Configure the Report
Once the report is created, you configure its content in the report editor: the data you want to display and any necessary filters.

- On the left, the palette of fields: the Process measures of the selected process and the SoftyFlow fields (status, activity, dates, assigned users…). Click a field to add it as a column; click it again to remove it.
- In the middle, the Preview: the rows of the report in TEST, UAT or PROD. The preview shows the saved version: after a change, click Save and refresh.
- On the right, the Report settings: General (the name), Source (Instances or Tasks, and the Processes), Columns, Filters and, for a task report, Screen filters.
- The rail on the far right holds Save (Ctrl + S), Refresh the preview and Version history. See The Report Editor.
Define Measures in Your WorkflowDirect link to Define Measures in Your Workflow
Before you can add your own columns to the report, you must define "Measures" within your workflow.
What are Measures?
Measures are the specific data points (fields) from your form or workflow variables that you want to make available for reporting. Think of them as a "whitelist" of data you explicitly choose to expose for reports and analysis. By defining a variable as a measure, you are telling Softyflow that this piece of information is important and should be queryable when building reports.
For more details, you can refer to the Measures documentation.
- Open Your Workflow:
- Open your
Budget Approval Managementprocess from Processes in the project dock (or from the Build home).
- Open your
- Open the Measures drawer:
- Click Measures in the rail of the process builder. The Measures drawer opens: "Values computed on every instance, for reports, tables and filters".
- Define Fields:
- Click Add a measure for each field, and fill in its Name, its Type (String, Boolean, Number, Date or Any) and its Value: a JavaScript string where
{{ }}inserts a process variable. For example:request_id:{{request_id}}instance_id:{{instanceId}}global_status:{{global_status}}next_task:{{nextTaskId}}requestor_name:{{SF_initiator.firstName}} {{SF_initiator.lastName}}requestor_mail:{{SF_initiator.mail}}total_amount(Number):{{total}}- And any other relevant fields from your
budget-approval-formsuch asdepartment,request_title, etc.
- Click Save the measures: the measures are saved apart from the diagram, with their own button.
- Measures are computed at each step of every instance. To compute a new measure on the instances that already exist, use Measures in the Run mode of the project (see Recalculating the Measures).
- Click Add a measure for each field, and fill in its Name, its Type (String, Boolean, Number, Date or Any) and its Value: a JavaScript string where

Define Report ColumnsDirect link to Define Report Columns
Back in the report editor, you now specify which of these measures appear as columns in your report.
- Add Columns: the fields you defined as measures are listed under Process measures in the palette of the report editor. Click each one to add it as a column, for instance
request_id,requestor_name,report_status,global_status,next_task, plus SoftyFlow fields such as Created at, Status and Due date. - Order the Columns: in Report settings › Columns, drag the columns to change their order, or remove one with its cross.
- Labels and formatting: the user-facing label, the width, the type (text, number, date, currency, buttons…) and the date format of each column are set where the report is displayed, in the Table widget (step 4 below).
Apply FiltersDirect link to Apply Filters
Filters are essential for restricting the data displayed to users, ensuring they only see information relevant to them (e.g., their own requests, or requests assigned to their department).
- Go to the Filters Section: in the Report settings, open Filters ("Only the rows matching every filter").
- Add a Filter Rule: click Add a filter.
- Configure the Filter: choose the Field, the Condition and the Value. For example, to show only the tasks waiting for the currently logged-in user:
- Select the field Assigned users.
- Choose the condition Connected user.
- For a report of the requests created by the user (an Instances report), use Created by with Connected user instead.
- This ensures that data visibility is scoped per user and UI context. Click Save (or Ctrl + S), then Save and refresh to check the preview.

Screen Filters (Optional Information)Direct link to Screen Filters (Optional Information)
For a report on Tasks, the Screen filters section narrows the report to the tasks shown on a given screen, by status. Click Add a screen filter, type the number of the screen in Screen (its position in the All Screens list of the interface, from 0: Budget Request = 0, Team Manager = 1) and pick the statuses (Running, Ended). For instance, screen 1 with Running shows only the pending tasks of the Team Manager screen. This provides a dynamic and user-friendly experience.

Managing ReportsDirect link to Managing Reports
As your application matures, you will manage its lifecycle across different environments, such as TEST (for development), UAT (for user acceptance testing), and PROD (the live production environment).
Reports are deployed with the rest of the project: in the Deploy mode of the project, a version gathers the interfaces, processes, reports and other resources of the application, and you move that version to UAT then PROD. This ensures that a report built and verified in a test environment can be reliably promoted to production without being rebuilt. See Test and Deploy.

- Link the Report to a Web Interface
To make your report visible and interactive for users, you need to show it in a web interface. There are two ways.
- The quick way: a Report interface.
- On the Build home, click the Interface tile (or Interfaces › New interface in the dock) and choose the Report type.
- Name it accordingly, for example:
Report - Budget Approval. - Choose the Followed process (
Budget Approval Management) and the Tables to include: My Tasks, My Requests, All Requests and My Drafts. Each table creates a report, and the interface groups them in tabs. - Set the Access rights and click Create interface.
- Each generated table ends with an Actions column and a View button on every row. In My Tasks and My Drafts (task reports), it runs the openTask action, which opens the task in the same tab, on the screen set for that step. In My Requests and All Requests, it runs openInstance, which opens the request.

- The custom way: a Table widget on an Empty interface. Create an Empty interface, then drag a Table widget onto its canvas and link it to the report you created in step 1, as described below.
- Configure the Table
A data table acts as the visual representation of your report data. Click the Table widget on the canvas: its settings open in the configuration panel.
- Link Data Source:
- In the Data source card ("Where do the rows come from?"), click the Report tile.
- Select My Tasks - Budget Approval - Report (the report you created in step 1). This is how the table knows where to pull its data from. You can also set the default sort and the display options there.

- Define the Table Columns
This is where you specify how each piece of information from your report looks in the table.
- In the Columns card, each column is a card: click Add a column to add one, drag the cards to reorder them, and click the gear of a column (Configure the column) to open its settings.
- For each column, you configure:
- Label: the user-friendly name that appears as the column header (e.g., "Request Number", "Created at", "Status").
- Field: the measure or field of the report (e.g.,
request_id,SF_createdAt,report_status). - Column type and Width: the type of the column (text, number, date, currency, buttons…) and its width. The display format of the dates is set in the Date format field under the columns (e.g.,
YYYY-MM-DD).
- Example columns:
request_idas "Request Number",SF_createdAtas "Created at" (date),SF_dueDateas "Due Date" (date),requestor_nameas "Requestor",report_statusas "Status", and a buttons column "Open" whose button runs the openTask action with the Task IdSF_input._id(the ID of the task of the row). In the settings of a buttons column, each button has an Action box: click it to open the actions drawer and add this action. - The User views option lets each user save their own filters, column order and widths (see User Views).

- Customize Display (Optional)
Softyflow provides extensive customization options to enhance the user experience of your report.
- Styling: Apply custom styling to the table or its cells.
- Additional Widgets: Add other widgets like search bars, advanced filters, tags, or colored status indicators next to or within the table.
- Conditional Formatting: Apply conditions to highlight certain values (e.g., color rows red for "Rejected" status, or green for "Approved").
- Save and Preview the Interface
It's crucial to regularly check your work to ensure everything looks and functions as expected.
- Save the Web Interface: the builder saves automatically (indicator Saved); click Save interface in the right rail or press Ctrl + S to save at once.
- Preview as End-User: Click View interface (the eye in the right rail) to open the interface in TEST in a new browser tab. This allows you to test the layout, responsiveness, and data correctness exactly as an end-user would see it.
- Final Report View
The final user view of your report web interface will show a dynamic table populated with live data from your budget approval requests. The tabs and filters you configured will enable users to efficiently access pending tasks, their own requests, or review historical completed requests. Everything is visible and interactive directly within the Softyflow platform UI.

This completes the setup of a report interface that allows managers to view and interact with budget requests in a user-friendly, segmented layout, greatly enhancing the usability of your Softyflow application. Learn more about reporting and explore our reports documentation.
5. Create a BackofficeDirect link to 5. Create a Backoffice
To effectively manage and store all the budget approval requests, and the data associated with them, you can create a dedicated Backoffice using Softyflow. A Backoffice provides a user-friendly interface for administrators or specific roles to directly view, add, edit, and delete records within your application's database collections. Learn more about database integration.
Step-by-Step Guide: Building Your BackofficeDirect link to Step-by-Step Guide: Building Your Backoffice
Create a Back office interface:
- On the Build home of your project, click the Interface tile, or open Interfaces in the project dock and click New interface.
- In the Select your interface type dialog, choose Back office.
- Enter a Name: In Interface name, provide a clear name, for instance:
budget-approval-backoffice.
Backoffice Setup (Configure the data):
Edit mode: where the form opens to add or edit an item:
- In a popup: the form opens over the list. Best for short forms.
- In a separate page: two interfaces are created, the List and the Form. Best for long forms.
- The Recommended badge moves to In a separate page above 8 fields.
Collection: This is a crucial choice:
- New collection: Softyflow creates a new database collection with the interface. It is named after the interface, in lower case, with
_instead of spaces and_dbat the end: herebudget-approval-backoffice_db. - Existing collection: if you already have a collection (e.g., one you created manually for your budget requests), pick it in Collection to use.
- New collection: Softyflow creates a new database collection with the interface. It is named after the interface, in lower case, with
Form fields: the fields of the form, separated by commas.
:Xsets the type,*makes the field required and the options of a list go between brackets. For ourbudget-approval-backoffice, type:*Name:T, Manager:U, Start date:D, Status:S(Open/Closed)The types are
TText,SDropdown,RRadio buttons,CCheckboxes,DDate,UUser andFFile; you can also click a type above the field to add one. Each field appears as a chip below, and each choice field creates a custom list with its options.Access rights: who can open the back office (Signed-in users, Selected roles or Public). For a back office, prefer Selected roles.
Will be created sums up what the dialog creates: here 1 interface, the collection
budget-approval-backoffice_dband 1 custom list.Click Create interface.

- Configure the Backoffice Table:
- The new interface opens in the builder. It already contains an Ajouter (Add) button, an Import en masse (mass import) button, a table connected to the collection, with an Operations column (Modifier to edit, Supprimer to delete), and the popup form with the fields you listed.
- Add/Edit Columns: select the table. In its Columns card, you can add, edit, or remove columns (Add a column), change their label, type and width, and drag the cards to reorder them. The Data source card shows the Collection tile and the collection it reads.
- Ensure your table displays relevant fields like
name,managerandstart_date, and, if you store them in the collection, fields likerequest_id,status,totalandrequest_titlefrom your budget request data.

Save and Run Your Backoffice:
- Save Interface: the builder saves automatically; click Save interface in the right rail (or press Ctrl + S) to save at once.
- View Interface: Then, click View interface (the eye in the right rail) to open your backoffice in TEST. It will open in a new browser tab.
Backoffice Preview (Runtime View):
- In the runtime view of your backoffice, you can now interact with your data:
- See the list of entries: All records currently in your connected database collection will be displayed in the table, with Search, Export, print and refresh buttons.
- Add New Entry: Click the Ajouter (Add) button above the table to add a new record to your collection with the popup form. This can be useful for testing or manual data entry.
- Edit or Delete Entries: Within the Operations column, you'll find the buttons to edit an existing entry (the gear, Modifier) or delete it (the bin, Supprimer).
- Import en masse loads many entries at once from an Excel file.
- In the runtime view of your backoffice, you can now interact with your data:


Verify Database (Optional but Recommended)Direct link to Verify Database (Optional but Recommended)
It's good practice to verify your database collection directly:
- Open the Collections: In the project dock, open Collections (or use Collections in the dock of the workspace, shortcut G C, to see the collections of every project). The panel lists the collections of the project: click yours, e.g.
budget-approval-backoffice_db.

- Look at the data: the collection page shows, on the left, the tiles Overview (the number of Documents and the Size in each environment, with Open as JSON, Download, Import, Migrate and Clear) and Documents (the documents of TEST, UAT or PROD, page by page).
- Check Access Rights: in Rights, ensure that the necessary access rights (Create, Read, Update, Delete) are set for the relevant roles (Add a role, then Ctrl + S). With no role, nobody can use the data of the collection. This controls who can perform what actions on the data.
- Use Migrate (if needed): Migrate copies the documents of the collection from one environment to another (for example from TEST to UAT), for instance to start UAT with reference data. Usages finds the interfaces, processes and APIs that use the collection.

This completes the backoffice setup, providing you with a central interface to manage and audit your budget approval request records efficiently. See MongoDB Collections for more.
Congratulations! 🎉Direct link to Congratulations! 🎉
You've successfully built your first complete Softyflow application! Your Budget Approval Request Application now includes:
- ✅ User-friendly form with web interface design
- ✅ Automated workflow using process design
- ✅ Data storage with MongoDB collections
- ✅ Interactive reports with reporting tools
- ✅ Administrative backoffice for data management
Next StepsDirect link to Next Steps
Now that you've mastered the basics, here are some ways to expand your knowledge:
Build FasterDirect link to Build Faster
- Flowy AI - Describe an application in plain language and let Flowy build it, or ask Flowy to change an existing project
- Workflow wizard - Generate a request form, its approval process, its reports, a dashboard and a menu in one step
Explore Advanced FeaturesDirect link to Explore Advanced Features
- Integration - Connect to external APIs and systems
- Authentication - Set up SSO and user management
- Mail Configuration - Configure email notifications
- Scheduling - Automate tasks and processes
Learn More About DevelopmentDirect link to Learn More About Development
- Test and Deploy - Best practices for deployment
- Monitor and Run - Track your applications in production
- SDK Documentation - Advanced customizations
- Node.js Integration - Server-side programming
Watch Video TutorialsDirect link to Watch Video Tutorials
- Web Modeler Videos - Visual interface design
- Process and Reports Videos - Workflow automation
- Database Videos - Data management
Administration and SecurityDirect link to Administration and Security
- User Management - Manage users and permissions
- Role Management - Define access controls
- Settings - Configure your environment
- Logs - Monitor and troubleshoot
Keep LearningDirect link to Keep Learning
- Review the core concepts to deepen your understanding
- Check out the getting started guide for more comprehensive information
- Stay updated with our latest release notes
You're now ready to build more complex applications with Softyflow. Happy building! 🚀