Write JavaScript (upcoming)
What You Can Do
Imports and Package Management
// @zw-run-locally
import dayjs from "[email protected]"; // auto-installs if needed
await zw.log("now", dayjs().toISOString());
// Example with options β 'isolate' scopes the package to this TaskBot only
const lodash = await zw.import({ isolate: true }, "[email protected]");
await zw.log("chunked result", lodash.chunk([1, 2, 3, 4], 2));Variables and Tables
const email = await zw.getRef({ ref_id: 3623, name: "Email" });
await zw.setRef({ ref_id: 3624, name: "Email copy", value: email });Local and Global State
Device Storage
Utilities
Browser and Context
Metadata
Local vs. Browser Execution
Using the zw APIs in No-Code Blocks
zw APIs in No-Code Blocks
Error Handling

Notes
Last updated