Lesson Guide: Working with Variables and Data Manipulation
Variables act as storage containers that hold, shift, or transform key data fields dynamically as information moves through your workflow canvas. This guide walks you through creating a custom tracking variable, configuring its data blueprint, and setting operation rules to modify your payload values automatically.
Step 1: Add a Variable Action Block
-
Open your flow builder canvas.
-
Click the small Plus icon (+) next to an existing canvas block (like your starting trigger) to pull open the Node Library drawer.
-
Type
varinto the top search bar, find the Variable action block underneath, and click it to open its configuration settings panel.
Step 2: Initialize a New Variable
-
Under Step 1: Select a Variable, click into the dropdown selection box.
-
Instead of picking an existing one, click Create new Variable from the bottom of the list to pull up the Variables management overlay.
-
Click the blue + Add Variable button to start creating a new tracking metric.
Step 3: Configure General Settings & Data Type
-
Inside the General settings tab, click into the name field and type out a clear title for your variable—for this lesson, name it
Account ID. -
Switch over to the Value tab located right next to General.
-
Click the Data Type dropdown list. Here, you can select architectures like integers, decimals, booleans, or files—for this lesson, select String to hold standard alphanumeric text structures.
-
In the Default Value input block below, type in a baseline fallback value, such as
null. -
Click the blue Apply button at the bottom right corner, and then click Close to return to your configuration drawer.
Step 4: Map Your Variable and Operation Behavior
-
Click back into the Select a Variable dropdown block under Step 1 and choose your newly built
Flow / Account IDvariable from the list. -
This action unlocks Step 2: Select an Action. Click its dropdown list to view your manipulation rules—such as Incremental, Decremental, or Reset. Select Set to manually dictate a new payload state.
Step 5: Assign Your Transformation Value
-
Move to Step 3: Type a Value.
-
Click inside the text field and enter the exact static text value, variable parameter tag, or system placeholder token you want to write into this block (e.g., type
1234). -
Once everything is filled out, click the blue Insert Node button at the bottom right corner of the drawer.
💡 What’s Next? Your variable action node is successfully placed on your canvas and ready to modify live workflows! Now that you have learned how to create and alter custom tracking attributes, you are fully equipped to build complex, multi-layered data structures. Keep exploring Noca Academy to learn how to tie these variables into advanced conditional front-end layouts!