Is it possible to pass a file to a prefect flow vi...
# ask-community
c
Is it possible to pass a file to a prefect flow via a parameter? The file is small but would contain data that is required for the flow to execute some tasks. This would be run ad-hoc.
1
r
better to pass a reference to the file really and let the flow download it, as a param it gets stored in the db
c
hmm interesting. So something like: upload to S3 -> pass S3 link to prefect -> …
👍 1
Is there be a way to have a “sensor” or some sort of way to notice a new file in S3 to then trigger? @redsquare
r
I suspect that will be coming soon from what I have heard here
need to use a lambda from an s3 trigger currently to trigger a flow
c
@redsquare ahh gotchya- okay. Thats good to know.
👍 1