Get google drive file ID from its URL


Simple question: how to get google drive file ID from its URL?

I tried to extract this by “search for files/folders” module but failed in providing URL address as a search key.

Pretty simple; just use the Split function and get the last value or the file id value as per the URL structure.

Do share your file URL and I will show you how to do it.

1 Like


Use this formula;

{{get(split(; “/”); 5)}}

Replace the bold part with your URL.

1 Like

Hi Manish,

Thanks for replay! Could you check why it didn’t work?

Scenario URL:

Just remove the “” from /

It was just in the display when I pasted the formula but not required in the formula.

1 Like