Hey!
I have a url with a file on Google Drive.
What script in the function node can get the “file id” from the url Google drive?
Or can it be done in some other way?
You can use the following code:
items.forEach(item => {
item.json.fileId = item.json.col_3.split('/')[5];
});
return items;
Here the example workflow:
Thanks Jan!
I try it and response later.