Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation updates the value of a specific custom field within an account. It is useful when you need to modify metadata or additional information stored as custom fields in an external system, such as updating labels or identifiers associated with those fields. For example, you might use this node to rename a custom field value label or synchronize an external ID after changes in another system.

Properties

Name Meaning
Account Id Identifier of the account where the custom field exists.
Custom Field Id Identifier of the custom field to update.
Custom Field Value Id Identifier of the specific custom field value to update.
Label (Optional) New label for the custom field value.
External Id (Optional) Unique identifier of the custom field value in the external system.

Output

The node outputs JSON data representing the updated custom field value object returned from the API. This typically includes the updated properties such as the label and external ID, along with their identifiers. The output does not include binary data.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node uses HTTP requests configured with base URL and headers to interact with the external API.
  • No additional environment variables are explicitly required beyond standard API credentials.

Troubleshooting

  • Missing Required Fields: Ensure that Account Id, Custom Field Id, and Custom Field Value Id are provided; otherwise, the API call will fail.
  • Invalid Identifiers: Using incorrect IDs may result in "not found" errors from the API.
  • API Authentication Errors: Verify that the API key or token is valid and has sufficient permissions.
  • Network Issues: Check connectivity and endpoint URLs if requests time out or fail.
  • Partial Updates: If optional fields like Label or External Id are omitted, they will not be changed.

Links and References

  • Refer to the external API documentation for custom fields management for detailed schema and error codes.
  • n8n documentation on creating and using custom nodes with API integrations.

Discussion