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 Production resource with the getById operation, it retrieves a single production record by its unique identifier.
Common scenarios where this node is useful include:
- Fetching detailed information about a specific production entry in Leanios by its ID.
- Automating workflows that require up-to-date production data from Leanios.
- Integrating Leanios production data into other systems or reports.
For example, you might use this node to get the status and details of a particular production batch before triggering subsequent manufacturing steps.
Properties
| Name | Meaning |
|---|---|
| Subdomain | The Leanios account subdomain to target (e.g., "dummy" would access https://dummy.leanios.com). This identifies the specific Leanios instance. |
| id | The unique numeric identifier of the production record to retrieve. Required for getById and PATCH operations on the Production resource. |
Output
The node outputs a JSON array containing the response from the Leanios API for the requested production record. The structure corresponds directly to the production object returned by the API, typically including fields such as production details, status, timestamps, and related metadata.
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.
- Needs network access to the Leanios API endpoint at
https://{Subdomain}.leanios.com/api/v1/productions. - The node expects the user to provide the correct subdomain and valid production record ID.
Troubleshooting
- Invalid Credentials: If authentication fails, verify that the provided API credentials are correct and have sufficient permissions.
- Resource Not Found: If the specified production ID does not exist, the API will likely return a 404 error. Confirm the ID is valid.
- Network Issues: Ensure the subdomain is correct and reachable from your environment.
- Missing Required Parameters: The node requires both
Subdomainandidparameters for thegetByIdoperation; missing these will cause errors. - API Rate Limits or Downtime: If requests fail intermittently, check Leanios service status and any rate limiting policies.
Error messages thrown by the node will reflect the underlying HTTP or request errors, providing clues such as "Unauthorized", "Not Found", or connection timeouts.
Links and References
- Leanios API Documentation (hypothetical link for reference)
- n8n Documentation on Creating Custom Nodes