Skip to main content
Tweet & extraction

data.tweet.break — Mini Tweet Break

Breaks a tweet object into fields (mini tweet schema). Inputs Outputs

data.tweet.breakFull — Full Tweet Break

Breaks a full tweet payload into fields (including subtweet when available). Inputs Outputs Same as data.tweet.break, plus:

data.tweet.toUrl — Tweet To URL

Converts a tweet to its canonical X URL. Inputs Outputs

data.tweet.waitForSubtweet — Wait For Subtweet

Attempts to fetch a full tweet payload for a mini tweet (including subtweet). Inputs Outputs
Variables

data.variable.get — Get Variable

Reads the current value of a named variable. Outputs Notes:
  • The node’s variable name comes from node metadata (stored under variable).

data.variable.set / data.variable.set::<id> — Set Variable

Writes a new value to a named variable. Inputs Outputs Notes:
  • The editor may display the node as “Set Variable” for a specific variable you picked.

Utilities

data.literal — Literal Value

Outputs a literal value configured in the sidebar. Outputs Metadata/config:
  • value — the literal JSON value
  • Value type — the port data type (UI typing + runtime coercion)
  • Value structure — scalar / array / map

data.getAtIndex — Get At Index

Gets an item from an array. Inputs Outputs Notes:
  • Negative indices return found = false and result = null.

data.cast — Cast

Casts a value to a configured target type/structure; on failure returns null. Inputs Outputs Config/metadata:
  • Configure the target type and target structure in the sidebar to choose the cast.

data.array.length — Array Length

Returns the length of an array. Inputs Outputs

data.array.includes — Array Includes

Checks if an array contains a value. Inputs Outputs Config:
  • caseSensitive (bool, default false) affects string matching.

data.drawTicker — Draw Ticker

Renders a ticker image and returns an image_url plus the raw image_blob. Inputs Outputs Notes:
  • Requires IPFS_HOST_URL in the runtime environment.
  • Upload is spawned asynchronously; the URL is “predicted” from the host + generated filename.