Could some1 please explain to me how to filter correctly pages if I have and and or in one block like I am 5. Because TBH making filters with “groups” is pretty tricky for me, I feel lost
@edit
I don’t understand why for each condition we define and or or. I we have two condition we say “1 or 2” or “1 and 2”, but in n8n we “1 - or, 2 - and”. I don’t got it ;C
Oh wow, that’s a tough one and now that I tried figuring it out my brain hurts
As far as n8n is concerned, the filters configuration you have set would be passed on to the Notion API. So when setting something like this in my own workflow’s Notion node:
So n8n would just take the information and add your filters to the respective API request rather than doing any processing itself. You can actually see the request when setting your log N8N_LOG_LEVEL to debug.
So with this in mind you’d need to check with Notion’s support team how exactly they resolve such API requests. Their documentation simply says “Filters are similar to the filters provided in the Notion UI”.
That said, I am not sure this would give you the like I am 5 answer you are after. So you might save yourself some hassle and simply set the less restrictive OR filters on the Notion node and then do the additional filtering afterwards in n8n using the IF node.
I am sorry for your headache I already read docs but another article, but this is some useful (useless) xD
I just wrote to notion the support, maybe it will help, I will write here then.
About filtering via function node its good idea, but I get something like 2000 pages from notion and filter them to about 10, so it takes much time. But for now it’s good. Thanks!