ONLYOFFICE Docs icon

ONLYOFFICE Docs

Consume ONLYOFFICE Document Server API (Conversion, Document Builder)

Document Builder → Append Content to Document

AI-generated

Summary

Appends paragraphs to the end of a document reachable by the ONLYOFFICE Document Server, then saves the result in the selected format. Each array entry becomes a paragraph; entries can be plain strings or objects with text and an optional bold flag.

Inputs

  • File URL (required) — URL of the input document, reachable from the ONLYOFFICE Document Server. You can use {{ $json.outputUrl }} from a previous Document Builder step.
  • Paragraphs (JSON Array) (required) — Array of paragraphs to append. Use strings for plain text, or objects such as { "text": "Note", "bold": true } for bold text. Other object entries use their text value, or an empty string if absent.
  • Output Mode — Choose File Data (default) to download the result into the configured binary field, or URL Only to return its Document Server URL without downloading.
  • Output Format — Format to save the result as: DOCX (default), PDF, or PPTX.
  • Output File Name — Output filename without the extension; defaults to output. Used for file data output.
  • Put Output File in Field — Binary field for the downloaded file; defaults to data. Used for File Data output.

Output shape

One output item per input item, containing JSON with fileName, operation, and outputUrl; in File Data mode it also contains the generated file in the configured binary field.

In URL Only mode, the JSON still includes fileName, operation, and outputUrl, but no binary file is returned. The output is saved on the Document Server.

Links

Discussion