Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation retrieves the workflow status of a specific expense within an account. It is useful for tracking the current state or progress of an expense approval or processing workflow in financial or accounting systems. For example, a user can check if an expense has been approved, rejected, or is still pending review.

Properties

Name Meaning
Account Id Identifier of the account
Expense Id Identifier of the expense

Output

The output JSON contains the details of the expense's workflow status. This typically includes information such as the current state of the expense in the workflow (e.g., pending, approved, rejected), timestamps, and possibly metadata related to the approval process. The exact structure depends on the API response but will be accessible under the json output field.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node uses a base URL configured via credentials to connect to the Payhawk API.
  • The node depends on the Payhawk API endpoint that provides expense workflow status information.

Troubleshooting

  • Missing or invalid Account Id or Expense Id: Ensure both identifiers are provided and correctly formatted; otherwise, the API call will fail.
  • Authentication errors: Verify that the API key credential is set up correctly and has sufficient permissions.
  • Network or API errors: Check connectivity and API availability; transient errors may require retries.
  • Unexpected response structure: If the API changes, the node might not parse the response correctly; verify API documentation for updates.

Links and References

  • Payhawk API Documentation (example link, replace with actual)
  • n8n OpenAPI Node integration documentation for custom nodes using OpenAPI specs

Discussion