Correct formatting for Shopify Flow GetData graphQL query

I’m setting up a flow to run daily and trying to pull discount data. What I want to pull into my Shopify Flow GetData query is:

  • created in last 24 hours (e.g. since last flow run)
  • title has certain text in it

I’m having trouble formatting my query correctly as I’m new to graphQL. Any suggestions?

You’ve got some mismatched quotes in there. And I don’t think the parens are needed. Try testing with the graphql app to make sure you have the right format for the query.