I’m having trouble getting my labels from Linear to work in Notion. I tried mapping the variable to Notion, but it didn’t work. I suspect it’s because it’s an array of collections but the field needs just an array of name, but I can’t figure out how to create an array of just the label names.
The error I am getting is
[400] body failed validation. Fix one:
body.properties.Tags .multi_select[0].id should be defined, instead was `undefined`.
body.properties.Tags .multi_select[0].name should be a string, instead was `{"id":"09149f5e-
Hi Brian,
You may try using the map() and/or get() functions to extract the desired data from the array of collections. Not sure exactly what the Linear labels look like in the JSON - it could be something like this: map(labelArray;id) // or maybe you’d need to go deeper in the array