Create unique rows in the Notion from Apify dataset

Hi,

I have a following scenario:
Apify - Get dataset items - I get all data with the dataset ID
then I filter it with specific mention url - It filters and gives out 3 output. Out of this 3 output, 2 of them have unique video id, 1 is duplicate.

Then I have Notion Search Objects scenario which checks if the ID property in the Notion equals to the unique ID from the apify dataset. It gives me 3 output operations. Out of this 3 output, 2 of them have unique video id, 1 is duplicate.

Then I have a filter which checks if the story ID is not equal to the unique id from the apify dataset.

And lastly I have Create a Database Item to create new entry in the Notion database with unique IDs.

The issue I have is that out of this 3 outputs, it only creates 1 new row in the Notion database and not 2 unique ones that I have.

Stories Scraper.blueprint.json (127.9 KB)

How to fix this so it will create all unique entries in to the Notion Database from the Apify dataset and skip duplicates?

Hi Luka, it looks like the issue may be in the second filter? When you click on the funnel icon after the run, can you notice the data that was passed to the filter and identify why only 1 continued?

If this doesn’t help, share screenshots of the Search Objects output and the filter #2 output