I use Merge and If nodes to get Notion items according to their status like done. I need to use this data, even if there’s 0 items (i will output this 0 further)
But I found out that if there’s no items for Merge or If output, then there is no data flow, even the empty array []
What should I do in this situation?
Here the data flow interrupts after there’s 0 items with the “postponed” status. I would send this information “0 items found” later in Paragraph JSON node:
Yes, this works. It gives another problem - the output array has thes the length of 1 (I need it 0). So a specific rule is needed to catch the [{}] case. I came up with this: