I’d like to trigger some flows whenever a new file is added to a Google Drive folder. My current plan is to run a small python server that receives webhook calls from the Drive API, then uses the Prefect API to trigger the flows. Questions:1. Is the right Prefect API to use the GraphQL API mutations API
2. Is there anything like this around already? Would love to not reinvent the wheel and deploy a new service.
1 year ago
Hi @Jason Prado - the correct API call to use is
(the camelCased route is deprecated).Another option besides a standalone webserver would be to use something like AWS Lambda or Google Cloud function to create the call. Those typically incur a much lower overhead. This blog post might be interesting for your use case.