Hello,
Just to preface, I am not a developer. I’ve been using a lot of Co-Pilot when working with Zapier and my knowledge of query languages/coding in general is pretty surface level.
I’m not sure if this post should be in “How Do I” or here.
Context: I am trying to create a workflow which automates Hubspot Contact & Company creation when a new Shopify company is created. So the general workflow looks like this:

I am running into an error with the “Find Contact” Hubspot step. The error message is: Required field “First search property value” is missing. The Shopify “New Company” Trigger data is GraphQL and the data that I need to move into Hubspot is in these Edge Node fields.
I have tried several different options w/ Co-Pilot and I just can’t get this error to be fixed. Eventually I landed with this where I use a webhook to request the New Company Data, then run JS to turn the data into strings to be usable by Hubspot steps.
The problem is that I just keep getting empty strings input into the Find Contact Step. I don’t think any of the Company data is actually being extracted properly.

The JS works fine for any field that doesn’t have “Edge Node” in the name of the field. How would I go about properly and reliably extracting the Edge Node data and formatting the data into strings?
Here’s what the webhook configuration looks like after a test run. All the other fields don’t have the yellow warning indicator.

Thanks for y’alls help in advance, much appreciated.