Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I am trying to make a query in the get product data action so that it only contains products where the title field starts with or contains a #.
Here are the products I expect it to work on, with products sorted by created, newest first. In testing, get product data does load these 2 items when the query field is blank.
Here is the query I am trying:
Here is the result of the step data for Get product data after I have run the flow
Would somebody please be kind enough to let me know what I should type into the query box to restrict Get product data to product titles starting with (or containing) #.
I highly recommend you do not try to guess a query. The action links to docs on the filters available and the syntax. You should start by reading those.
https://shopify.dev/docs/api/admin-graphql/latest/queries/products#argument-query-filter-title
https://shopify.dev/docs/api/usage/search-syntax
Partial matches may or may not work, so make sure to test it well. The query would look something like:
title:somestring*
This is no way to do includes in the query.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025