Expression Builder
From guessing the formula
to learning it as you type
The workflow was visual. The data between its steps wasn’t.
SentinelOne’s Hyperautomation lets a security team automate how it responds to an alert. The response is a chain of steps on a canvas. When a step needs data from an earlier one, the user, usually a security analyst, writes an expression in its field: a small formula, like in a spreadsheet, that points at where the value comes from and says what to do with it.
The first expression field was built in 2024 with no design. It colored a valid expression and listed names, but explained nothing and showed no value. So a new user had to guess twice: what to type, and whether it worked. They found out only when the workflow ran. A wrong value came with no error, and finding why took hours. In an early 2025 study of Hyperautomation, every participant struggled to get data from earlier steps. Learnability scored 46.9 out of 100: grade F.

The help moves into the field
The Expression Builder teaches at the moment it’s needed. As the user types, it lists the functions that match and says what each one does, shows the value the expression returns, and flags an error before the workflow runs. In a long expression, clicking any part shows its value. Users who already know the syntax switch to Light Mode and keep typing.
My contribution
I led the design of the Expression Builder. Users needed three things: documentation for functions inside the product, a preview of the value an expression returns, and a way to debug it, so they could see that what they wrote was right. One call went against the UX lead’s proposal (Decision 01). Every part had to teach a new user at the moment of need, without slowing an experienced user down. I owned all of the design decisions below.
The Expression Builder, at a glance

- Guided Mode.On by default. Users who know the syntax switch to Light Mode.
- Where you write.Search for data or a function, or type the expression.
- Suggestions.Functions that match what’s typed. With nothing typed, data from earlier steps comes first.
- The field.The expression lives here. When the builder closes, it stands out from the plain text around it.
- Guided panel.What a function does, with an example, or the live value of the data you point at.
- Live result.The value the expression returns, or the error, as you type.
- Expression breakdown.Opens the expression part by part, with each part’s value.
Decision 01:
Guided Mode by default, Light Mode on demand
Two kinds of users write expressions. A new user has to learn each function on the way, with an example and a value. An experienced user who knows the syntax wants to type fast, and every extra panel slows them down. One view could not serve both.
I designed two modes instead of the old list of names or the single Guided Mode the UX lead proposed in review. Guided Mode opens by default because I designed for new users first, and it teaches each function with an example and a value. Light Mode, a short list without the help panel, is one click away for users who know the syntax, so they keep typing fast.
Decision 02:
The help stays with the field the user writes in
The user writes an expression in a small field. To get it right, they need to know what a function does, or what a piece of data holds, at the moment they type it.
I kept the explanation in one block with the field. Instead of a pane beside the settings or a window in the middle of the screen, the builder opens from the field itself. What the user types sits on top, and right under it is what a function does, or the value a piece of data holds. They write and understand in the same place, without looking away.
Decision 03:
Take an expression apart, as it was written
A long expression puts functions inside functions. When the final value came out wrong, the user couldn’t tell which part broke, and finding it took hours.
I kept the expression as one line, exactly as written, instead of redrawing it as a tree or a list the user would have to map back to what they wrote. Every part is underlined, and a click shows only that part’s value. Clicking from the inside out, the user watches the value change step by step and sees where it went wrong.
Decision 04:
A hint where the data goes
Users didn’t know a field could take data from earlier steps. Nothing in the empty field said so.
I made it discoverable that a field takes data, without replacing its example text. When the user clicks into a field, it shows “Add expression {{”, so they know data can go there. The field keeps its own example the rest of the time.
Decision 05:
The error shows up while the user types
A wrong value came with no error. The user found out only when the workflow ran, and then had to work back to find the cause.
I surfaced errors while the user is still writing. The error appears at the bottom of the builder, live as they type, so they fix it before the workflow runs, with the expression still in front of them.

Know it works before the workflow runs
The design lets a user new to Hyperautomation write an expression without guessing. They pick data from a list, read what each function does right beside it, and see the value, or the exact part that broke, before the workflow runs.
An expression you can read, check, and fix
Guidance
Every function explains itself right where you write it.
Certainty
You see the value before the workflow runs.
Control
When it breaks, you see exactly which part.