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 "Create" operation allows users to create new special offers on their Salla store by providing relevant details such as name, description, and status.
Common scenarios where this node is beneficial include:
- Automating the creation of promotional campaigns or discounts in an online store.
- Integrating special offer creation into workflows that respond to marketing events or inventory changes.
- Bulk creating multiple special offers based on external data sources.
For example, a user could set up a workflow that triggers when a new product is added and automatically creates a related special offer with a specific discount status.
Properties
| Name | Meaning |
|---|---|
| Additional Fields | Collection of optional fields for the special offer: |
| - Name | The name/title of the special offer |
| - Description | A textual description explaining the special offer |
| - Status | The current state of the special offer; options are: Active, Inactive, Draft |
Output
The node outputs JSON data representing the created special offer resource as returned by the Salla API. This typically includes all properties of the special offer such as its unique ID, name, description, status, creation timestamps, and any other metadata provided by the API.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Salla.sa API using OAuth2 authentication (an API key credential).
- The node depends on internal helper functions to make authenticated HTTP requests to the Salla API endpoints.
- Proper configuration of the OAuth2 credentials within n8n is necessary for successful API communication.
Troubleshooting
- Authentication errors: Ensure the OAuth2 credentials are correctly configured and have not expired.
- Validation errors: If required fields like "Name" are missing or invalid, the API may reject the request. Verify all mandatory fields are properly filled.
- API limits: Creating many special offers in quick succession might hit rate limits imposed by the Salla API.
- Network issues: Connectivity problems can cause request failures; check network access and proxy settings if applicable.
- Error messages: The node throws descriptive errors if unsupported operations are requested or if the API returns an error. Review the error message for clues and verify parameters.
Links and References
- Salla API Documentation (for detailed API endpoint info)
- n8n OAuth2 Credential Setup
- n8n Node Development Guide