Jump to
Routines
Learn about the key components that make up a routine.
What is a routine?
A routine is a portable automation recipe that captures how to perform a specific task in any web app. They can automate anything you can do in a browser.
Each routine includes:
- Name: A human-readable identifier
- Description: What the routine does
- Parameters: Input values the routine needs to run (e.g. URLs, credentials, text)
- Operations: The ordered browser actions that perform the automation
Example: Navigate to a dashboard, search based on keywords, and return results, all as a reusable routine.
Parameters
Parameters define the typed inputs that a routine needs to run. They are referenced inside operations using placeholder tokens like "{{paramName}}" or "\"{{paramName}}\"" (see Placeholder Interpolation below).
For complete parameter documentation including all supported types, validation options, and field definitions, see the Data models reference.
Example routine parameters
Date parameter:Operations
Operations define the executable steps of a routine. They are represented as a typed list and are executed sequentially by a browser.
For complete operation documentation including all operation types, field definitions, and usage details, see the Data models reference.
Example routine operations
Navigate operation:Example routine operations sequence
The example routine operation sequence above defines a UI automation flow: navigate → fill form → submit → wait for redirect → fetch API data → return results.
Placeholder interpolation
Placeholders inside operation fields are resolved at runtime:
- Parameter placeholders:
"{{paramName}}"→ substituted from routine parameters - Storage placeholders (read values from the current session):
{{sessionStorage:myKey.path.to.value}}: Access nested values in sessionStorage{{localStorage:myKey}}: Access localStorage values{{cookie:CookieName}}: Read cookie values{{meta:name}}: Read meta tag content (e.g.,<meta name="csrf-token">)