Actions8
- Invoice Actions
- Product Actions
- Report Actions
- Subscription Actions
Overview
The node integrates with the LavaTop service to retrieve sales reports. Specifically, the "Get All Sales" operation under the "Report" resource fetches a list of sales data from LavaTop. This is useful for users who want to analyze or process sales information programmatically within their workflows.
Common scenarios include:
- Generating sales analytics dashboards.
- Exporting sales data for accounting or reporting.
- Automating follow-up actions based on sales results.
For example, a user might configure this node to fetch all completed sales in a given period and then send summary emails or update a CRM system.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all sales results or limit the number of results returned. |
| Limit | Maximum number of sales results to return per page (only used if Return All is false). |
| Page | The page number of results to return (only used if Return All is false). |
Output
The node outputs JSON data containing an array of sales records retrieved from LavaTop. Each record typically includes details about individual sales transactions such as sale date, amount, currency, status, and related product information.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the LavaTop service.
- The node depends on the LavaTop API endpoint that provides sales report data.
- No additional environment variables or external services are explicitly required beyond the API credential.
Troubleshooting
Common issues:
- Authentication failures due to missing or invalid API credentials.
- Pagination misconfiguration leading to incomplete data retrieval.
- Network connectivity problems affecting API calls.
Error messages:
- Authentication errors: Ensure the API key credential is correctly configured and valid.
- Rate limiting or quota exceeded: Check LavaTop API usage limits and adjust request frequency.
- Invalid parameter errors: Verify that "Limit" and "Page" values are within allowed ranges (Limit between 1 and 100, Page ≥ 1).
Links and References
- LavaTop official API documentation (not provided here; consult your LavaTop account or developer portal).
- n8n documentation on creating and using custom nodes: https://docs.n8n.io/integrations/creating-nodes/