Leanios icon

Leanios

Actions24

Overview

This node integrates with the Leanios API to perform operations on various resources, including Products. Specifically, for the Product resource with the "Get" operation, it retrieves product data from the Leanios system. This is useful in scenarios where you want to fetch product details dynamically within an n8n workflow, such as syncing product information, generating reports, or triggering actions based on product attributes.

For example, you might use this node to:

  • Retrieve a list of all products.
  • Fetch detailed information about a specific product by its ID (if using the "getById" operation).
  • Integrate product data into other systems or workflows automatically.

Properties

Name Meaning
Subdomain The Leanios account subdomain to target the correct instance (e.g., "dummy").

Note: Although the node supports multiple resources and operations, here we focus on the Product resource with the Get operation. The node also requires authentication credentials (an API key credential) to access the Leanios API.

Output

The node outputs JSON data representing the response from the Leanios API for the requested Product resource. The structure depends on the API response but generally includes product details such as IDs, names, descriptions, prices, and other relevant fields.

If the operation is a simple "Get" (list), the output will be an array of product objects. If fetching by ID ("getById"), the output will be a single product object wrapped in an array.

No binary data output is produced by this node.

Dependencies

  • Requires an active Leanios account with API access.
  • Needs an API authentication token (username and password) configured in n8n credentials.
  • The node makes HTTP requests to https://{Subdomain}.leanios.com/api/v1/products endpoint.
  • Proper network connectivity to Leanios API endpoints.

Troubleshooting

  • Authentication errors: Ensure that the API credentials are correctly set up and have sufficient permissions.
  • Invalid Subdomain: Verify that the Subdomain input matches your Leanios account's subdomain.
  • Resource or Operation mismatch: Confirm that the selected resource is "Product" and operation is "Get" to avoid unexpected results.
  • API request failures: Network issues or incorrect parameters can cause errors; check error messages for details.
  • Common error message: "Request failed" or similar indicates connectivity or authorization problems.
  • To resolve errors, verify credentials, inputs, and network access.

Links and References

Discussion