genaiops-promptflow-template icon indicating copy to clipboard operation
genaiops-promptflow-template copied to clipboard

Passing webhook headers to a flow

Open simon-v-swyftx opened this issue 1 year ago • 0 comments

I've got a webhook being sent to a flow, where I need both the header and the body data, to be used in the flow.

I was referred to this example: https://github.com/microsoft/promptflow/blob/main/examples/tutorials/flow-deploy/create-service-with-flow/simple_score.py where you override a node's request directly.

Is there a flow-as-function example, say one of the web_classification flows, that would assist?

simon-v-swyftx avatar Feb 05 '24 04:02 simon-v-swyftx