I have a question: Could I create a new Sheet in a spreadsheet and then Update (insert some rows) to that sheet?
As I realized in [Resource] - Sheet , [Operation] - Create , I can create a new sheet, But I couldn’t figure it out how to insert some rows into that created sheet!
Great, Thanks @EmeraldHerald , This resource - Sheet Within Document - didn’t exist in my already-added google sheet node, I added a new one and it has this option now
I realized that if I set Data Mode to Auto-Map Input Data to Columns I can add a row using Set or Code nodes, but How can I insert multiple rows at once?
Hi @jellybean - sorry that you weren’t replied to earlier!
I think this is because you’re using the incorrect data structure here - these should all be their own object with an ID and a Label. Can you try something like this?
As you can see, the Code node returns an array of objects (containing id and label)
And the sheet itself contains id and label. The google sheet node returns no error!
But the spreadsheet doesn’t get updated.
Hi @jellybean Does this still happen if you manually map the columns? I’m wondering if any fields either in n8n or in your Google sheet have whitespaces, which wouldn’t find the correct column through auto-map if whitespaces exist