Flow, Get customer data, Filter by metafield value

Flow, Get customer data, Filter by metafield value

shop-dev
Shopify Partner
1 0 0

Hi Community,

 

I'm trying to "get customer data" filtered by metafield value (Single Line String).

Unfortunately, the query is not delivering any result.

Maybe I'm using a wrong syntax?

 

SCR-20240725-kiuu.png

 

When filtering customers, I'm getting one match:

metafields.customer.birthday = '15.01.1985'

SCR-20240725-kooi.png

 

I tried following queries:

metafields.customer.birthday:'15.01.1985'
metafields.customer.birthday:"15.01.1985"

metafields.customer.birthday='15.01.1985'

 

Appreciate your help!

 

Reply 1 (1)

paul_n
Shopify Staff
1818 199 432

Queries do not support dot notation like metafields.customer

 

Always no APIs yet support querying by metafield values. 

 

Segments is a completely different tool - you might be able to create a segment based on the metafield and use the "Segment joined" trigger that is in early access (soon to be GA)

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.