Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation retrieves a list of all available expense categories for a specified account. It is useful in scenarios where you need to categorize expenses or want to present users with predefined expense categories from an external system. For example, a finance automation workflow could use this node to fetch valid expense categories before creating or validating expense reports.

Properties

Name Meaning
Account Id Identifier of the account to query expense categories for

Output

The output contains a JSON array listing all expense categories associated with the given account. Each item in the array represents one expense category, typically including details such as category name and identifier. This allows downstream nodes to process or display these categories.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential configured in n8n to authenticate requests.
  • The node interacts with an external API endpoint defined by the base URL set in the credentials.
  • Proper network access to the external service is necessary.

Troubleshooting

  • Missing or invalid Account Id: Ensure the "Account Id" property is provided and correctly formatted; otherwise, the API call will fail.
  • Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
  • Network issues: Check connectivity to the external API endpoint.
  • Unexpected response format: If the API changes, the node might not parse the categories correctly; verify API version compatibility.

Links and References

  • Refer to the external API documentation for expense categories to understand the data structure and authentication requirements.
  • n8n documentation on setting up API credentials and using HTTP request nodes may be helpful.

Discussion