Update File
Update file name and/or expiry by id.
Type
file.updateFolder
fileChannels
Any
Pipe
Value
Scope
Any
Update File changes a workspace file name and, optionally, expiry. It does not replace the binary. To replace contents, use Create File from URL with Update file id, or edit the file under Data → Files.
Leave Update expiry off to keep the current expiry. Turn it on to set a datetime, minutes from now, or clear expiry (empty Expires at).
Configure
| Setting | Description |
|---|---|
| File id | Workspace file id (required) |
| Name | Optional display name |
| Update expiry | When on, change expiry |
| Expiry mode | Shown when updating expiry — Datetime or Minutes from now |
| Expires at | Shown for Datetime — ISO datetime; empty clears expiry |
| Expires in (minutes) | Shown for Minutes from now |
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues after the file is updated |
Pipe schema
The next block reads this on the data pipe (pipe.value). The value is the updated file object (same shape as Get File): id, name, originalName, extension, type, mime, size, url, storage, expiresAt, createdAt.
Use case
- Rename a chat file. Copy or move it into the library if you need the id after the conversation is deleted.
- Set a short expiry on a generated export, or clear expiry instead of using Persist File.