https://prefect.io logo
Title
b

Benson Mwangi

07/08/2022, 9:32 PM
Hi, Using prefect 1.X and able to trigger a flow via a GraphQl endpoint (see sample response below). I was wondering if it's possible for a prefect flow to return a response (e.g. computed values or a generated file). { "data": { "create_flow_run": { "id": "b7f44e94-d899-4f1b-a854-98dff845a0e2" } } } Thank you
k

Kevin Kho

07/08/2022, 9:34 PM
The flow has no return in 1.0 so you kind of need your flow to write it somewhere to retrieve later.
I don’t think 2.0 can do it either because it’s not a server
b

Benson Mwangi

07/08/2022, 9:34 PM
Awesome. Thank you for your timely response