Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Custom Fields → Get Custom Field Values

AI-generated

Overview

This node operation retrieves the values of a specific custom field associated with an account. It is useful when you need to fetch detailed or user-defined metadata stored as custom fields for accounts in your system. For example, if you have custom attributes like "Customer Tier" or "Subscription Type" defined per account, this operation allows you to get the current value of such a custom field by specifying the account and the custom field identifiers.

Properties

Name Meaning
Account Id Identifier of the account whose custom field value you want to retrieve.
Custom Field Id Identifier of the custom field for which you want to get the value.

Output

The output JSON contains the value(s) of the specified custom field for the given account. The exact structure depends on the API response but typically includes the custom field identifier and its corresponding value(s). This enables downstream nodes or workflows to utilize these custom field values for further processing or decision-making.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential or similar authentication token configured in n8n to access the external service.
  • The node uses a base URL and headers preset from credentials to communicate with the API.
  • The underlying API must support fetching custom field values by account and custom field IDs.

Troubleshooting

  • Missing or invalid Account Id or Custom Field Id: Ensure both identifiers are correctly provided and correspond to existing entities in the system.
  • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions.
  • API connectivity issues: Check network connectivity and the correctness of the base URL configured in credentials.
  • Empty or unexpected response: Confirm that the custom field exists for the specified account and that it has a value set.

Links and References

  • Refer to the external API documentation for details on custom fields and their retrieval endpoints.
  • Consult n8n documentation on setting up API credentials and using HTTP request nodes for similar integrations.

Discussion