Use core nodes

How to use all 42 built-in trigger, logic, flow, data, file, code, and table nodes.

Zerodot includes 42 built-in core nodes in eight groups: Triggers, HTTP & RSS, Logic, Flow, Data, Files, Code & System, and Tables.

To add a node in the editor, click Add node (or press Tab) and search by name. See Workflow editor to connect nodes, use {{ }} expressions, and test steps.

For technical notes on data, file, and Code nodes, see Core nodes reference.

How nodes pass data

  • Every node gets the previous node's output as $input (either an object or a list of items).
  • Fields support expressions in {{ }}, for example {{ $input.email }}, {{ $trigger.body }}, {{ $node["HTTP Request"].data }}, or {{ $vars.api_base }}. See Variables.
  • Zerodot stores binary files inside an item as base64 data under binary.<property> (default binary.data).

Triggers

A trigger node starts a workflow. For setup details, see Triggers.

Node Type What it does Key settings
Webhook trigger.webhook Starts on an HTTP request (GET, POST, PUT, PATCH, DELETE, HEAD). Authentication (none, basic, header, jwt), response mode (immediate, lastNode, respondNode)
Schedule trigger.cron Starts on a cron schedule. Cron expression (default 0 * * * *), optional time zone
Manual trigger.manual Starts when you click Execute workflow. None
Error Trigger trigger.error Starts when a live run of another workflow fails. Set in Error workflow in Workflow editor
HTTP Poll trigger.http_poll Polls a JSON API on a timer and starts a run for each unseen item. Poll interval (default 300 seconds, minimum 15), itemsPath, keyPath, newestFirst, maxItems

HTTP & RSS

HTTP Request

http.request calls any HTTP API with GET, POST, PUT, PATCH, DELETE, HEAD, or OPTIONS.

  • Parameters and body: Send query parameters, headers, or request bodies in json, form-urlencoded, multipart-form-data, binaryData, or raw format.
  • Authentication and cURL: Attach a credential (http.basic, http.bearer, http.header, or oauth2.generic), or click Import cURL to fill the node from a cURL command. See Use credentials.
  • Pagination: Use built-in Pagination in updateAParameterInEachRequest or responseContainsNextURL mode with $pageCount and $response.
Option What it does
fullResponse Returns status, headers, and body and does not fail on error statuses.
neverError Stops the node from failing on HTTP error statuses.
responseFormat Sets how to read the response: autodetect, file, json, or text.
followRedirects / maxRedirects Controls whether the node follows redirects and sets the max redirect count.
ignoreSSL Ignores SSL certificate errors.
batchSize / batchInterval Sends requests in batches with a delay between batches.
proxy Routes requests through a proxy.
timeoutMs Request timeout in milliseconds (default 30000 ms).

RSS Read

rss.read gets an RSS 2.0, RSS 1.0, or Atom feed. Set url, an optional limit (0 returns all items), and timeoutMs.

Logic

If

logic.if sends items to the true or false output with one or more conditions (joined by And or Or). With no conditions, items go to false.

To check a field that might be missing, put both checks in one condition row:

{{ $input.a != null && $input.a.b > 1 }}

Switch

logic.switch sends items to one of several outputs, or to default when none match. It has two modes:

  • Simple (string match): Compares value (for example, {{ $input.status }}) against a list of cases (up to 20). Sends items that match to that case's output port.
  • Rules (typed conditions): Checks up to 20 typed rule groups (rule0, rule1, ...) with AND / OR logic and fallbackOutput (none, extra, or first).

Flow

Wait

flow.delay makes a workflow wait (up to 30 days max) in one of four modes:

Mode Label Behavior Key fields
time After a time Waits for a fixed time. amount, unit (seconds, minutes, hours, days)
atTime At specified time Waits until an ISO 8601 timestamp. at
webhook On webhook call Waits until a resume URL gets an HTTP call. If it times out, the run goes on with timedOut. method, auth, responseCode, timeoutAmount, timeoutUnit
form On form submitted Waits until someone submits a web form. Answers become the node output. formTitle, formDescription, formButtonLabel, formFields

Loop Over Items

flow.loop runs the nodes on its loop output once per item or batch (batchSize, 1–1000).

  1. Connect the loop output to the nodes in the loop body.
  2. Connect the last node in the loop body back to in.
  3. Connect done to the nodes that run after the loop ends.

On each pass, downstream nodes get { items, item, index, total }. Turn on reset to restart the loop when new data arrives.

Execute Workflow

flow.execute_workflow runs another workflow from database (by ID) or parameter (workflow JSON).

  • Mode: Pick once to pass all items in one run, or each to start one sub-run per item.
  • Wait: With waitForCompletion on (default), the node returns the sub-workflow's output. With it off, the node returns the run ID right away.

Respond to Webhook

flow.respond sends the HTTP response when the workflow's Webhook node has Respond set to Using 'Respond to Webhook' Node.

Set respondWith (json, text, allIncomingItems, firstIncomingItem, binary, redirect, jwt, noData), body, responseCode (default 200), and responseHeaders.

Stop and Error

flow.stop_and_error stops the workflow and fails the run with an errorMessage or errorObject. It has no output port. It triggers any error workflow that you set.

No Op

flow.noop passes input through with no changes. Use it as a placeholder or a clean join target.

Data

Zerodot includes 14 data nodes to shape, filter, combine, and convert items.

Node Type What it does
Set Fields data.set Adds or overwrites fields on items.
Filter data.filter Splits list into out (items that pass) and discarded (items that fail).
Sort data.sort Reorders list by field, at random, or with a comparator.
Limit data.limit Keeps max items from the first or last end of list.
Remove Duplicates data.removeDuplicates Removes duplicate items from list.
Aggregate data.aggregate Combines values across list into one item under outputField.
Summarize data.summarize Computes count, sum, average, min, or max over list.
Merge data.merge Waits for 2–10 inputs (input1..inputN) and combines them.
Rename Keys data.renameKeys Renames keys on an object or list of objects.
Replace Text data.replaceText Finds and replaces plain text or regular expressions.
Date & Time data.dateTime Gets, shifts, rounds, formats, extracts, or compares dates and times.
Crypto data.crypto Hashes text, signs HMACs, or makes random strings and UUIDs.
HTML Extract data.html_extract Reads values from HTML with CSS selectors.
XML data.xml Converts between XML strings and JSON objects.

How to use key data nodes

  • Set Fields (data.set): Use manual mode (with optional supportDotNotation for nested paths like user.name) or json mode (jsonOutput). Pick which input fields to keep with includeInOutput (allInputFields, noInputFields, specifiedFields, allFieldsExcept). Turn on duplicateItem to send copies.
  • Filter (data.filter): Filter items with Condition Builder (typed) or an expression, for example {{ $item.status == 200 }}. Items that match go to out; other items go to discarded.
  • Sort (data.sort): Reorder list with singleField, multipleFields, random, or code (a custom JavaScript (a, b) comparator).
  • Limit (data.limit): Keep max items from either the first or last end of list.
  • Remove Duplicates (data.removeDuplicates): Compare items with allFields, allFieldsExcept, or selectedFields. Set optional disableDotNotation and removeOtherFields.
  • Aggregate (data.aggregate): Combine values into outputField with individualFields or allItemData mode, using skipMissing or mergeLists.
  • Summarize (data.summarize): Compute count, sum, average, min, or max over list. Set groupBy to group results.
  • Merge (data.merge): Wait for 2–10 inputs (input1..inputN). Merge them with append, combineByPosition, combineByField (keepMatches, keepNonMatches, enrichInput1, enrichInput2, keepEverything), combineAll (every pair), or chooseBranch.
  • Rename Keys (data.renameKeys): Rename keys with exact old -> new pairs or regex patterns ($1, $2 capture groups).
  • Replace Text (data.replaceText): Find and replace plain text or a regular expression (i, m, s, u flags). It edits field, or the whole input string when field is empty. It writes the result to field or outputField.
  • Date & Time (data.dateTime): Run now, add, subtract, startOf, round, difference, format, extract, or toTimestamp. For format, pick a formatPreset (iso, locale, or custom; default YYYY-MM-DD HH:mm:ss). Set timezone to convert or format in a time zone, and includeInputFields to keep input fields.
  • Crypto (data.crypto): Run hash (md5, sha1, sha256, sha384, sha512), hmac (with secret), randomString (with bytes), or uuid. Returns hex or base64 in outputField.
  • HTML Extract (data.html_extract): Query HTML with CSS selectors. Returns text, html, attribute, or value (first match, or all matches with returnArray).
  • XML (data.xml): Convert with xmlToJson or jsonToXml. Set attributePrefix (default @_), textKey (default #text), explicitArray, and rootName (default root).

Files

Node Type What it does Key fields
Convert to File file.convert_to Makes a csv, json, or text file from list or text into binary.<property> (default data). Format, list or text, property
Extract from File file.extract_from Reads a csv, json, or text file from binary.<property> into items. Format, property, delimiter, header
Compression file.compress Runs compress or decompress on gzip files between binary.<property> and binary.<outputProperty>. Does not support zip. Operation (compress or decompress), property, outputProperty
Read/Write Files from Disk file.disk Reads or writes files inside ZERODOT_FILES_DIR on the worker. operation (read or write), path, property, append

Read/Write Files from Disk stays off when ZERODOT_FILES_DIR is empty. Paths outside that folder fail. See Configuration.

Code & System

Code

code.js runs JavaScript in an isolated sandbox (isolated-vm).

  • Modes: runOnceForAll gets all items in $input. runOnceForEach runs once per item with $json and $itemIndex.
  • Context and logging: Read $trigger, $node["Name"].data, $vars (read-only), and $run. Log with console.log, console.info, console.warn, console.error, or console.debug.
  • Limits: No network, filesystem, or Node APIs are present. Runs stop at timeoutMs (default 10000 ms) and 128 MB of memory.

See Core nodes reference for sandbox scaling.

Execute Command

core.execute_command runs a shell command on the worker and returns { exitCode, stdout, stderr }. Set timeoutMs (default 30000 ms) and optional failOnError.

This node stays off unless the operator sets ZERODOT_ENABLE_EXECUTE_COMMAND=true. See Configuration.

Tables

Use table nodes to read and write project data tables. See Data tables.

Node Type What it does Key fields
Insert Rows table.insert Inserts one row object or an array of rows. table, row data
Query Rows table.query Queries rows with filters, sort order, and cursor pagination. table, filter ({ field, op, value }, and, or), sort, limit, cursor (nextCursor)
Get Row table.get Reads one row by id or another unique column. table, by, value
Get All Rows table.get_all Reads all rows, or rows that match a filter and sort. table, filter, sort, optional limit
Update Rows table.update Updates rows that match. Needs filter unless all is on. table, filter, all, set or atomic increment
Upsert Row table.upsert Updates a row that matches unique column, or inserts it if missing. table, column, row data, optional increment
Delete Rows table.delete Deletes rows that match. Needs filter unless all is on. table, filter, all

Change this page on GitHub