So I’m pulling my hair out, new to N8N and having to dust off my limited javascript skills. So I have a data pull from a vendor, on our users and their assigned groups. I’m going to simply pull these into a table for reporting. I’ve done this a bunch in python.
So we decided it would be a good use case for N8N, of course I run into an odd one. The Data has a sub array named Groups. if I try to rename the field, for another sub array (adminroles) it’s fine. But N8N barfs on Groups
The first record in the data set has a value set for adminGroups, the same first record does not groups record, so it’s undefined, added ||“” and i’m good.