Node Templates
// Individual building blocks for your workspace workflows
export Drive File Reader
// Reads one Drive file exactly as it was uploaded (a PDF, a PowerPoint or Word file, an image, an archive or any other type) and outputs it as a File, for nodes that take the file itself rather than its text: e.g. Snapshot, to turn a PDF into page images. Also outputs its MIME type and size. For the text of a document or a transcript, use Drive Content Reader instead.
export save-file
// Save a workspace file or text into a Drive folder
export Drive Folder Reader
// Reads all documents from a Drive folder recursively. Returns document references that can be passed to a Drive Content Reader. Also returns every file with its sub-folder path, so a loop can save results into the same sub-folders elsewhere.
export Drive Image Reader
// Reads an image from Drive and outputs it as an Image file, plus its metadata: width, height and aspect ratio (EXIF orientation applied, so portrait vs landscape is reliable), MIME type, file size and camera EXIF (make, model, capture time; GPS is never output). Metadata is best-effort: if it cannot be read (e.g. HEIC), the image is still output and Warning says why.
export Drive Content Reader
// Reads the processed text content of one or more Drive files of any type: extracted text for documents (PDF, DOCX, TXT, MD) and speaker-labelled transcripts for audio and video. Multiple items are merged into a single output.
export List Artifacts
// List all Artifact ids on a Drive item (a Drive item can have many artifacts). Feed each id into Get Artifact to read its content.
export Get Artifact
// Read an existing Artifact's content and metadata from Drive by its id.
export Drive Video Reader
// Reads a video file from Drive and outputs it as a Video file.
export Drive Audio Reader
// Reads an audio file from Drive and outputs it as an Audio file.
export Drive 3D Model Loader
// Reads a 3D file from Drive (GLB, glTF, OBJ, STL, FBX, PLY, USDZ or .blend) and outputs it as a File for 3D nodes like Retopology.