Documentation Index
Fetch the complete documentation index at: https://docs.spreadjam.com/llms.txt
Use this file to discover all available pages before exploring further.
defineNode
Type-safe helper for creating node definitions. Returns aNodeDefinition with full TypeScript inference from your Zod schemas.
DefineNodeConfig
Unique identifier used in workflows.
Display name shown in the editor.
Description shown in the node palette.
'action' | 'logic' | 'integration' | 'transform'Zod schema for input validation.
Zod schema for output validation.
Async function implementing the node’s logic.
Estimated execution time in seconds.
Feature flags (
supportsRerun, supportsCancel, etc.).prepareNodeInput
Resolves all{{variable}} references in a node’s configuration object using an ExecutionContext.
prepareNodeInput calls context.interpolateObject(nodeSettings) internally. It’s a convenience wrapper for the common pattern of resolving node config before execution.