Does switching from My Drive to Shared Workspace Drive in Google Drive: New Files (Instant) reduce the number of calls by only checking for changes in the Shared Workspace Drive?

This topic was automatically generated from Slack. You can find the original thread here.

Hi there.

I’m currently using the “GOOGLE DRIVE: NEW FILES (INSTANT)” source and have applied a filter to just look at additions to a specific folder. It works just great.

However, I notice a significant amount of calls in the billing for this source. My guess is it gets triggered whenever there is a new file anywhere in “My Drive”. Is that correct?

If so, I see that this can be configured to work on a Shared Workspace Drive instead of the default My Drive.

My question is, if I created a folder in the Shared Workspace Drive (nothing else is on it), would that mean the source would only check when there was a change somewhere to the Shared Workspace Drive?

Yes, this source works with webhooks, and then applies filters at runtime to make sure the file meets your conditions.

However, unfortunately there’s no way to perform this filter on Google Drive’s end. The filtering is performed within the Pipedream source.

However, the first 30 seconds of compute time of an official Pipedream source connected to any workflow are free of charge.

Is it possible you might have an extra Google Drive source that is not connected to any workflows? Then it would be treated as independent and disqualify it from the first free credit rule.

Thanks . I’ll confirm there’s no other one there, and pilot the “Shared Drive” approach to see if that affects the frequency of requests.

Hmm that is strange. It shouldn’t be taking longer than 30 seconds to process a simple webhook.

Could you share the ID of the source when you have a chance? It looks like dc_******** in the URL when you have the source open in the dashboard.

It’s possible it is not exceeding, I just noticed 200-300 calls on a daily basis. Here’s the source
dc_PnuZPvq