# Using Building Blocks

## 1. Dynamic Inputs

All building block input fields support:

* References to variables and tables — "Hello {id: 123, name: "Profile name"}
* Code in inputs — "This is my secret password stored only locally: ${await zw\.deviceStorage.get("password")}"
* Spintax to randomize input — "{ Hi | Hey | Howdy }! How { are you | are things going }?" 

{% content-ref url="/pages/VkBlIOlZTIbg4RP3xRKC" %}
[Dynamic Inputs](/using-zerowork/using-building-blocks/dynamic-inputs.md)
{% endcontent-ref %}

***

## 2. Building Blocks

Below are the documentation pages for all building blocks in ZeroWork.

### Browser

{% content-ref url="/pages/395xCRwk7hIpu8ucOxeJ" %}
[Open Link](/using-zerowork/using-building-blocks/open-link.md)
{% endcontent-ref %}

{% content-ref url="/pages/MyN4fbozS2oQBkwzciwz" %}
[Save Page URL](/using-zerowork/using-building-blocks/save-page-url.md)
{% endcontent-ref %}

{% content-ref url="/pages/KBC6dSNlH0iyXVZeMhDB" %}
[Switch or Close Tab](/using-zerowork/using-building-blocks/switch-or-close-tab.md)
{% endcontent-ref %}

{% content-ref url="/pages/9rFFZv94xKnuoUfhE2US" %}
[Go Back or Forward](/using-zerowork/using-building-blocks/go-back-or-forward.md)
{% endcontent-ref %}

{% content-ref url="/pages/bruz6DvHGXIE42Ky8Bu5" %}
[Switch Frame](/using-zerowork/using-building-blocks/switch-frame.md)
{% endcontent-ref %}

{% content-ref url="/pages/jkYBGt5bEJHYayoHDaub" %}
[Browser Alert](/using-zerowork/using-building-blocks/browser-alert.md)
{% endcontent-ref %}

### Web Interaction

{% content-ref url="/pages/vTKkFCwMGX2mIbXQ0iy4" %}
[Click Web Element](/using-zerowork/using-building-blocks/click-web-element.md)
{% endcontent-ref %}

{% content-ref url="/pages/kQceSds9tcs3jxj5IAqK" %}
[Check Web Element](/using-zerowork/using-building-blocks/check-web-element.md)
{% endcontent-ref %}

{% content-ref url="/pages/3BBsordNOUt53T7iLulN" %}
[Save Web Element](/using-zerowork/using-building-blocks/save-web-element.md)
{% endcontent-ref %}

{% content-ref url="/pages/soXP153aHKrdSwiEI2Gv" %}
[Insert Text or Data](/using-zerowork/using-building-blocks/insert-text-or-data.md)
{% endcontent-ref %}

{% content-ref url="/pages/7fuQCdYr3LTFDQSNbdQt" %}
[Hover Web Element](/using-zerowork/using-building-blocks/hover-web-element.md)
{% endcontent-ref %}

{% content-ref url="/pages/HvgEbrulNTVpOhTDHwT5" %}
[Select Web Dropdown](/using-zerowork/using-building-blocks/select-web-dropdown.md)
{% endcontent-ref %}

{% content-ref url="/pages/3z2ExPrfLntkc8y5NjNg" %}
[Keyboard Action](/using-zerowork/using-building-blocks/keyboard-action.md)
{% endcontent-ref %}

### Logic

{% content-ref url="/pages/xR120TGdP5r7VVuRMvOK" %}
[Start Condition and Set Condition](/using-zerowork/using-building-blocks/start-condition-and-set-condition.md)
{% endcontent-ref %}

{% content-ref url="/pages/NiZ1cE6yPtP9FuLysNpX" %}
[Start Repeat](/using-zerowork/using-building-blocks/start-repeat.md)
{% endcontent-ref %}

{% content-ref url="/pages/tCjjoxBw5MNrmzRvjLNe" %}
[After Repeat](/using-zerowork/using-building-blocks/after-repeat.md)
{% endcontent-ref %}

{% content-ref url="/pages/dD45R9cnUfZNqLZn3OOD" %}
[Break Repeat](/using-zerowork/using-building-blocks/break-repeat.md)
{% endcontent-ref %}

{% content-ref url="/pages/24PZyzWJjXsZra1cGqlE" %}
[Try-Catch](/using-zerowork/using-building-blocks/try-catch.md)
{% endcontent-ref %}

{% content-ref url="/pages/Fg4z6uynTlHywPJH7JQ7" %}
[Raise Error](/using-zerowork/using-building-blocks/raise-error.md)
{% endcontent-ref %}

{% content-ref url="/pages/3WmV2GBGxOPtF4E51326" %}
[Abort Run](/using-zerowork/using-building-blocks/abort-run.md)
{% endcontent-ref %}

### Data

{% content-ref url="/pages/WjtHtxxX09r0BXJwbGPQ" %}
[Update Data](/using-zerowork/using-building-blocks/update-data.md)
{% endcontent-ref %}

{% content-ref url="/pages/gGjUGgcUZiwF5qZY5GE7" %}
[Number Operations](/using-zerowork/using-building-blocks/number-operations.md)
{% endcontent-ref %}

{% content-ref url="/pages/1mWu5qFblHQ2gh7aaQNJ" %}
[Format Data](/using-zerowork/using-building-blocks/format-data.md)
{% endcontent-ref %}

{% content-ref url="/pages/CMCgN6FKFGx73MwE8FbK" %}
[Split Data](/using-zerowork/using-building-blocks/split-data.md)
{% endcontent-ref %}

{% content-ref url="/pages/q454BCStXMugHN4n137O" %}
[Apply Regex](/using-zerowork/using-building-blocks/apply-regex.md)
{% endcontent-ref %}

{% content-ref url="/pages/fWqv5wn2OPeHK8E5rOEW" %}
[Remove Duplicates](/using-zerowork/using-building-blocks/remove-duplicates.md)
{% endcontent-ref %}

{% content-ref url="/pages/mh5KZXcNV4OwT7uOet3A" %}
[Delete Data](/using-zerowork/using-building-blocks/delete-data.md)
{% endcontent-ref %}

### External

{% content-ref url="/pages/Dl2IiCB18XngokBNQ0h4" %}
[Ask ChatGPT](/using-zerowork/using-building-blocks/ask-chatgpt.md)
{% endcontent-ref %}

{% content-ref url="/pages/MwEiUpd8bJY336QUCIrH" %}
[Send Notification](/using-zerowork/using-building-blocks/send-notification.md)
{% endcontent-ref %}

{% content-ref url="/pages/f1o1B7ewaH1ptL5WMkC3" %}
[APIs: Send HTTP Request](/using-zerowork/using-building-blocks/apis-send-http-request.md)
{% endcontent-ref %}

{% content-ref url="/pages/MF29c3EkhotatZrl92B3" %}
[Write JavaScript](/using-zerowork/using-building-blocks/write-javascript.md)
{% endcontent-ref %}

### Files

{% content-ref url="/pages/1vfTS9H0fY0WetiPdCTL" %}
[Save File](/using-zerowork/using-building-blocks/save-file.md)
{% endcontent-ref %}

{% content-ref url="/pages/Jqa9Q68c9yuP5nkL0ISP" %}
[Upload File](/using-zerowork/using-building-blocks/upload-file.md)
{% endcontent-ref %}

### Tools

{% content-ref url="/pages/lQgCqnKaRT3Xk0vJ1lUc" %}
[Delay](/using-zerowork/using-building-blocks/delay.md)
{% endcontent-ref %}

{% content-ref url="/pages/nYcOryk5Vrroy6T1h7RG" %}
[Record Date](/using-zerowork/using-building-blocks/record-date.md)
{% endcontent-ref %}

{% content-ref url="/pages/0EjYWrZ1pfCijb8rJweW" %}
[Take Screenshot](/using-zerowork/using-building-blocks/take-screenshot.md)
{% endcontent-ref %}

{% content-ref url="/pages/AD0SWa5wZy0d5NpYLgjN" %}
[Save from Clipboard](/using-zerowork/using-building-blocks/save-from-clipboard.md)
{% endcontent-ref %}

{% content-ref url="/pages/Av5BGBAs3WiVGjOU4nLb" %}
[Log](/using-zerowork/using-building-blocks/log.md)
{% endcontent-ref %}

***

## 3. Building Block Options

Learn about options like deactivating building blocks, skipping a loop, auto-aligning blocks, and selecting multiple blocks.

{% content-ref url="/pages/PIfcQHmWHQmsg7qUUBmK" %}
[Building Block Options](/using-zerowork/using-building-blocks/building-block-options.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zerowork.io/using-zerowork/using-building-blocks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
