I created a new metafield a few weeks ago but it’s not showing in flow.
Under Fields with arguments I can see my other custom metafield created a month or so ago but not the new one. The new metafield has read only access enabled for the Shopify API and is applied to all products with data input into the metafield on a small number of products. All settings appear to be the same as for the other custom field.
Sorry if I’m missing something obvious but I can’t figure out why it’s not showing.
Unfortunately I don’t have experience querying Admin Graph API. I contacted support and they said that every product needs to have data added to the specific metafield for it to be available in flow but this is not the case for my other metafield that works. Is this correct? They are insisting that it is but with it not being the case for my working metafield it doesn’t make sense.
I also created another new product metafield to test and see if that would show up in flow (with test data added to the metafield on a single product) and that also didn’t show up in the flow list. Like I say, I’m not sure if I’m just missing something really simple when setting up these product metafields or if there is an error occurring elsewhere.
every product needs to have data added to the specific metafield for it to be available in flow
No, that’s not correct. Sorry you got that misdirection. Flow reads the metafield definitions on the shop to populate them under ‘fields with arguments’.
Unfortunately I don’t have experience querying Admin Graph API
That’s ok! The page I linked above shows you how to install a visual tool (GraphiQL app) that will let you explore the API. You can then use a query like this one to list metafield defintions on your shop.
thanks for the swift reply. i kept fiddling with different routes of adding the metafield in flow and now it started showing up. I’m not sure exactly which thing I did in flow triggered it showing but it’s working now. thanks for your help.