Mathias Herberts

    Mathias Herberts

    1 year ago
    Hi, is there a way to have event driven flows executions?
    Noah Holm

    Noah Holm

    1 year ago
    This is a sought after feature, there’s a PIN which also mentions one of the current suggestions on triggering flows based on e.g., lambdas
    Mathias Herberts

    Mathias Herberts

    1 year ago
    PIN 14 is marked as paused, so difficult to understand the progress on this type of feature. What is the most current pattern for simulating event based executions? Can external tools trigger a flow run via an API call for example? Would parallel executions of flows be possible?
    Noah Holm

    Noah Holm

    1 year ago
    I’m just a fan trying to learn more by interacting here so I’m going to let the team answer for potential progress. But yes you would be able to trigger flow runs with an API call
    Kevin Kho

    Kevin Kho

    1 year ago
    Here is a resource for that. Basically, you create a flow run with an API call.
    Mathias Herberts

    Mathias Herberts

    1 year ago
    Thanks
    b

    Boggio

    1 year ago
    I'm triggering a dag from another python app where I listen for events.
    prefect.Client(api_server, api_key, tenant_id, api_token).create_flow_run(version_group_id=CONSUMER_VERSION_GROUP, context={key: event})
    Kevin Kho

    Kevin Kho

    1 year ago
    You guys may be interested that you don’t even need the client. This can be done through stuff like cURL or javascript too.