FireberryTest icon

FireberryTest

Consume Fireberry API Test

Overview

This node integrates with the Fireberry API to update a specific record of a chosen object type. It allows users to specify the object type, identify the record by its ID, and set new values for one or more fields within that record. This operation is useful when you need to modify existing data in Fireberry, such as correcting information, updating statuses, or changing attributes dynamically based on workflow logic.

Practical examples:

  • Updating a customer’s contact details after receiving new information.
  • Changing the status of a support ticket to "resolved".
  • Modifying product inventory counts after a sale.

Properties

Name Meaning
Object Type Name or ID The Fireberry object type whose record you want to update. You can select from a list of available object types or specify an ID using an expression.
Record ID The unique identifier of the record to update within the selected object type.
Fields A collection of fields to update on the record. For each field, you specify:
- Field Name or ID: The field to update (selectable from the object's fields).
- Use Dropdown Values: Whether to pick from dropdown options.
- Dropdown Value Name or ID: If using dropdown, select the value.
- Field Value: The new value to assign if not using dropdown.

Output

The node outputs JSON data representing the result of the update operation. Typically, this includes the updated record's details or confirmation of success. The exact structure depends on the Fireberry API response but generally contains the updated fields and their new values.

If the node supports binary data output (not indicated here), it would represent file attachments or similar content related to the record.

Dependencies

  • Requires an API key credential for authenticating with the Fireberry API.
  • Depends on Fireberry service availability and correct configuration of API credentials in n8n.
  • Uses internal methods to load options dynamically for object types, fields, and dropdown values.

Troubleshooting

  • Common issues:

    • Invalid or missing Record ID: Ensure the record ID exists and is correctly specified.
    • Incorrect Object Type: Verify the object type matches the record you intend to update.
    • Field value mismatches: When using dropdown fields, ensure "Use Dropdown Values" is enabled and a valid dropdown option is selected.
    • API authentication errors: Confirm that the API key credential is valid and has sufficient permissions.
  • Error messages:

    • "The operation "update" is not supported!": This indicates an unsupported operation was requested; verify the operation parameter.
    • API errors returned from Fireberry will typically include messages about invalid IDs, permission issues, or malformed requests. Review these messages and adjust parameters accordingly.

Links and References

Discussion