Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation allows you to add managers for a specific custom field value within an account. It is useful in scenarios where you want to assign or update managerial roles linked to particular custom field values, enabling more granular control and delegation based on custom attributes.

For example, if you have a custom field representing project teams, this operation can add managers responsible for a specific team by targeting the corresponding custom field value.

Properties

Name Meaning
Account Id Identifier of the account where the custom field exists.
Custom Field Id Identifier of the custom field to which managers will be added.
Custom Field Value Id Identifier of the specific value within the custom field for which managers are assigned.
Body JSON object containing the details of the managers to add. This should be a valid JSON structure specifying manager information.

Output

The node outputs JSON data reflecting the result of the operation, typically including confirmation of the managers added or updated for the specified custom field value. The exact structure depends on the API response but generally includes identifiers and status information related to the update.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authentication with the external service managing custom fields.
  • The node expects a base URL configuration for the API endpoint.
  • The request content type is application/json.

Troubleshooting

  • Invalid Identifiers: Errors may occur if the Account Id, Custom Field Id, or Custom Field Value Id are incorrect or do not exist. Verify these IDs before running the node.
  • Malformed JSON Body: If the Body property contains invalid JSON, the request will fail. Ensure the JSON is well-formed and matches the expected schema for adding managers.
  • Authentication Issues: Missing or invalid API credentials will cause authorization errors. Confirm that the API key or token is correctly configured.
  • API Endpoint Unreachable: Network issues or incorrect base URL settings can prevent successful requests. Check connectivity and configuration.

Links and References

  • Refer to your external service's API documentation for detailed schema of the body payload and response format.
  • n8n documentation on using JSON input properties and API credentials.

Discussion