Actions38
- Order Actions
- Product Actions
- Customer Actions
- Address Actions
- Special Offer Actions
- Coupon Actions
- Shipment Actions
- Digital Product Actions
Overview
This node integrates with the Salla.sa e-commerce platform API to manage "Special Offer" resources. Specifically, the Get All operation retrieves multiple special offers from the platform, optionally filtered and limited by user-defined criteria.
Typical use cases include:
- Fetching all current special offers to display in marketing campaigns or dashboards.
- Filtering special offers by status or date range to analyze active promotions.
- Searching for specific offers by keywords to automate workflows based on promotional data.
For example, a user might configure this node to retrieve all active special offers created within the last month to update a website banner dynamically.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all matching special offers or limit the number of results returned. |
| Limit | Maximum number of special offers to return if not returning all (minimum 1, maximum 100). |
| Filters | Collection of filters to narrow down results: |
| - Status | Filter by one or more statuses: Active, Inactive, Draft, Pending, Completed, Cancelled. |
| - Date From | Filter offers created or valid from this date/time. |
| - Date To | Filter offers created or valid up to this date/time. |
| - Search | Search term to filter special offers by keyword or text match. |
Output
The node outputs an array of JSON objects representing special offers retrieved from the Salla API. Each object contains the details of a special offer as provided by the API, such as its ID, name, description, status, dates, and other relevant metadata.
If multiple offers are returned, they are output as an array of these JSON objects.
The node does not output binary data.
Dependencies
- Requires an API authentication credential configured in n8n to access the Salla.sa API.
- Uses internal helper functions to make authenticated HTTP requests to the Salla API endpoints.
- No additional external dependencies beyond the configured API key/token.
Troubleshooting
Common issues:
- Incorrect or missing API credentials will cause authentication failures.
- Using invalid filter values (e.g., unsupported status) may result in empty responses or errors.
- Requesting too many items without enabling "Return All" may truncate results unexpectedly.
Error messages:
"The operation "getAll" is not supported for special offers!"indicates a misconfiguration or unsupported operation selected.- Network or API errors will typically propagate with their message; ensure network connectivity and valid API keys.
Resolutions:
- Verify API credentials and permissions.
- Double-check filter values and date formats.
- Use "Return All" option when expecting large datasets or increase the "Limit" within allowed bounds.
Links and References
- Salla API Documentation (for detailed API endpoint info)
- n8n documentation on Creating Custom Nodes
- General REST API best practices for filtering and pagination