A workflow that decides
A lot of work is a simple rule: below a certain amount you approve a quote yourself, above it someone has to look along. You build such a rule with an If / Else step. Each outcome finishes in an End step: successful with a result, or failed with a clear reason. You try the workflow with two examples and read what it returns.
Give the trigger sample data
Click the trigger. Under Sample data is what the workflow starts with when you try it here; later the real request arrives there. Choose Code and put in a customer and an amount.
Add an If / Else
Add node opens the library. Choose If / Else and write down the rule: which field, which comparison, which value. Here: is the amount less than or equal to 1000?
An end for approved
Choose End in the library. This one ends successfully; under What does the workflow return you set the result. With {{field}} you take a value from the data.
An end for too high
Add another End and choose Failed, with a message. The message is the reason everyone reads back on the run later; {{field}} works here too.
Connect the steps
An If / Else has two exits: Yes (top) and No (bottom). Click an exit, then the dot on the left of the step it should lead to. Fit to view first puts everything in sight.
And now with 2500 euros
Put a higher amount in the trigger and run again. Now the rule goes to No, and the workflow ends as failed — with your message as the reason. A caller sees straight away why.
This guide was carried out step by step on 22 Oct 2026 by an automated test on Flow (version 3e563176).



































