Uploading a file with Make

Hey guys,
Does anyone know how to get a file uploaded with Make?

I don’t have an example, but the Fibery API appears to support it, so it should be possible.

Use the HTTP module

Here is documentation how to get your api key

Here is documentation to attach a file:

Here is an example that would attach the file from URL to the database phones and in that database to the entity that has serialNumber equal to XXXX:

mutation {
  phones(serialNumber: { is: "XXXX" }) {
    addFileFromUrl(
      name: "NAME_YOUR_FILE"
      url: "URL_TO_YOUR_FILE"
    ) {
      message
    }
  }
}