Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

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" linked to accounts, this operation allows you to programmatically access those values.

Properties

Name Meaning
Account Id Identifier of the account whose custom field values you want to retrieve.
Custom Field Id Identifier of the specific custom field to get values from.

Output

The output will contain a JSON object representing the values of the requested custom field for the specified account. The exact structure depends on the API response but typically includes the custom field's value(s) and possibly metadata such as timestamps or identifiers.

If the node supports binary data output (not evident from the provided code), it would represent any file or media content related to the custom field, but no such indication is present here.

Dependencies

  • Requires an API key credential or similar authentication token configured in n8n to authorize requests.
  • Depends on the external service API that manages accounts and their custom fields.
  • The base URL for API requests must be set in the node credentials or environment variables.

Troubleshooting

  • Missing or invalid Account Id or Custom Field Id: Ensure these required properties are correctly set; otherwise, the API call will fail.
  • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions.
  • API endpoint unreachable: Check network connectivity and correct base URL configuration.
  • Unexpected API responses: Confirm that the custom field exists for the given account and that the API schema has not changed.

Links and References

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

Discussion