> For the complete documentation index, see [llms.txt](https://help.accentuate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.accentuate.io/flow-examples/automatically-populate-metafields-before-publishing-the-product.md).

# Automatically populate metafields before publishing the product

By leveraging a custom metafield configuration, you can automate numerous product-editing tasks whenever you are ready to launch a product on a sales channel. While the possibilities for this are virtually limitless, here are a few practical examples to get you started.

### 1. Automate Essential Metafield Completion Before Publishing

Depending on your specific metafield architecture, your product pages likely feature elements—such as size guides, FAQs, swatches, or custom documentation—that require updates prior to publication. You can streamline this workflow by using the "Product Status Changed" trigger alongside the "Update Product Metafield Value" action. This ensures that whenever a product is transitioned from draft to active, your metafields are automatically populated with your predefined values. This system is highly versatile, allowing you to maintain distinct automation setups for different product categories. An example configuration is shown below:<br>

<figure><img src="/files/XYggGVv4RhpPtZcjY7oM" alt="flow-setup" width="375"><figcaption></figcaption></figure>

### 2. Enhance Product Discoverability for New Arrivals

You can immediately capture shopper interest and drive conversions by highlighting your latest inventory additions. By implementing an automated workflow, you can ensure that prominent badges—such as "New Arrival" or "Fresh Drop"—are applied to your product visuals the moment they go live. This approach optimizes product exposure and guarantees that your newest collections remain a focal point for your audience.<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.accentuate.io/flow-examples/automatically-populate-metafields-before-publishing-the-product.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
