Learn how to use MediaFlows EasyFlows to automatically enrich asset metadata based on naming conventions. This tutorial demonstrates how to build a simple automation that extracts information from an asset's public ID and populates structured metadata fields, eliminating the need for manual data entry.
In this example, you'll see how an e-commerce company can automatically populate product SKU numbers and tags from the asset filename when images are uploaded to a specific folder. This automation runs in the background, ensuring consistent metadata across your entire asset library.
This video is brought to you by Cloudinary's video player - embed your own!
Use the controls to set the playback speed, navigate to chapters of interest and select subtitles in your preferred language.
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.
| Jump to this spot in the video 0:00 |
Learn about an automated approach to enriching asset metadata using MediaFlows. This tutorial demonstrates how to extract information from asset filenames and automatically populate structured metadata fields, saving time and ensuring consistency across your asset library. This automation uses EasyFlows, making it simple and quick to configure. |
| Jump to this spot in the video 0:20 |
Understand the goal of this automation: create a flow that triggers when an asset is uploaded to a specific folder (called "Product"). When the structured metadata for the asset is empty, the flow automatically enriches it with parameters extracted from the asset's public ID. |
| Jump to this spot in the video 0:42 |
See a practical e-commerce example using an eyeglass store scenario. The naming convention includes both the product name and SKU number in the filename, demonstrating how real-world businesses can leverage this automation to maintain product information. |
| Jump to this spot in the video 0:52 |
Watch the first asset upload demonstration. The image is uploaded with a public ID that follows the naming convention containing product information. The naming structure is designed to be parsed by the automation flow. |
| Jump to this spot in the video 1:22 |
See the enriched metadata in action. The public ID information is now automatically populated in the asset's structured metadata fields. What was empty during upload now contains the asset metadata field value, extracted automatically from the filename without any manual intervention. |
| Jump to this spot in the video 1:39 |
Learn how to extend the automation by adding tag extraction to the flow. The demonstration shows how quickly you can add additional actions to parse information from the public ID and apply it as tags, making your assets even more searchable and organized. |
| Jump to this spot in the video 2:00 |
Watch a second upload using a different naming convention with tags like "pink," "sport," and "sunglasses" embedded in the filename. The flow processes the upload in the background, and after a refresh, you can see both the SKU metadata and tags automatically extracted and applied from the public ID. |
Check out the Cloudinary Academy for free self-paced Cloudinary courses on a variety of developer or DAM topics, or register for formal instructor-led courses, either virtual or on-site.