Fireberry icon

Fireberry

Consume Fireberry API

Upload File

AI-generated

Overview

This node uploads a file to a specified record in Fireberry. It supports uploading files either from binary data provided by a previous node or by downloading a file from a given URL. This is useful for automating file attachments to records in Fireberry, such as attaching documents, images, or other files to CRM records or other object types.

Use Case Examples

  1. Uploading a PDF document from a URL to a Fireberry contact record.
  2. Uploading an image file from a previous HTTP Request node to a Fireberry product record.

Properties

Name Meaning
Object Type Name or ID The Fireberry object type to which the file will be attached. Can be selected from a list or specified by ID.
Record ID The ID of the specific record in Fireberry to attach the file to.
File Source Specifies whether the file to upload comes from binary data of a previous node or from a URL to download.
Input Binary Field The name of the binary property containing the file data when using binary data as the file source.
File URL The URL of the file to download and upload when using URL as the file source.
Custom File Name Optional custom name for the uploaded file. If empty, the original file name is used. Recommended to use alphanumeric characters without spaces.

Output

JSON

  • json - The JSON output contains the response or result of the file upload operation, including any metadata or status information returned by Fireberry.

Dependencies

  • Requires Fireberry API credentials for authentication.

Troubleshooting

  • Ensure the Object Type and Record ID are correctly specified and exist in Fireberry to avoid errors.
  • If using binary data, verify the binary property name matches the input data field.
  • When using a URL, ensure the URL is accessible and points to a valid file.
  • Common errors include unsupported operations or missing required parameters, which will throw descriptive error messages.

Discussion