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, retrieving company information, and printing reports. Specifically, for the "Zakázky" (Contracts) resource with the "Create Entity" operation, the node allows creating new contract records in Pohoda by sending properly formatted XML requests.

Common scenarios where this node is beneficial include automating contract creation workflows, synchronizing contract data from other systems into Pohoda, or batch-creating contracts based on external triggers. For example, when a new sales contract is finalized in a CRM, this node can automatically create the corresponding contract record in Pohoda.

Properties

Name Meaning
XML Output If enabled (true), the node returns the raw XML response from Pohoda instead of parsed JSON.
UTF8 Conversion If enabled (true), converts the response encoding from Windows-1250 to UTF-8 for easier handling.

These properties control how the node processes and outputs the response from Pohoda when creating an entity.

Output

The node outputs data in the json field representing the response from Pohoda after the create entity request:

  • If XML Output is enabled, the output contains the raw XML string under json.data.
  • Otherwise, the XML response is parsed into a JSON object representing the response pack from Pohoda.
  • In case of print operations, the node can output binary PDF data with metadata such as filename and MIME type.
  • For create entity operations, the output JSON reflects the status and details returned by Pohoda about the created entity.

Dependencies

  • Requires an API authentication credential with Pohoda (username, password, base URL).
  • Uses HTTP POST requests with XML payloads to communicate with Pohoda's API endpoint.
  • Depends on external libraries for XML building and parsing, and character encoding conversion.
  • The node expects proper configuration of the Pohoda API credentials within n8n.

Troubleshooting

  • Authentication errors: Ensure the provided API credentials are correct and have sufficient permissions.
  • Encoding issues: If response characters appear garbled, verify the UTF8 Conversion property; disabling it may help if your environment handles Windows-1250 encoding natively.
  • Unsupported resource or operation: The node throws errors if you attempt to create entities for unsupported resources. Confirm that "Zakázky" (contracts) is supported for creation.
  • API errors: Pohoda responses with error states will cause the node to throw errors containing the message from Pohoda's response note. Check the note for specific issues like invalid data or missing required fields.
  • Network issues: Verify network connectivity to the Pohoda API endpoint and that no firewall blocks the requests.

Links and References


This summary focuses on the "Zakázky" resource with the "Create Entity" operation and the two specified input properties. The node sends XML requests to Pohoda's API to create contract entities and returns either raw XML or parsed JSON responses depending on user settings.

Discussion