Creating an HTTP response from a flow (Connect 2024)

If a flow is started by an HTTP request, it can create the HTTP response sent to the caller. This functionality is only available if the execution type of the flow is set to "Synchronous", i.e. the caller only receives an HTTP response after the flow has been executed. The execution type can be adjusted at any time in Flow Studio.

To generate a specific HTTP response, the flow must store it in the flow context using the JSON path $.out.eventData. If only the JSON content of the response is to be defined, it is sufficient to store this using the JSON path $.out.eventData.content.

The complete structure of the HTTP response can be found in the type "http_response" from the following JSON schema: