Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node updates account codes in an external system via an API. It is useful when you need to modify existing account code details programmatically within an n8n workflow, such as updating financial or organizational account metadata.

Typical use cases include:

  • Automating updates to account codes after changes in accounting systems.
  • Synchronizing account code information between different platforms.
  • Bulk updating account codes based on external triggers or data sources.

Properties

Name Meaning
Account Id Identifier of the account whose account code you want to update.
Body JSON object representing the account code fields to update (excluding autogenerated fields).

Output

The node outputs a JSON object representing the updated account code as returned by the API. This typically includes all the fields of the account code after the update operation has been applied.

No binary data output is expected from this node.

Dependencies

  • Requires an API key credential for authenticating requests to the external service.
  • The base URL for the API must be configured in the node credentials.
  • The node uses standard HTTP headers for JSON content type and accepts JSON responses.

Troubleshooting

  • Invalid Account Id: If the provided account identifier does not exist, the API will likely return a 404 error. Verify the account ID before running the node.
  • Malformed JSON in Body: The "Body" property expects valid JSON. Invalid JSON syntax will cause parsing errors. Use proper JSON formatting.
  • Authentication Errors: Missing or invalid API credentials will result in authentication failures. Ensure the API key and base URL are correctly set.
  • API Rate Limits: Frequent updates may hit rate limits imposed by the external API. Implement retry logic or reduce request frequency if needed.

Links and References

  • Refer to the external API documentation for detailed schema of account codes and update operations.
  • JSON formatting guides to help construct valid JSON bodies for the "Body" property.

Discussion