WbReports icon

WbReports

n8n node to interact with WB API

Actions26

Overview

This node interacts with a warehouse reporting API to download the results of a specific warehouse remains task by its Task Id. It is useful for retrieving generated reports about stock or inventory remains in warehouses, especially when you need to programmatically access detailed task results after report generation.

A practical example would be automating the retrieval of inventory remain reports for further processing or integration into other systems, such as ERP or analytics platforms.

Properties

Name Meaning
Task Id The unique identifier of the warehouse remains report generation task to download results from.

Output

The node outputs JSON data representing the downloaded content of the warehouse remains task identified by the provided Task Id. This typically includes the detailed report data related to warehouse stock remains.

If the report contains binary data (e.g., files like Excel or PDF), the node will output this as binary data attached to the item, allowing further use or saving of the file.

Dependencies

  • Requires an API key credential to authenticate requests to the warehouse reporting API.
  • The node depends on the base URL and OpenAPI specification defined in the bundled swagger JSON file.
  • No additional external dependencies are indicated beyond the API service.

Troubleshooting

  • Invalid Task Id: If the Task Id does not exist or is malformed, the API may return an error or empty response. Verify the Task Id is correct.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key credential is properly configured.
  • Network Issues: Connectivity problems can prevent successful API calls. Check network access and proxy settings if applicable.
  • Timeouts or Large Data: Downloading large reports might time out or fail. Consider splitting tasks or increasing timeout settings.

Links and References

  • Refer to the warehouse reporting API documentation for details on Task Id usage and report formats.
  • n8n documentation on creating custom nodes and handling binary data outputs.

Discussion