AgentGen icon

AgentGen

Generate PDFs and images from HTML using the AgentGen API

Upload Temp File

AI-generated

Summary

Upload a file to the AgentGen API as a temporary resource. The file is auto-deleted after 24 hours and can be referenced in HTML templates.

Inputs

  • binaryPropertyName (required) — Name of the binary property on the incoming item that contains the file to upload. Defaults to 'data' if not specified. This is the binary field name from a previous node (e.g. 'data' from an HTTP Request or Read Binary File node).
  • filename — Override the filename sent to the API. Defaults to the filename from the binary data. Placeholder: 'image.png'.

Output shape

object

The JSON response from the AgentGen API upon successful upload, containing temporary file metadata suitable for use in HTML templates.

Links

Discussion