Pohoda Node icon

Pohoda Node

Stormware Pohoda Integration Node

Overview

The Pohoda Node integrates with the Stormware Pohoda accounting system, enabling users to perform various operations such as exporting data, creating entities, printing reports, and retrieving company information. Specifically, for the Faktury resource under the Company Info operation, the node fetches detailed information about the company associated with the authenticated Pohoda account.

This node is beneficial in scenarios where automated access to accounting data or company metadata is required within workflows, such as:

  • Automatically retrieving company details for reporting or validation.
  • Integrating Pohoda company info into CRM or ERP systems.
  • Using company metadata to customize invoices or other documents dynamically.

For example, a user might configure this node to fetch the company info and then use that data to populate fields in a customer-facing document or dashboard.

Properties

Name Meaning
XML Output If enabled (true), the node returns the raw XML response from the Pohoda API. Otherwise, it returns parsed JSON data representing the company info.
UTF8 Conversion If enabled (true), converts the response encoding from Windows-1250 to UTF-8 for proper character representation.

Output

  • When XML Output is false (default), the node outputs a JSON object containing the parsed company information under the mServer property of the response. This JSON structure represents the company's metadata as provided by the Pohoda API.

  • When XML Output is true, the node outputs the raw XML string response in the data field inside the json output.

  • The output is paired with the input item index to maintain correspondence in batch executions.

  • No binary data output is produced for the Company Info operation.

Dependencies

  • Requires an API authentication credential with access to the Pohoda API (username and password).
  • The node makes HTTP requests to the Pohoda API base URL configured in the credentials.
  • Uses external libraries for:
    • XML building and parsing.
    • Character encoding conversion (Windows-1250 to UTF-8).
  • n8n environment must have network access to the Pohoda API endpoint.

Troubleshooting

  • Encoding Issues: If the company info contains special characters and appears garbled, ensure that UTF8 Conversion is enabled to properly decode Windows-1250 encoded responses.

  • Authentication Errors: If the node throws errors related to authorization, verify that the API credentials are correct and have sufficient permissions.

  • API Response Errors: The node checks the response state and will throw errors if the Pohoda API indicates failure. The error message from the API is propagated to help diagnose issues like invalid requests or server problems.

  • Network Connectivity: Ensure that the n8n instance can reach the Pohoda API endpoint; network issues will cause request failures.

Links and References


This summary focuses on the Faktury resource with the Company Info operation and the specified properties.

Discussion