How to Extract File & Folder IDs from Google URLs without Regex in Zenphi
If you build workflows in Google Workspace, you’ve likely needed to extract a Document, Sheet, Slide, File, or Folder ID from a full URL so you could pass it to downstream actions like Move File, Copy File, or Read Document.
In the past, extracting that unique ID meant writing custom Regular Expressions (Regex) or setting up custom scripts.
With Zenphi’s new Extract ID from URL action, you can parse any standard Google link instantly without complex formulas or custom code.
Key Benefits
No Connection Required: Runs as an internal utility action, so you don’t need to set up or manage Google connection credentials.
Supports All Standard Links: Works automatically across Google Docs, Google Sheets, Google Slides, Google Drive Files, Folders, and query-parameter links.
Clean ID Output: Generates a single string token named ID that you can directly map into subsequent steps.
Automated Workspace Management just got easier, easily combine the extracted ID token with actions like Move File, Copy File, or Trash Item to organize your Google Drive seamlessly.