Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node updates account codes within a specified group. It is useful in scenarios where you need to modify or correct the details of existing account codes programmatically, such as updating financial records or synchronizing account data with an external system.

For example, if you manage multiple account codes for different departments and need to update their properties in bulk or via automation workflows, this node allows you to specify the group and provide the updated account code data in JSON format.

Properties

Name Meaning
Group Id Identifier of the account group whose account codes you want to update.
Body JSON object representing the account code data to update, excluding autogenerated fields.

Output

The node outputs JSON data reflecting the result of the update operation. This typically includes the updated account code information as returned by the API after processing the request.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authentication with the external service managing the account codes.
  • The node expects a base URL configuration for the API endpoint.
  • The input JSON body must be correctly formatted to match the expected schema of the account code object without autogenerated fields.

Troubleshooting

  • Invalid Group Id: If the provided Group Id does not exist or is incorrect, the API will likely return an error indicating the resource was not found. Verify the Group Id before running the node.
  • Malformed JSON Body: Providing invalid JSON in the Body property will cause parsing errors. Ensure the JSON is valid and matches the expected structure.
  • Authentication Errors: Missing or invalid API credentials will prevent successful requests. Confirm that the API key or token is correctly configured.
  • API Endpoint Issues: Incorrect base URL or network issues can cause connection failures. Check the API base URL and network connectivity.

Links and References

  • Refer to the external API documentation for detailed schema of the account code object and update operation.
  • Consult n8n documentation on how to configure API credentials and use JSON input properties.

Discussion