Cosmo Delete Asset Metadata Action

The Cosmo Delete Asset Metadata Action node removes one or more custom metadata entries from an asset in Cosmo.

Unlike the Cosmo Change Asset Metadata Action, which adds or updates metadata, this node deletes specific metadata fields by their key names from an already indexed asset.

The node targets the asset using its Asset ID and removes the specified keys from the customMetadata array in the database.

If a specified metadata key does not exist, the node ignores it and continues successfully without failing.

circle-info

Important Timing Note

Avoid executing this node immediately after Cosmo Add Asset to Project Action. The asset may not yet be fully available in the database. If both nodes are used in the same stream, insert a Sleep node between them (recommended delay: at least 4000 ms).

Input Parameters

Asset ID Database ID of the asset from which metadata should be removed. Typically retrieved using {job.assetId}.

Metadata Keys List of metadata keys to delete from the asset.

Cosmo Delete Asset Metadata Action

Behavior

  • Deletes only custom metadata (not system metadata)

  • Ignores non-existing keys

  • Does not modify the media file

  • Updates only the Cosmo database

  • Supports asynchronous execution

Typical Use Cases

  • removing temporary workflow flags (e.g., “QC_PENDING”)

  • clearing ingest or transfer identifiers

  • resetting approval or review states

  • cleaning metadata before archiving or delivery

Practical Note

Think of this node as a metadata cleanup tool. After automation workflows add tags to drive processing (QC, publishing, transfer, etc.), this node lets you remove those flags once the workflow is complete so the asset returns to a clean state.

Last updated