OnlyOffice

Interact with OnlyOffice files and folders

File → Create

AI-generated

Summary

Create a new file in OnlyOffice within a specified parent folder, selecting the file type and specifying its name.

Inputs

  • Parent Folder ID (required) — ID of the parent folder where the new file will be created (e.g. @my for My Documents).
  • Title (required) — Name of the new file to create, without extension.
  • File Type (required) — Type of file to create, choosing among Document (.docx), Spreadsheet (.xlsx), or Presentation (.pptx).

Output shape

a single JSON object representing the created file metadata as returned by the OnlyOffice API

The output includes the API response for the created file. The Title input is appended with the appropriate extension based on the File Type. If an error occurs and 'Continue On Fail' is enabled, an error message JSON object is returned.

Discussion