WbAnalytics icon

WbAnalytics

n8n node to interact with WB API

Overview

This node interacts with a specific API to retrieve a report file based on a given download ID. It is designed for scenarios where users need to fetch detailed analytics reports in CSV format related to seller data. For example, a user might want to download a sales performance report or inventory analytics by specifying the unique report identifier.

Properties

Name Meaning
Download Id The unique identifier of the report to be downloaded (ID отчёта).

Output

The node outputs JSON data representing the contents or metadata of the requested report file. Since the operation involves downloading a report file by its ID, the output likely contains the report data in JSON form or a reference to the binary content of the CSV file if supported. If binary data is included, it would represent the actual CSV report file content.

Dependencies

  • Requires an API key credential to authenticate requests to the external WB API service.
  • The node depends on a base URL and OpenAPI specification loaded from bundled JSON (10-analytics_modified.json).
  • Uses an internal helper to build properties and manage request defaults such as headers (Accept: application/json, Content-Type: application/json).

Troubleshooting

  • Missing or invalid Download Id: The node requires a valid "Download Id" to fetch the report. Ensure this ID is correct and corresponds to an existing report.
  • Authentication errors: If the API key or authentication token is missing or invalid, the node will fail to connect to the API. Verify that the required API credentials are configured properly.
  • Network or API errors: Connectivity issues or API downtime can cause failures. Check network access and API status.
  • Unexpected response format: If the API changes its response structure, the node may not parse the output correctly. Updating the node or API spec may be necessary.

Links and References

  • No direct external links provided in the source code.
  • Users should refer to the official WB API documentation for details on report downloads and required parameters.

Discussion