Cogfy Tables icon

Cogfy Tables

Interact with Cogfy Tables API for collections, records, and fields management

Overview

The node interacts with the Cogfy Tables API to update a specific record within a collection. It allows users to modify fields of an existing record by specifying the collection and record identifiers along with the new field values. This is useful in scenarios where data stored in Cogfy Tables needs to be programmatically updated, such as syncing external data sources, correcting entries, or automating data maintenance workflows.

For example, you might use this node to update a customer's contact information in a CRM system or to change the status of a task in a project management table.

Properties

Name Meaning
Collection Id The unique identifier of the collection that contains the record to update.
Record Id The unique identifier of the record within the collection that you want to update.
Properties A JSON object representing the fields to update on the record. Each key is a field ID, and the value is the new field value.

Output

The node outputs the updated record data in the json output field. This typically includes the record's fields with their updated values as returned by the Cogfy Tables API after the update operation.

If the node supports binary data (not indicated here), it would represent any associated files or attachments related to the record, but based on the provided code and properties, the output focuses on JSON data representing the record.

Dependencies

  • Requires an active connection to the Cogfy Tables API.
  • Needs an API authentication token or API key credential configured in n8n to authorize requests.
  • The base URL for the API must be set in the node credentials configuration.

Troubleshooting

  • Invalid Collection or Record Id: If the specified collection or record ID does not exist, the API will likely return an error indicating the resource was not found. Verify the IDs are correct.
  • Malformed Properties JSON: The "Properties" input must be valid JSON. Errors parsing this JSON will cause the node to fail. Ensure the JSON syntax is correct.
  • Authentication Errors: Missing or invalid API credentials will result in authorization errors. Confirm that the API key/token is correctly configured.
  • API Rate Limits or Network Issues: Temporary failures may occur due to rate limiting or connectivity problems. Retrying after some time or checking network settings can help.

Links and References

Discussion