Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions38

Overview

This node integrates with the Salla.sa e-commerce platform API to manage digital products. Specifically, the "Get All" operation for the "Digital Product" resource retrieves multiple digital product records from the platform.

Typical use cases include:

  • Synchronizing all digital products from Salla into another system or database.
  • Filtering digital products by status, date range, or search terms to generate reports or trigger workflows.
  • Fetching a limited number of digital products for display or processing in automation scenarios.

For example, an e-commerce manager might use this node to pull all active digital products added in the last month to update a marketing campaign or inventory system.

Properties

Name Meaning
Return All Whether to return all digital product results or only up to a specified limit. Values: true or false.
Limit Maximum number of digital products to return if "Return All" is false. Range: 1 to 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 digital products created or updated from this date (inclusive).
- Date To Filter digital products created or updated up to this date (inclusive).
- Search Text search term to filter digital products by matching relevant fields.

Output

The node outputs an array of JSON objects representing digital products retrieved from the Salla API. Each object corresponds to a digital product and includes its properties as returned by the API, such as ID, name, description, status, creation date, and other metadata.

No binary data output is produced by this operation.

Example output snippet (simplified):

[
  {
    "id": "123",
    "name": "E-book: Learn JavaScript",
    "status": "active",
    "created_at": "2024-01-15T10:00:00Z",
    "description": "Comprehensive guide to JavaScript."
  },
  {
    "id": "124",
    "name": "Online Course: Advanced CSS",
    "status": "draft",
    "created_at": "2024-02-01T12:30:00Z",
    "description": "Master advanced CSS techniques."
  }
]

Dependencies

  • Requires an API authentication credential configured in n8n to access the Salla API.
  • The node uses internal helper functions to make authenticated HTTP requests to Salla endpoints.
  • No additional external dependencies are needed beyond the configured API key/token.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication errors.
    • Exceeding API rate limits may result in request failures.
    • Providing invalid filter values (e.g., unsupported status) can lead to empty results or errors.
    • Requesting too many items without enabling "Return All" may truncate results.
  • Error messages:

    • "The operation "getAll" is not supported for digital products!" — indicates an unsupported operation was requested; verify the operation parameter.
    • Network or authentication errors typically indicate misconfigured credentials or connectivity issues.
  • Resolutions:

    • Ensure valid API credentials are set up in n8n.
    • Use appropriate filter values as documented.
    • Enable "Return All" to fetch all available items or set a reasonable limit.
    • Check network connectivity and API service status.

Links and References

Discussion