Actions13
Overview
This node interacts with the Tulip API to set a specific attribute value on a machine. It is useful in scenarios where you want to programmatically update machine attributes within Tulip, such as changing status indicators, updating configuration parameters, or logging operational data directly on a machine entity.
Practical examples include:
- Automatically updating a machine's operational state based on external sensor data.
- Setting custom flags or notes on machines during automated workflows.
- Adjusting machine parameters dynamically in response to production changes.
Properties
Name | Meaning |
---|---|
Machine Name or ID | Select a machine from a list or specify its ID using an expression. This identifies which machine to update. |
Attribute ID | The ID of the machine attribute to update. This must be a valid attribute ID from the Tulip machine attributes. |
Value | The new value to assign to the specified machine attribute. |
Output
The node outputs JSON data representing the result of the attribute update operation. This typically includes confirmation details such as the updated attribute's ID and its new value. The output does not include binary data.
Dependencies
- Requires an API key credential for authenticating with the Tulip API.
- The node depends on the Tulip API being accessible and the user having appropriate permissions to modify machine attributes.
- No additional environment variables are explicitly required beyond the API authentication setup.
Troubleshooting
- Invalid Machine ID or Attribute ID: If the provided machine or attribute ID does not exist or is incorrect, the node will fail. Verify IDs against the Tulip platform.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions.
- Value Format Issues: The attribute value must conform to the expected type and format defined by the attribute in Tulip; otherwise, the update may be rejected.
- Network or API Availability: Temporary network issues or Tulip API downtime can cause failures. Retry after some time or check connectivity.
Links and References
- Tulip Machine Attributes API Documentation
- n8n Expressions Documentation (for specifying dynamic machine IDs)