Pohoda Node icon

Pohoda Node

Stormware Pohoda Integration Node

Overview

This 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 "Adresy" resource and the "Company Info" operation, the node fetches detailed information about the company associated with the connected Pohoda account.

Common scenarios where this node is beneficial include:

  • Automating data retrieval from Pohoda for accounting or CRM workflows.
  • Exporting lists of invoices, addresses, or other business documents.
  • Creating new address book entries or other entities in Pohoda.
  • Printing reports directly from Pohoda.
  • Fetching up-to-date company details for verification or display purposes.

For example, a user might use the "Company Info" operation on the "Adresy" resource to automatically retrieve and display their company's official registration details within an n8n workflow.

Properties

Name Meaning
XML Output If enabled (true), the node returns raw XML response data as a string.
UTF8 Conversion If enabled (true), converts the response encoding from Windows-1250 to UTF-8 format.

These properties control the format and encoding of the output when fetching company info or other data.

Output

The node outputs data in JSON format by default, representing the parsed response from Pohoda's API. For the "Company Info" operation, the output JSON contains the mServer object, which holds detailed company information such as registration numbers, company name, address, and other metadata.

If the "XML Output" property is enabled, the node outputs the raw XML response as a string under the data field in JSON.

The node can also output binary data (e.g., PDF files) when performing print operations, attaching the file content with appropriate MIME type and filename.

Dependencies

  • Requires connection credentials to the Pohoda API, including base URL, username, and password.
  • Uses HTTP requests with Basic Authentication to communicate with Pohoda endpoints.
  • Depends on external libraries for XML building and parsing, and character encoding conversion (Windows-1250 to UTF-8).
  • The node expects the Pohoda API to be accessible and properly configured for the authenticated user.

Troubleshooting

  • Authentication errors: Ensure that the provided API credentials are correct and have sufficient permissions.
  • Encoding issues: If the output appears garbled, verify the "UTF8 Conversion" setting; disabling it may help if your environment handles Windows-1250 encoding natively.
  • Unsupported resource or operation: The node throws errors if an unsupported resource or operation is selected. Confirm that "Adresy" and "Company Info" are valid selections.
  • API errors: If Pohoda returns an error state, the node surfaces the error message from the API response. Check the message for details and adjust request parameters accordingly.
  • Network issues: Verify network connectivity to the Pohoda API endpoint.

Links and References

Discussion