Actions24
Overview
This node integrates with the Leanios API to perform various operations on different resources such as Product, Transaction, Production, Workorder, Order, and Warehouse. Specifically, for the Product resource with the getById operation, it retrieves detailed information about a single product by its unique identifier.
Common scenarios where this node is useful include:
- Fetching detailed product data for inventory management or display in other systems.
- Integrating Leanios product data into workflows that require up-to-date product information.
- Automating reporting or synchronization tasks involving specific products.
Example: You want to retrieve the details of a product with ID 123 from your Leanios account hosted under the subdomain "dummy". This node will call the Leanios API endpoint for that product and return its data.
Properties
| Name | Meaning |
|---|---|
| Subdomain | The Leanios account subdomain to target (e.g., "dummy"). Required for API URL formation. |
| id | The unique numeric identifier of the product to retrieve. Required for getById operation. |
Output
The node outputs a JSON array containing the product data returned by the Leanios API for the specified product ID. The structure of the JSON matches the API response for a single product object, including all available fields provided by Leanios.
No binary data output is produced by this node.
Dependencies
- Requires an active Leanios API credential consisting of a username and password for basic authentication.
- The node constructs API requests to URLs of the form:
https://{Subdomain}.leanios.com/api/v1/products/{id} - The user must configure the "Subdomain" property correctly to point to their Leanios instance.
- The node uses HTTP Basic Authentication with the provided credentials.
Troubleshooting
- Invalid Credentials Error: If the API returns authentication errors, verify that the API username and password credentials are correct and have sufficient permissions.
- Resource Not Found: If the product ID does not exist, the API may return a 404 error. Confirm the product ID is valid.
- Network Issues: Ensure the subdomain is correct and reachable from the n8n environment.
- Missing Required Parameters: The node requires both "Subdomain" and "id" properties for the
getByIdoperation; missing these will cause errors. - API Rate Limits or Downtime: If requests fail intermittently, check Leanios API status and rate limits.
Error messages thrown by the node will contain the API error message for easier diagnosis.
Links and References
- Leanios API Documentation (Assumed official API docs for reference)
- n8n Documentation on Creating Custom Nodes