The last step of the flow is an HTTP Response that returns the PDF file, to be consumed by the caller.
I know that the PDF document is generated successfully because I can both download it from the step where it is created and I can attach it to an email step and view the correct pdf attachment when the email is received. The body of the flow generates a PDF document. There is an HTTP Request to trigger the flow.
I have created a flow that acts like a web service.