https://prefect.io logo
#prefect-community
Title
# prefect-community
g

Gustavo Frederico

05/06/2022, 1:39 AM
Hi, the page about v2 mentions “Event-Based Workflows” and “Trigger flows from external events…“. I read the API Reference but I couldn’t find how to do it. My use case is precisely this, but I don’t know if Prefect supports it. I need external systems to send events to persisted workflows and for these to continue after that. Can someone please point to the API Reference?
k

Kevin Kho

05/06/2022, 2:28 AM
For both 1.0 and 2.0, the model for event based flows is that your external event has some hook that hits our API to trigger a new flow run. You need a deployment registered ahead of time though. For 2.0, it looks like this
6 Views