Welcome to the Melbi Tutorial!

This tutorial will teach you how to write Melbi expressions step by step. Whether you’re writing email rules, stock triggers, form validation logic, or custom business rules, this guide will help you get started.

Who is this tutorial for?

This tutorial is designed for expression writers - people who need to write rules and logic in Melbi. You might be:

  • A power user configuring email filters or automation rules
  • Someone creating validation rules for forms or data
  • A professional hired to write business logic expressions
  • A network engineer filtering packets
  • Anyone who needs to express conditional logic without writing full programs

You don’t need to be a programmer, but some familiarity with basic concepts (like numbers, text, and “if-then” logic) will help.

What you’ll learn

  • How to use Melbi as a calculator
  • Working with variables and building complex expressions
  • Text manipulation with strings
  • Making decisions with conditionals
  • Working with collections of data
  • Pattern matching for handling different cases
  • Creating reusable logic with functions

Interactive playground

Each tutorial page includes an interactive playground at the top. You can:

  • Type expressions and see results instantly
  • Click the ▶️ button on any code example to load it into the playground
  • Experiment with your own variations

Let’s get started!


Table of contents