Shared Folder Google Drive icon

Shared Folder Google Drive

Access shared folders and files from Google Drive with enhanced search capabilities. Full guide: https://dps.media/gioi-thieu-node-n8n-tim-kiem-file-trong-thu-muc-chia-se-google-drive/

Remove Item

AI-generated

Summary

Remove a file from Google Drive by its ID

Inputs

  • fileId (required) — The ID of the file to work with

Output shape

a list of objects indicating success and the removed file ID

Each item contains a 'json' field with {success:true, fileId:} and a 'pairedItem' with item index; may include error objects if continueOnFail is enabled.

Examples

Example 1: Delete a specific file

Set Operation to 'remove' and provide the fileId; leave other fields empty.

Example 2: Bulk deletion via workflow items

Pass multiple items to the node; each will attempt removal using its own fileId.

Discussion