Build a workflow that receives a request, prepares its data and chooses a branch based on its amount. By the end, you will know how to read input, reuse an output and verify both paths.
Before you start
Open an editable workflow in your nodulz instance. This tutorial uses internal nodes only: no provider account, API key or publication is required.
The workflow to build
Manual trigger
Receives name, email and amount.
Edit fields
Prepares message and preserves amount.
IFamount ≥ 100
True
Priority response.
False
Standard response.
Both responses will also use Edit fields nodes. No message will be sent to a real recipient.
Add a condition: field nodes.set1.amount, operator Greater than or equal (gte), value 100.
Connect the true output to an Edit fields node. Enable Mapped fields only and set status to priority and message to {{ nodes.set1.message }}.
Connect the false output to another Edit fields node. Enable the same option and set status to standard and message to {{ nodes.set1.message }}.
Run the workflow again. The condition should produce result: true, only the true branch should run, and its response should be:
json
{"status":"priority","message":"Hello Ada"}
The IF node outputs the comparison result. To read the request within a branch, use the preparation output nodes.set1, rather than assuming the IF output still contains all its fields.
Check the other path
In the manual payload, replace amount: 120 with amount: 40, then run the full workflow again. This time, expect result: false and a response containing status: "standard".
If a value is missing or a branch does not run, compare the manual payload, preparation output, values evaluated by IF and its connections, in that order. The troubleshooting guide walks through these checks.
Use real data
To receive an HTTP request, follow the Webhook example. Adapt the expressions: a webhook JSON body is generally read as input.body.name, instead of input.name.
For an external action, choose its node and prepare the matching credential. Start with a test destination.
For several requests at once, continue with Process a list: filter contacts, then produce a response for each one.
To run at a fixed time, add a Schedule and check the timezone.
Before enabling an automatic trigger, read Test and publish. A simulated payload checks data processing; only a real event checks delivery from the service.
Build a workflow that receives a request, prepares its data and chooses a branch based on its amount. By the end, you will know how to read input, reuse an output and verify both paths.
Before you start
Open an editable workflow in your nodulz instance. This tutorial uses internal nodes only: no provider account, API key or publication is required.
name,emailandamount.messageand preservesamount.amount ≥ 100Both responses will also use Edit fields nodes. No message will be sent to a real recipient.
Supply a test request
{ "name": "Ada", "email": "[email protected]", "amount": 120 }These values will be accessible through
input.name,input.emailandinput.amount. The manual trigger does not wrap this object in abodyproperty.Prepare the data
Add Edit fields, then connect the trigger output to its input. Enable Mapped fields only and add these four rows:
name, value{{ input.name }}.email, value{{ input.email }}.amount, value{{ input.amount }}.message, valueHello {{ input.name }}.Run the workflow with Execute, then open this node’s output. It should contain:
{ "name": "Ada", "email": "[email protected]", "amount": 120, "message": "Hello Ada" }amountstays a number because its value is a standalone expression.messageis a string combining text and an expression.Choose a branch
nodes.set1.amount, operator Greater than or equal (gte), value100.statustopriorityandmessageto{{ nodes.set1.message }}.statustostandardandmessageto{{ nodes.set1.message }}.Run the workflow again. The condition should produce
result: true, only the true branch should run, and its response should be:{ "status": "priority", "message": "Hello Ada" }The IF node outputs the comparison result. To read the request within a branch, use the preparation output
nodes.set1, rather than assuming the IF output still contains all its fields.Check the other path
In the manual payload, replace
amount: 120withamount: 40, then run the full workflow again. This time, expectresult: falseand a response containingstatus: "standard".If a value is missing or a branch does not run, compare the manual payload, preparation output, values evaluated by IF and its connections, in that order. The troubleshooting guide walks through these checks.
Use real data
input.body.name, instead ofinput.name.Before enabling an automatic trigger, read Test and publish. A simulated payload checks data processing; only a real event checks delivery from the service.