Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Fortnox Details → Post Undefined

AI-generated

Overview

This node integrates with the Fortnox API to send custom POST requests with a user-defined JSON body. It is designed to allow flexible interaction with Fortnox endpoints by letting users specify arbitrary JSON payloads for synchronization or other operations that require sending data to Fortnox.

Common scenarios include:

  • Synchronizing entities or data sets with Fortnox by posting structured JSON.
  • Sending batch updates or commands where the exact request body structure may vary.
  • Custom integrations where predefined operations do not cover specific Fortnox API endpoints.

For example, a user might post a list of entities to synchronize inventory or customer details in Fortnox by providing a JSON array under the sync_entities_list key.

Properties

Name Meaning
Body A JSON object representing the request payload to be sent in the POST request. This should contain the data structure expected by the Fortnox API endpoint. Example default value includes a sync_entities_list array with objects to sync.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains:

  • json: The parsed JSON response returned from the Fortnox API after the POST request.
  • If an error occurs and "Continue On Fail" is enabled, the output will contain an error field with the error message instead of the normal response.

No binary data output is produced by this node.

Dependencies

  • Requires an API authentication credential for Fortnox (an API key or token) configured in n8n credentials.
  • The node uses HTTP POST requests to communicate with Fortnox's REST API.
  • No additional external dependencies beyond standard HTTP request capabilities provided by n8n.

Troubleshooting

  • Missing Credentials: The node will throw an error if no valid Fortnox API credentials are found. Ensure credentials are properly set up in n8n.
  • Invalid JSON Body: If the JSON in the "Body" property is malformed, the request will fail. Validate JSON syntax before execution.
  • API Errors: Fortnox may return errors due to invalid data, permissions, or rate limits. These errors appear in the output as an error message if "Continue On Fail" is enabled.
  • Endpoint or Operation Not Found: Internally, the node checks for valid resource and operation names; misconfiguration can cause errors indicating missing resources or operations.
  • Network Issues: Connectivity problems will cause request failures; verify network access to Fortnox API endpoints.

Links and References

Discussion