Metafield Type definition (Shopify Flows)

Hi Shopify Community

I’ve added a product metafield with the type “rich text”.

Before i had the same product metafield with the type “multi-line text”

The problem with multi-line text is that i can not make a hyperlink.

I can make the hyperlink on the type “rich text”.

But when i want to connect Shopify Flows and set up an automation to update product metafield when a product is added to store, it does not work with the new method with a link in the “rich text” type.

Is it not possible to make the automation in Shopify Flows and add the hyperlink which i would like?

Thanks again!

Rich text value is not a HTML text, it’s a JSON object under the hood, so when trying to use it in Flow you need to look at it from the GraphQL point of view.

Check https://shopify.dev/docs/apps/build/custom-data/metafields/list-of-data-types#rich-text-formatting to get better understanding.

Thank you, Tim!