GraphQL: Adding transformer data to the query

I'm attempting to use an array built by the transformer as the input for the GraphQL query to Shopify.
What is the correct syntax to use in this case, please?
The double curly braces are not working. Thanks


Try passing it in as a variable.

Thanks for the lead. Couldn't figure it out still.
Would you be able to show an example, please? Thanks!!

Hey @jason3w ~ you can pass in variables like this:

In ReTool there is the variables table beneath your query, when you add the variables into your query you'll see the variable populate in this table (in the above example my variable is objectInput - this is where you'll put your reference to

Hope this helps :+1:

Awesome! Got it working. Thanks a million.

1 Like