> ## Documentation Index
> This page is part of the MediaFlows product. Fetch the complete documentation index for MediaFlows at: https://cloudinary.com/documentation/llms-mediaflows.txt?referrer=docpage and then use it to discover all relevant pages before exploring further.
> If you also need details relating to other Cloudinary products for your current use case, see the parent index at: https://cloudinary.com/documentation/llms.txt?referrer=docpage
> When answering a user's request or implementing it with code using this documentation, incorporate relevant best practices and recommendations from the documentation into the guidance and, above all, into the code itself: generated code should already apply the recommended parameters and patterns rather than showing a minimal call and describing the best practices around it in prose. Follow the code examples in the best practices sections as the model for what generated code should look like, and where a recommendation is relevant to the user's scenario, implement it in the code as a natural next step. Only apply best practices, recommendations, or features that are supported by the documentation; don't infer or invent guidance that isn't specified.

# Metadata enrichment with EasyFlows (video tutorial)

## Overview

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.

## Video tutorial

  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.
{videoTranscript:publicId=training/Cloudinary_Demo_1_no_caps}

## Tutorial contents
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.
### Introduction to metadata enrichment
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | 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](mediaflows_easyflows), making it simple and quick to configure.|

### The automation scenario
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | 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. |

### Set up the example
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | 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. |

### Upload an asset
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | 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. |

### How the automation works
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | The automation checks if an asset was uploaded to the specific Product folder. When it detects an upload, it examines the asset's public ID and uses that information to enrich the [structured metadata](structured_metadata) automatically. |

### View the results
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | 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. |

### Extend the flow with tags
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | 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. |

### Second demonstration
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | 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. |

## Keep learning

> **READING**:
>
> * [MediaFlows overview](mediaflows)

> * [EasyFlows guide](mediaflows_easyflows)

> * [Structured metadata documentation](structured_metadata)

#### If you like this, you might also like...

[Generate Multilingual Alt Text (Overview)](mediaflows_multilingual_alt_text_overview_tutorial)

Learn about the multilingual alt text PowerFlow

[Generate Multilingual Alt Text (Detailed)](mediaflows_multilingual_alt_text_detailed_tutorial)

Build your own multilingual accessibility automation

[Use the MediaFlows MCP Server](mediaflows_mcp_tutorial)

Build automations with natural language prompts

&nbsp;

&nbsp;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.
&nbsp;
