Hi.
This is just an idea that I wish to discuss with the good coomunity.
There has been a few attempts to create apps for “converting”/exporting files to PDF.
With the Nextcloud Office app, you can export a document to PDF natively when editing a document, by going to File->Export
The * files_scripts app has an API for registering new actions as well as it is easy to add new actions to the solution.
It would be a great - and enterprise friendly solution - to add an action that utilizes the Nextcloud Office app to convert a file to PDF. Simply point the action to the Nextcloud Office app, which through its “integration” with either OnlyOffice or Collabora, returns a PDF file from the provided office file.
This can avoid any extras on a server, like having a LibreOffice installation locally, or the need for a lot of locally running extra packages, when your choosen office suite already has that backed in.
By using the Register API function, you can make sure that the action is automatically added when you installs and setup Nextcloud office hence it will feel like a baked-in solution.
Then it is a matter of bundling a pre-made script, or provide documentation for copy-paste to create your own script. This way you can add this to Flow.