Get File
Get a workspace file by id.
Type
file.getFolder
fileChannels
Any
Pipe
Value
Scope
Any
Get File loads a workspace file by id. The record on the pipe includes name, MIME type, size, public URL, storage bucket, and expiry.
Copy the id from Data → Files (Copy Id) or from an earlier upload, table field, or Create File from URL step.
Configure
| Setting | Description |
|---|---|
| File id | Workspace file id (required; literal or variable) |
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues after the file is loaded |
Pipe schema
The next block reads this on the data pipe (pipe.value). The value is a file object:
| Key | Type | Description |
|---|---|---|
id | text | File id |
name | text | Display name |
originalName | text | Original filename when stored |
extension | text | File extension |
type | text | Generic type (image, video, PDF, and so on) |
mime | text | MIME type |
size | number | Size in bytes |
url | text | Public URL |
storage | text | Storage bucket |
expiresAt | text | Expiry datetime, or null if none |
createdAt | text | Created datetime when set |
Use case
- Load a file uploaded in chat, then send it with File output or ingest it with Add Datasource.
- Read
urlfor an API call that needs a public link.