CAPTCHA solving is now available in Nstbrowser, with support for 5 CAPTCHA types.

Learn More

🚀

Platform Proxy is live in Nstbrowser — built-in proxies from$0.4/GB.

Start Now

  • Pricing
  • Documentation
EN
Contact

© 2026 NST LABS TECH LTD. ALL RIGHTS RESERVED

Products

Anti-Detect Browser
Nstbrowser RPA
AI Agent Skills
Proxy
Cloudflare Bypass
Web Unblocker

Solutions

Cloud Fingerprint Browser
Multi-Account Management
Web Scraping & Automation
Anti-Bot Solutions
Data Isolation for Enterprise Security
Claude AI IP Checker

Resources

Pricing
Download
RPA Marketplace
Affiliate Program
Partners
Blog
Release Notes

Support

Contact

Documentation

Legal

Terms
Privacy Policy
Cookies Policy

ProductsSolutionsResourcesSupportLegal

ProductsSolutionsResources

SupportLegal

© 2026 NST LABS TECH LTD. ALL RIGHTS RESERVED

Back to Blog
RPA Workflow Variables for reusable browser automation
rpaworkflow-variablesbrowser-automation

RPA Workflow Variables: How to Build Reusable Browser Automation

Turn one browser status check into a reusable RPA flow by defining JSON inputs, saving fresh observations, and testing three branches.
Dec 04, 2026Carlos Rivera

TL;DR

  • RPA workflow variables let one browser flow take different inputs and pass a node’s result to later steps.
  • Put operator-supplied settings in global variables. Store observed page values in the node that reads them.
  • Treat an empty read, a missing element, and a valid value that fails a comparison as three different outcomes.
  • Use the same test data when checking a branch. Validate the runtime in the installed client before repeating the workflow across Profiles.

What Are RPA Workflow Variables?

An RPA workflow variable is a named value a browser automation flow can read or update. A reusable status check might read its target URL and expected text from configuration, then save the text it actually sees into a second variable. The same nodes can check another authorized page when you change the inputs.

Role Example Where to define it
Input qa.expectedStatus Global configuration edited before the run
Observation observedStatus The node that reads the status element
Outcome Match, mismatch, or read error A branch result recorded with the run

Scope and lifetime depend on the product. For example, Power Automate for desktop distinguishes input, output, and flow variables in its designer. Check which names a node can read and how defaults are supplied in your actual runner. Power Automate variable management

How to Configure and Read Variables in Nstbrowser

The Nstbrowser Variables guide distinguishes global variables from values saved by nodes. It documents entering globals as JSON and using + Variables or interpolation in text fields. This example uses a read-only inventory status check on an owned test page. The JSON fixture was parsed and its example outcomes checked locally. Run the flow once in your installed client to verify its runtime behavior.

Step 1: Define the Inputs in Global Variables

In Global Variables, prepare the target URL and the expected text. The example URL is a placeholder for an approved staging page. A status label is a JSON string, so keep the quotes. Numbers and strings such as 0 and "0" are different JSON values. RFC 8259 JSON format

json Copy
{
  "qa": {
    "url": "https://inventory.example.test/status",
    "expectedStatus": "Ready"
  }
}

Step 2: Open the Test Page and Save the Observation

In the URL text field of a navigation node, insert ${qa.url} where the field supports interpolation. On the test page, use Get Element Data to read status text into observedStatus, as described in the Nstbrowser Get Data guide. Use a stable selector owned by your app, such as [data-testid="inventory-status"] where the node accepts CSS. Inspect the selected element before adding the comparison. A long selector tied to a page’s structure can break when the layout changes. Playwright locator guidance

Step 3: Compare the Values and Review the Branch

Use an IF node to compare the saved observation with the expected status using the fields supported by the installed builder. Select a variable from the picker when available. A value of Ready should take the match branch. A successful read of Maintenance should take the mismatch branch. A failed element lookup belongs in error handling. If the node returns blank text successfully, record an invalid observation before evaluating equality.

Try for Free >

How to Reuse the Flow Without Reusing an Old Result

Keep defaults in the configuration and produce a fresh observation on each path that uses it. A branch that skips the read must also skip the comparison. If a loop visits several approved pages, validate each observation before advancing the loop. Treat a blank value and a missing value separately if the report needs to distinguish them.

Use the RPA canvas debugger and detailed logs to check the order of operations. Log the run ID, input alias, node name, and branch result. Keep credentials and sensitive page text out of global JSON and debug records. If an execution policy continues after a node failure, add a check that requires a successful read from the current iteration before another node consumes the variable.

Test Three Outcomes Before Adding a Schedule

Staging fixture Expected result What to verify
Label shows Ready Match The read and comparison finish in the same run.
Label shows Maintenance Mismatch The flow records a valid read and the alternate branch.
Label is removed Read error The mismatch branch never receives an old value.

Run the cases on one test Profile. Then change only the input URL to a second approved fixture that uses the same selector. Repeat the checks and record which fields changed. This verifies the intended reuse boundary before the flow is scheduled.

Try for Free >

FAQ

Q: When should I use a global variable?

Use one for a workflow input that an operator needs to change, such as the staging URL or the expected label. Use a node variable for values produced during the current run.

Q: Why does my variable resolve to empty text?

Check that the producer node ran on the current path, that the name matches, and that the target element actually contains text. Then check whether the receiving field supports interpolation or requires the variable picker.

Q: Can I use the same workflow for several browser Profiles?

Test the flow with one authorized Profile first. Verify that each additional Profile reaches the intended app and supplies the right inputs. Check the installed client for supported scheduling and runtime behavior.

More
RPA Workflow Variables for reusable browser automation
rpaworkflow-variablesbrowser-automation
RPA Workflow Variables: How to Build Reusable Browser Automation
Turn one browser status check into a reusable RPA flow by defining JSON inputs, saving fresh observations, and testing three branches.
Dec 04, 2026Carlos Rivera
Browser Profile Logs and the first checks for troubleshooting
browser-profilestroubleshootingrpa
Browser Profile Logs for Troubleshooting: What to Check First
Separate profile launch, page requests, and workflow failures. Follow a synthetic staging incident and capture evidence for a clean rerun.
Dec 04, 2026Carlos Rivera
Ecommerce automation workflows, rules, and exceptions guide
ecommercebrowser-automationrpa
Ecommerce Browser Automation: A Guide to Profiles, RPA, and APIs
Choose browser profiles, native rules, APIs, or RPA for ecommerce workflows, with practical stock, fulfillment, and refund checks.
Dec 02, 2026Carlos Rivera
RPA vs Browser Scripting, choosing an automation approach
browser-automationrpaplaywright
RPA vs Browser Scripting: Which Automation Approach Should You Use?
Choose between a visual RPA flow and a browser script using a decision table, a tested Playwright QA example, a CSV workflow, and a pilot checklist.
Dec 02, 2026Carlos Rivera
RPA workflow troubleshooting guide for selectors, waits, and failed steps
rpabrowser-automationtroubleshooting
RPA Workflow Troubleshooting: Fix Selectors, Waits, and Failed Steps
Diagnose the first failed RPA step, repair selectors and waits, and verify the fix with one authorized staging Profile in Nstbrowser.
Nov 30, 2026Carlos Rivera
Cloud Browser vs VPS, choosing a deployment for browser automation
cloud-browserbrowser-automationvps
Cloud Browser vs VPS: Which Fits Your Automation Workflow?
Choose a managed cloud browser or a VPS by comparing session state, peak capacity, network access, and cost per accepted automation job.
Nov 30, 2026Carlos Rivera
Catalogue