Questions about adding/updating pages on Notion

Hi,

I have a simple task.

  1. Scrape data from LinkedIn [Using ‘LinkedIn people you may know’ scraper]
  2. Add data to a Notion Table. [I want to be able to avoid adding duplicates]

I followed the guide here to get to this stage:

In a test condition that I do,

  • I have one row present in the Notion database
  • I hit the test button, scraper pulls up 5 records
  • ‘Find page’ section is able to find a record from the database
  • ‘Update or add’ section runs through all the records and rows 5 pages as output, [4 newly created, and 1 updated]
  • When I open notion, I only see 1 page [of the already existing record]
  • When I go back to the bardeen and try clicking on ‘view page’, they all point to the existing record page.
  • When I hit the ‘test’ button and quickly switch to Notion, I see all the records come up one after another, but instead of coming up as a new page, they overwrite each other, in the end just being a single record in the notion database.

Can someone help me out? I can’t seem to figure out what I am doing wrong here…

Here is the screenshot of ‘Find page’

Here is the screenshot of ‘Update or add page’ [I have mapped the fields below, it can’t be seen in the screenshot]

.

Also,
Is there a discord community?

I found a thread here: Using LinkedIn Scraper to Update Existing Notion Records?, but the video does not play.

Hi,

Apologies for the delayed reply — we’ve had a bit of a backlog recently.

I will be happy to review the playbook you are working on. In fact I was trying to find it in your account, but could not. Could you please share your playbook with me here? I will take a look to see if there’s any misconfiguration. To get a link of your playbook, please follow instructions provided here: https://support.bardeen.ai/hc/en-us/articles/28821486098957-Where-can-I-find-the-playbook-link

Generally, I think you should add a loop before Find action, but I can tell more when I see the playbook.
https://support.bardeen.ai/hc/en-us/articles/32831124270477-How-and-Why-to-Use-Loops-in-Automations

Looking forward to your reply.
Victoria

Customer Support - bardeen.ai
Knowledge Base https://support.bardeen.ai/hc/en-us
Explore | @bardeenai | Bardeen Community

Here is the playbook: Test Playbook | Bardeen Community Playbook

In the situation where 3 out of the 5 records are already present in the Notion database. The expected behaviour is that 2 new records should be added with an option to decide if I want to update the old records or not.

In the current playbook, all three unique records are converted to a three duplicates.

Also, While making the playbook for this test case, it accidentally ran and cost me ~>500 credits, could you help me out?

I tried implementing the for loop but no success…

Here is the playbook for reference: Test Playbook #2 | Bardeen Community Playbook

Hi,

I restored the credits for you and checked your playbook. It appears your Find Notion pages action does not have any search criteria. I think you can try using a Profile URL from the loop for search:

After that, if a page is not found, I think you can try removing page selection from Update or create page:

Please try the suggestions and let me know if this helps!

Looking forward to your reply.

Victoria

Customer Support - bardeen.ai
Knowledge Base https://support.bardeen.ai/hc/en-us
Explore | @bardeenai | Bardeen Community

I was able to solve the issue. Thanks!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.