How to create and attach a file to and entity, using a script?

I see the Fibery API Documentation page indicates the ability to upload and download files, but not to create a file programmatically.

My goal is to create and attach files which contains:

  • Text received from external API services (like AI models)
  • Text present in entity rich text fields (like the Description field)

The Fibery API is designed to allow you to query and update the contents of a Fibery workspace. As you say, this includes uploading an downloading files.
If you want to create files, this is something that you would need to do externally. There are no doubt lots of services which have APIs for making files from source data, or you could write your own.

Within Fibery automations, it is possible to create PDF files as attachments to an entity, but that is the only format supported.

1 Like