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 financial or organizational account codes programmatically, such as updating accounting systems or synchronizing data between platforms. For example, if an organization restructures its chart of accounts, this node can automate the update process for multiple account codes within a group.

Properties

Name Meaning
Group Id Identifier of the account group whose account codes are to be updated (string, required)
Body JSON object representing the account code details to update, excluding autogenerated fields

Output

The node outputs JSON data reflecting the result of the update operation on the account codes. This typically includes the updated account code information as returned by the API or service it interacts with. There is no indication that binary data is output.

Dependencies

  • Requires an API key credential or similar authentication token configured in n8n to authorize requests.
  • Depends on an external API endpoint (base URL provided via credentials) that manages group account codes.
  • The node uses JSON input for the body and expects JSON responses.

Troubleshooting

  • Invalid Group Id: If the provided Group Id does not exist or is incorrect, the API may return an error indicating the resource was not found. Verify the Group Id before running the node.
  • Malformed JSON Body: The "Body" property must be valid JSON without autogenerated fields. Invalid JSON will cause parsing errors. Use proper JSON formatting.
  • Authentication Errors: Missing or invalid API credentials will prevent successful requests. Ensure the API key or token is correctly set up in n8n credentials.
  • API Endpoint Issues: Network problems or incorrect base URL configuration can cause request failures. Confirm connectivity and correct base URL in credentials.

Links and References

  • Refer to the external API documentation for the account codes service to understand the expected JSON structure for the update body and response format.
  • n8n documentation on using JSON parameters and configuring API credentials.

Discussion