Hi!
I have some problems building a flow to connect Shopify and Google Sheets.
I want to get my open orders in Shopify and dump them in Google Sheets.
(my current flow is restricted to get 1 order)
So I found several problems trying to accomplish this.
-
Looping items
In order to summarize some fields, first I have create a node to loop over items, then I have to split out the field I want to summarize it but it seems only work sequentially I cannot branch a Loop item node and compute 2 summarize nodes at same time.
I guess I have to summarize one field and then summarize another field, in my flow I am not doing after the first split out node because I have to make other calculations.
I have to summarize several fields Shopify return as arrays. -
Problem trying to check if an array field is Empty
Shopify API donât always returns an array for those fields I need to summarize.
So I am trying to check if array is Empty, but n8n returns type incorrect error ???
So how suppose I have to check if an array is Empty ? I Tried to change the object type expected but it doesnât work. -
Problem with data using built-in Shopify Action connector
Also I got some data error when fetching data from Shopify.
For example for an specific order already closed, I cannot get the Customer information using the Shopify Node.
However If I check the endpoint related to get orders from Shopify API by using Postman I got the correct data. So n8n donât get get me the right data in the first node. -
Summarize Node, wrong calculation
The calculation value after I split out a field (transactions) and summarize (SUM function applied to field amount) itâs wrong, returns zero.
It is very frustrating, I spent several hours trying to accomplish this task, so I hope you can share some samples or guides to solve this issues.
Thanks
What is the error message (if any)?
ERROR: ârefunds_listâ expects a object but we got â[object Object],[object Object]â [item 0]
To fix the error try to change the type for the field ârefunds_listâ or activate the option âIgnore Type Conversion Errorsâ to apply a less strict type validation
Please share your workflow
I canât share it, too much characters for the topic ???
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- **n8n version: 1.31.1
- Database (default: SQLite):
- **n8n EXECUTIONS_PROCESS setting (default: own, main): default
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
- **Operating system: Windows 11 Pro