Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions38

Overview

This node integrates with the Salla.sa e-commerce platform API, allowing users to manage various resources such as orders, products, customers, addresses, special offers, coupons, shipments, and digital products. Specifically, for the Digital Product - Get operation, it retrieves detailed information about a single digital product by its unique ID.

Common scenarios where this node is beneficial include:

  • Fetching details of a specific digital product to display or process further in an automation workflow.
  • Integrating Salla's digital product data into other systems or reports.
  • Automating inventory checks or updates based on digital product information.

Example use case:

  • An automation that triggers when a new order is placed, then uses this node to get details about the purchased digital product to send customized download links or license keys to the customer.

Properties

Name Meaning
ID The unique identifier of the digital product to retrieve. This is a required string input.

Output

The node outputs a JSON object representing the digital product retrieved from the Salla API. The structure typically includes all available fields describing the digital product, such as its name, description, status, pricing, and any other metadata provided by the API.

If multiple items were returned (not applicable for "get" but for "getAll"), the output would be an array of such objects.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Salla.sa API using OAuth2 authentication credentials configured in n8n.
  • Relies on the sallaApiRequest helper function to make authenticated HTTP requests to the Salla API endpoints.
  • No additional external dependencies beyond the configured API credential.

Troubleshooting

  • Error: "The operation 'get' is not supported for digital products!"
    This error indicates an unsupported operation was requested. Ensure the operation parameter is set correctly to "get" for digital products.

  • Error related to missing or invalid ID
    Since the ID property is required, omitting it or providing an invalid ID will cause the API request to fail. Verify that the ID is correct and corresponds to an existing digital product.

  • Authentication errors
    If the API key or OAuth2 token is invalid or expired, requests will fail. Re-authenticate or update credentials in n8n.

  • Network or API downtime issues
    Temporary network failures or Salla API outages can cause request failures. Retry after some time or check Salla's service status.

Links and References

Discussion