Temporary File Uploader icon

Temporary File Uploader

Store files temporarily and get a public URL on the same domain as n8n.

Actions4

File → Delete

AI-generated

Summary

Delete a temporary file by ID or purge all active files.

Inputs

  • deleteMode — Whether to delete a single file by its ID or purge everything.
  • deleteFileId (required) — The unique 12-character ID of the file to delete.

Output shape

array of execution results

Each result item contains a json object. In specific mode: { success: true, deletedId: '...', deletedFile: '...' }. In all mode: { success: true, message: 'Purged all temporary files.', deletedCount: <number> }. If continueOnFail is enabled and an error occurs, the result includes { error: '...' } instead of throwing.

Examples

Example 1: Specific delete

Set deleteMode to specific and provide a 12-character deleteFileId. The node locates the file whose name starts with that ID, removes the file and its .meta metadata, and returns success with the deleted ID and filename per input item.

Example 2: Purge all

Set deleteMode to all. The node deletes every file (including .meta files) in the temporary storage directory and returns the total count of non-meta files removed along with a success message.

Links

Discussion