Retrieve Shopify metafields in Gorgias

Hello, while the Shopify/Gorgias integration is fantastic, it does not pull in customer metafields. I would like to accomplish this. Gorgias allows for http connections, so I was thinking if there was an endpoint that could query customer by email and show metafields in 1 call, this would be very easy.

I am not having any luck finding a way to do this in 1 call. Seems I need to query customer by email, retain the ID, then fetch metafields using the customer ID.

Am I missing something?

Hi,

Yes, that’s how you should retrieve the customer metafields.

Query the customer by email, then use the customer id to fetch the customer’s metafields.

That makes sense. To be honest, I am a little lost on what needs to happen to make the 2 separate calls. Seems like I will need to setup something between Gorgias and Shopify where I can consolidate the 2 calls and feed that into Gorgias?

Basically, you need an intermediary app(a shopify custom app) that will sends data from Shopify to Gorgias.

If you need technical help on this, feel free to PM me, we can discuss about your requirements and find a solution.

Thanks.