academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Documents → Generate and download a building document PDF

AI-generated

Summary

Generate a building document PDF by sending the supplied document data to the academyFIVE API and return the PDF as binary output.

Inputs

  • data (required) — Document data containing required type, id, and attributes.
  • data.attributes.buildingId (required) — ID of the building for the document.
  • data.attributes.roomId — ID of a room, if the document is for a specific room.
  • data.attributes.customProperties — Custom property values for the document; when empty, the API's default values are used.

Output shape

One n8n item per input item, with the PDF in binary.data.

The item’s JSON includes mimeType, fileName, response headers, and statusCode. The filename comes from the response Content-Disposition header when present, otherwise from the request URL, with data as a fallback. With Continue On Fail enabled, request errors are returned as JSON in an item’s error field.

Links

Discussion