Skip to main content

I’m using the Google Drive App Extension to to automatically update a file in Google Drive with specific Labels. In the Google Drive API, I need to specific the unique fileId for the file I’m trying to edit. For each zap, I would like to dynamically update the fileId. How do I update this? 

 

 

Hi @DocumentalWhop 

Good question.

Please link to the GDrive API endpoint docs that you are referencing.


@DocumentalWhop

In the Query Parameters, you don’t need to specify the “fileId” since that’s already specified in the URL with {{fileId}}

 

Instead, you need to define the “fileId” as an input.

 


Here’s the Google Drive API link. You see in the HTTP request that the URL destination requires a fileId field.

https://developers.google.com/drive/api/reference/rest/v3/files/modifyLabels


Thank you Troy, your solution worked!