FireberryTest icon

FireberryTest

Consume Fireberry API Test

Overview

This node integrates with the Fireberry API to perform various data operations on Fireberry objects. Specifically, the Create operation allows users to create a new record of a specified object type in Fireberry by defining field values.

Common scenarios where this node is beneficial include:

  • Automating the creation of records in Fireberry from other workflows or external triggers.
  • Populating Fireberry databases with data collected from forms, APIs, or other sources.
  • Integrating Fireberry with other systems to keep data synchronized.

For example, you could use this node to create a new customer record in Fireberry whenever a new signup occurs on your website, mapping form fields to Fireberry object fields.

Properties

Name Meaning
Object Type Selected A hidden boolean indicating whether an object type has been selected (true if an object type is chosen).
Object Type Name or ID The Fireberry object type for which a new record will be created. You can select from a list of available object types or specify an ID using an expression.
Fields A collection of fields to set on the new record. For each field:
- Field Name or ID: Select the field to set.
- Use Dropdown Values: Whether to select a value from dropdown options.
- Dropdown Value Name or ID: If dropdown is used, select the dropdown value.
- Field Value: The value to assign if not using dropdown.

Output

The node outputs JSON data representing the newly created record(s) in Fireberry. The output structure typically includes the record's fields and their values as returned by the Fireberry API after creation.

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

Dependencies

  • Requires an API key credential for authenticating with the Fireberry API.
  • Depends on Fireberry API endpoints to create records and retrieve metadata such as object types, fields, and dropdown values.
  • Uses internal methods (executeCreateOperation etc.) to handle API communication.

Troubleshooting

  • Common issues:

    • Selecting an invalid or empty object type will cause errors.
    • Providing incorrect field names or values incompatible with the Fireberry schema may result in API errors.
    • Not enabling "Use Dropdown Values" when required for dropdown fields might cause validation failures.
  • Error messages:

    • "The operation "create" is not supported!": This indicates an unsupported operation was requested; ensure the operation parameter is correctly set to "create".
    • API errors related to authentication usually mean the API key credential is missing or invalid.
    • Validation errors from Fireberry often indicate mismatched field names or invalid field values.
  • Resolutions:

    • Verify that the object type is correctly selected.
    • Use the provided dropdowns to select valid fields and dropdown values.
    • Check API credentials and permissions.
    • Review Fireberry API documentation for field requirements.

Links and References

Discussion