WbReports icon

WbReports

n8n node to interact with WB API

Actions26

Overview

This node interacts with a sales analytics API to retrieve regional sales data for a specified date range. It is useful for generating reports and insights on sales performance across different regions within a given period. Practical applications include monitoring sales trends, comparing regional performance, and supporting business decisions based on geographic sales distribution.

Properties

Name Meaning
Date From The start date of the reporting period in YYYY-MM-DD format.
Date To The end date of the reporting period in YYYY-MM-DD format.

Output

The node outputs JSON data containing sales analytics by region for the specified date range. The exact structure depends on the API response but typically includes fields such as region identifiers, sales figures, and possibly additional metadata related to the sales data.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authentication with the external sales analytics service.
  • The node uses a base URL defined in its configuration to send requests.
  • The node expects the API to accept query parameters dateFrom and dateTo to filter the sales data by date range.

Troubleshooting

  • Missing or invalid dates: Ensure that both "Date From" and "Date To" are provided in the correct YYYY-MM-DD format. Invalid or missing dates may cause the API request to fail.
  • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
  • API connectivity issues: Check network connectivity and the availability of the external sales analytics service.
  • Unexpected API responses: If the output JSON structure changes or contains errors, verify the API documentation and ensure the requested date range is valid.

Links and References

  • No direct links were found in the source code. For more information, consult the external sales analytics API documentation associated with this node.

Discussion