Actions8
Overview
This node integrates with the MediaCockpit Digital Asset Management (DAM) REST API, enabling users to manage digital assets programmatically within n8n workflows. Specifically, the "Update Asset Attribute" operation allows updating a single attribute of an existing asset in the DAM system.
Common scenarios for this node include:
- Automating metadata updates on assets after ingestion or processing.
- Synchronizing asset attributes with external systems or databases.
- Correcting or enriching asset information such as descriptions, external keys, or custom metadata fields.
For example, after uploading an image asset, you might use this node to update its internalDescription attribute to provide more context or tagging information.
Properties
| Name | Meaning |
|---|---|
| Asset ID | The unique identifier of the asset to update. |
| Attribute Key | The key/name of the attribute to update (e.g., externalKey, internalDescription, or database ID). |
| Text Value | The new text value to assign to the specified attribute. |
| Metadata | An advanced option allowing you to provide a full JSON metadata object to update the attribute, which overrides the simple text value. |
Output
The node outputs JSON data representing the updated asset or the result of the update operation. The exact structure depends on the MediaCockpit API response but generally includes confirmation of the updated attribute and possibly the full updated asset metadata.
No binary output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the MediaCockpit DAM REST API.
- The node expects the API endpoint URL and session authentication to be configured via credentials.
- Network access to the MediaCockpit API server is necessary.
Troubleshooting
- Missing or invalid Asset ID: Ensure the Asset ID provided exists in the MediaCockpit system; otherwise, the update will fail.
- Invalid Attribute Key: Using an unsupported or misspelled attribute key may cause errors or no changes.
- Malformed Metadata JSON: When using the Metadata property, ensure the JSON is valid and matches the expected schema; otherwise, the API may reject the update.
- Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- API errors: If the MediaCockpit API returns errors, check the error message for details and confirm that the asset and attribute exist and are accessible.
Links and References
- MediaCockpit DAM API Documentation (example link, replace with actual)
- n8n Documentation on Creating Custom Nodes
- General info on Digital Asset Management systems and metadata standards