HTTP File Response (Activity)


  • Purpose: To send a file as the response to an HTTP request received by an "HTTP Endpoint" activity.

  • Functionality: When used in conjunction with an "HTTP Endpoint", the "HTTP File Response" activity allows the workflow to send a file (e.g., a document, image, or data file) back to the client that made the HTTP request. You can configure the file content, content type, and other HTTP response headers.

  • Use Cases:
    • File Download API: Creating an API endpoint that serves files for download when accessed via HTTP.
    • Generating Reports and Documents: Workflows can generate reports or documents and then use "HTTP File Response" to make them downloadable via a web request.
    • Serving Static Files Dynamically: Dynamically serving files based on workflow logic in response to HTTP requests.