Actions24
Overview
This node integrates with the Leanios API, allowing users to perform various operations on different resources such as Production, Product, Transaction, Workorder, Order, and Warehouse. Specifically for the Production resource with the POST operation, the node sends a JSON payload to create new production records in the Leanios system.
Common scenarios include automating the creation of production entries based on external triggers or workflows, such as manufacturing order processing or inventory updates. For example, when a new production batch is initiated in an ERP system, this node can post the relevant data directly to Leanios to keep systems synchronized.
Properties
| Name | Meaning |
|---|---|
| Subdomain | The Leanios account subdomain to target (e.g., "dummy" would form https://dummy.leanios.com). This identifies the specific Leanios instance. |
| Request Mode | The format of the request body. Currently supports only jsonBody, meaning the request payload must be provided as JSON. |
| jsonBody | The JSON content to send in the POST request body. This contains the data for creating a new Production record. |
Output
The node outputs a JSON array containing the response from the Leanios API after the POST request. This typically includes the newly created Production resource details as returned by the API.
If the API returns binary data (not indicated here), it would be included accordingly, but this node primarily handles JSON responses.
Dependencies
- Requires an active Leanios API credential with username and password authentication.
- Needs network access to the Leanios API endpoint at
https://{Subdomain}.leanios.com/api/v1/productions. - The node depends on n8n's HTTP request helper methods to communicate with the API.
Troubleshooting
- Invalid Credentials: If authentication fails, verify that the API credentials (username and password) are correct and have sufficient permissions.
- Incorrect Subdomain: Ensure the Subdomain property matches the Leanios account subdomain exactly; otherwise, the API endpoint will be unreachable.
- Malformed JSON Body: The
jsonBodymust be valid JSON. Invalid JSON will cause request failures. - API Errors: Any error messages returned by the Leanios API (e.g., validation errors) will be thrown as node errors. Review the message for details and adjust the input accordingly.
- Network Issues: Connectivity problems to the Leanios server will result in request timeouts or connection errors.
Links and References
- Leanios API Documentation (Assumed official API docs for reference)
- n8n HTTP Request Node Documentation (For understanding underlying request mechanics)