academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Documents → Generate and download a building document PDF

AI-generated

Summary

Generate and download a building document PDF using the specified building and optional room and custom property values. The response includes the PDF as binary data.

Inputs

  • data (required) — Document data containing a required type, id, and attributes object.
  • data.type (required) — Document type.
  • data.id (required) — Document identifier.
  • data.attributes.buildingId (required) — ID of the building for which to generate the document.
  • data.attributes.roomId — Room ID, if the document is for a specific room.
  • data.attributes.customProperties — JSON object of custom property values. If empty, the API uses default values.

Output shape

One n8n item with the PDF in binary property data and JSON metadata.

Metadata includes mimeType, fileName, response headers, and statusCode. The filename is taken from the response headers or request URL when available.

Links

Discussion