Is there a Prefect way to trigger a flow run when ...
# ask-community
h
Is there a Prefect way to trigger a flow run when a file is uploaded to s3? Or will I have to set off the flow in a Lambda Function triggered by the upload?
k
Hey @Hugo Kitano, exactly what you said. S3 -> Lambda Trigger -> Hit the GraphQL API
h
why specifically the graphql api? Is the Core Client API doable as well?
k
Oh yes for sure! The graphQL is just lighterweight for lambda, but yes you should be able to as well
👍 1