Actions17
File → Move
AI-generatedSummary
Moves a Google Drive file to a destination folder in the same or another drive.
Inputs
- File (required) — The file to move. Can be selected from a list, pasted as a Drive link, or entered as a file ID.
- Parent Drive (required) — The destination drive. Defaults to My Drive. Can be selected from a list, pasted as a Drive link, or entered as a drive ID.
- Parent Folder (required) — The destination folder inside the selected drive. Defaults to '/ (Root folder)'. Can be selected from a list, pasted as a Drive link, or entered as a folder ID.
- Authentication — The credential type to use: OAuth2 (recommended) or Service Account. Defaults to OAuth2.
Output shape
The Drive API response for the updated file, typically including the file ID, name, and parents.
The moved file's metadata as returned by the Google Drive API.
Examples
Example 1: Move a file to a different folder
OAuth2